Example #1
0
 /// <summary>
 /// Returns true if otherGeometry is wholly contained within the source geometry. This is the same as
 /// reversing the primary and comparison shapes of the Within operation.
 /// </summary>
 /// <param name="sourceGeometry"></param>
 /// <param name="otherGeometry"></param>
 /// <returns>True if otherGeometry is wholly contained within the source geometry.</returns>
 public static bool Contains(Geometry sourceGeometry, Geometry otherGeometry)
 {
     return(otherGeometry.Within(sourceGeometry));
 }