71 return intor.getIntersection();
89 getIntersection()
const
99 std::vector<geom::Coordinate> _pts;
107 _intPt = findNearestPoint(centroid, _pts);
112 const std::vector<geom::Coordinate>& pts)
115 std::size_t n = pts.size();
119 for(std::size_t i = 0; i < n; ++i) {
140 const std::vector<geom::Coordinate>& pts)
const
142 double minDistSq = DoubleInfinity;
144 for(std::size_t i = 0, n = pts.size(); i < n; ++i) {
145 double distSq = p.distanceSquared(pts[i]);
146 if(distSq < minDistSq) {