154 double terminateDistance);
178 std::array<geom::Geometry const*, 2> geom;
179 double terminateDistance;
183 std::array<GeometryLocation, 2> minDistanceLocation;
185 bool computed =
false;
187 void updateMinDistance(std::array<GeometryLocation, 2> & locGeom,
bool flip);
189 void computeMinDistance();
191 void computeContainmentDistance();
193 void computeInside(std::vector<GeometryLocation> & locs,
194 const std::vector<const geom::Polygon*>& polys,
195 std::array<GeometryLocation, 2> & locPtPoly);
202 void computeFacetDistance();
204 void computeMinDistanceLines(
205 const std::vector<const geom::LineString*>& lines0,
206 const std::vector<const geom::LineString*>& lines1,
207 std::array<GeometryLocation, 2> & locGeom);
209 void computeMinDistancePoints(
210 const std::vector<const geom::Point*>& points0,
211 const std::vector<const geom::Point*>& points1,
212 std::array<GeometryLocation, 2> & locGeom);
214 void computeMinDistanceLinesPoints(
215 const std::vector<const geom::LineString*>& lines0,
216 const std::vector<const geom::Point*>& points1,
217 std::array<GeometryLocation, 2> & locGeom);
221 std::array<GeometryLocation, 2> & locGeom);
225 std::array<GeometryLocation, 2> & locGeom);
DistanceOp(const geom::Geometry &g0, const geom::Geometry &g1, double terminateDistance)
Constructs a DistanceOp that computes the distance and nearest points between the two specified geome...