Пример #1
0
 /// <summary>
 /// Does the specified point fall within this region on the XY plane?
 /// </summary>
 /// <param name="pt">The point to test</param>
 /// <returns></returns>
 public bool ContainsXY(Vector pt)
 {
     if (Perimeter.EnclosesXY(pt))
     {
         if (_Voids != null)
         {
             foreach (var voidCrv in _Voids)
             {
                 if (voidCrv.EnclosesXY(pt))
                 {
                     return(false);
                 }
             }
         }
         return(true);
     }
     return(false);
 }