public Location Locate(Coordinate p)
 {
     RayCrossingCounter rcc = new RayCrossingCounter(p);
     RayCrossingSegmentFilter filter = new RayCrossingSegmentFilter(rcc);
     geom.Apply(filter);
     return rcc.Location;
 }
Ejemplo n.º 2
0
            public Location Locate(Coordinate p)
            {
                var rcc    = new RayCrossingCounter(p);
                var filter = new RayCrossingSegmentFilter(rcc);

                geom.Apply(filter);
                return(rcc.Location);
            }