Example #1
0
 /// <summary>
 /// Gets an array of 4 line segments working clockwise from the top segment.
 /// </summary>
 /// <param name="self">The IEnvelope to use with this method</param>
 public static ILineSegment[] BorderSegments(this IEnvelope self)
 {
     ILineSegment[] result = new ILineSegment[4];
     result[0] = self.TopBorder();
     result[1] = self.RightBorder();
     result[2] = self.BottomBorder();
     result[3] = self.LeftBorder();
     return(result);
 }