21#include <geos/geom/CoordinateSequence.h>
22#include <geos/geom/Envelope.h>
23#include <geos/geom/Coordinate.h>
24#include <geos/geom/LineSegment.h>
25#include <geos/operation/distance/GeometryLocation.h>
32 const geom::CoordinateSequence* pts;
33 const std::size_t start;
34 const std::size_t end;
35 const geom::Geometry* geom;
43 double computeDistanceLineLine(
const FacetSequence& facetSeq,
44 std::vector<GeometryLocation> *locs)
const;
46 double computeDistancePointLine(
const geom::Coordinate& pt,
47 const FacetSequence& facetSeq,
48 std::vector<GeometryLocation> *locs)
const;
50 void updateNearestLocationsPointLine(
const geom::Coordinate& pt,
51 const FacetSequence& facetSeq, std::size_t i,
52 const geom::Coordinate& q0,
const geom::Coordinate &q1,
53 std::vector<GeometryLocation> *locs)
const;
55 void updateNearestLocationsLineLine(std::size_t i,
const geom::Coordinate& p0,
const geom::Coordinate& p1,
56 const FacetSequence& facetSeq,
57 std::size_t j,
const geom::Coordinate& q0,
const geom::Coordinate &q1,
58 std::vector<GeometryLocation> *locs)
const;
60 void computeEnvelope();
63 const geom::Envelope* getEnvelope()
const;
65 const geom::Coordinate* getCoordinate(std::size_t index)
const;
67 std::size_t size()
const;
71 double distance(
const FacetSequence& facetSeq)
const;
73 FacetSequence(
const geom::CoordinateSequence* pts, std::size_t start, std::size_t end);
75 FacetSequence(
const geom::Geometry* geom,
const geom::CoordinateSequence* pts, std::size_t start, std::size_t end);
77 std::vector<GeometryLocation> nearestLocations(
const FacetSequence& facetSeq)
const;
Basic namespace for all GEOS functionalities.
Definition: geos.h:39