/// <summary>
/// Returns a range with the smaller Start and the bigger End. The Union of the 2 Range. If one of the range is empty then the return is the other range.
/// </summary>
/// <param name="p_Range1"></param>
/// <param name="p_Range2"></param>
/// <returns></returns>
public static RangeRegion Union(Range p_Range1, Range p_Range2)
{
RangeRegion range = new RangeRegion();
range.Add(p_Range1);
range.Add(p_Range2);
return(range);
}