public static bool IsValidLocation( Point3D p ) { Rectangle2D[] wrap = GetWrapFor( ); for ( int i = 0; i < wrap.Length; ++i ) { if ( wrap[i].Contains( p ) ) return true; } return false; }