18#include <geos/geom/Coordinate.h>
19#include <geos/export.h>
38using geos::geom::CoordinateXY;
46class GEOS_DLL LinearBoundary {
52 Coordinate::ConstIntMap m_vertexDegree;
61 LinearBoundary(std::vector<const LineString*>& lines,
const BoundaryNodeRule& bnRule);
63 bool hasBoundary()
const;
65 bool isBoundary(
const CoordinateXY* pt)
const;
72 bool checkBoundary(Coordinate::ConstIntMap& vertexDegree)
const;
74 static void computeBoundaryPoints(
75 std::vector<const LineString*>& lines,
76 Coordinate::ConstIntMap& vertexDegree);
78 static void addEndpoint(
79 const CoordinateXY *p,
80 Coordinate::ConstIntMap& vertexDegree);
An interface for rules which determine whether node points which are in boundaries of lineal geometry...
Definition BoundaryNodeRule.h:52
Coordinate is the lightweight class used to store coordinates.
Definition Coordinate.h:217
Definition LineString.h:66
Basic namespace for all GEOS functionalities.
Definition geos.h:39