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