Ejemplo n.º 1
0
        private static Location LocateInPolygonRing(Coordinate p, ILinearRing ring)
        {
            // bounding-box check
            if (!ring.EnvelopeInternal.Intersects(p))
            {
                return(Location.Exterior);
            }

            return(PointLocation.LocateInRing(p, ring.CoordinateSequence));
        }
Ejemplo n.º 2
0
 public static Location LocatePointInRing(Coordinate p, ICoordinateSequence ring)
 {
     return(PointLocation.LocateInRing(p, ring));
 }
Ejemplo n.º 3
0
 public static Location LocatePointInRing(Coordinate p, Coordinate[] ring)
 {
     return(PointLocation.LocateInRing(p, ring));
 }