Ejemplo n.º 1
0
 /// <summary>
 /// Checks whether this range overlaps another range.
 /// </summary>
 /// <param name="other">The other range to test against.</param>
 /// <returns>Whether the two ranges overlap.</returns>
 public bool Overlaps(ProjectionRange other)
 {
     return(Min <= other.Max && Max >= other.Min);
 }
Ejemplo n.º 2
0
 public bool Overlaps(ProjectionRange other) => Min <= other.Max && Max >= other.Min;