27 class CoordinateSequence;
67 int aDim = OverlayLabel::DIM_UNKNOWN;
70 int bDim = OverlayLabel::DIM_UNKNOWN;
73 std::unique_ptr<geom::CoordinateSequence>
pts;
92 void initLabel(
OverlayLabel& lbl,
int geomIndex,
int dim,
int depthDelta,
bool isHole)
const;
94 int labelDim(
int dim,
int depthDelta)
const;
95 bool isHole(
int index)
const;
96 bool isBoundary(
int geomIndex)
const;
102 bool isShell(
int geomIndex)
const;
107 int delSign(
int depthDel)
const;
109 bool isHoleMerged(
int geomIndex,
const Edge* edge1,
const Edge* edge2)
const;
132 std::unique_ptr<geom::CoordinateSequence> getCoordinates();
140 std::size_t size()
const;
141 bool direction()
const;
147 bool relativeDirection(
const Edge* edge2)
const;
148 int dimension(
int geomIndex)
const;
154 void merge(
const Edge* edge);
const geom::Coordinate & getCoordinate(size_t index) const
Coordinate is the lightweight class used to store coordinates.
bool compareTo(const Edge &e) const
std::ostream & operator<<(std::ostream &os, const Coordinate &c)
Output function.
Location
Constants representing the location of a point relative to a geometry.
Basic namespace for all GEOS functionalities.
std::unique_ptr< geom::CoordinateSequence > pts
int compareTo(const Coordinate &other) const
TODO: deprecate this, move logic to CoordinateLessThen instead.
The internal representation of a list of coordinates inside a Geometry.
bool EdgeComparator(const Edge *a, const Edge *b)