18 #include <geos/export.h>
21 #include <geos/geom/Coordinate.h>
78 void setSym(
HalfEdge* e) { m_sym = e; };
284 int compareTo(
const HalfEdge* e)
const {
return compareAngularDirection(e); };
305 friend std::ostream& operator<< (std::ostream& os,
const HalfEdge& el);
306 static void toStringNode(
const HalfEdge* he, std::ostream& os);
Definition: HalfEdge.h:63
HalfEdge * next() const
Definition: HalfEdge.h:196
HalfEdge(const geom::Coordinate &p_orig)
Definition: HalfEdge.h:129
HalfEdge * find(const geom::Coordinate &dest)
double directionX() const
Definition: HalfEdge.h:172
int compareAngularDirection(const HalfEdge *e) const
HalfEdge * sym() const
Definition: HalfEdge.h:186
void setNext(HalfEdge *e)
Definition: HalfEdge.h:219
void insert(HalfEdge *eAdd)
HalfEdge * prev() const
Definition: HalfEdge.h:204
const geom::Coordinate & orig() const
Definition: HalfEdge.h:158
bool equals(const geom::Coordinate &p0, const geom::Coordinate &p1) const
const geom::Coordinate & dest() const
Definition: HalfEdge.h:165
void link(HalfEdge *p_sym)
double directionY() const
Definition: HalfEdge.h:179
virtual const geom::Coordinate & directionPt() const
Definition: HalfEdge.h:119
HalfEdge * oNext() const
Definition: HalfEdge.h:212
bool isEdgesSorted() const
static HalfEdge * create(const geom::Coordinate &p0, const geom::Coordinate &p1)
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
double y
y-coordinate
Definition: Coordinate.h:83
double x
x-coordinate
Definition: Coordinate.h:80
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:26