18#include <geos/export.h>
21#include <geos/geom/Coordinate.h>
78 void setSym(
HalfEdge* e) { m_sym = e; };
290 int compareTo(
const HalfEdge* e)
const {
return compareAngularDirection(e); };
312 friend std::ostream& operator<< (std::ostream& os,
const HalfEdge& el);
313 static void toStringNode(
const HalfEdge* he, std::ostream& os);
Definition: HalfEdge.h:63
HalfEdge * oNext() const
Definition: HalfEdge.h:218
HalfEdge(const geom::Coordinate &p_orig)
Definition: HalfEdge.h:129
const geom::Coordinate & orig() const
Definition: HalfEdge.h:157
double directionX() const
Definition: HalfEdge.h:171
int compareAngularDirection(const HalfEdge *e) const
const geom::Coordinate & dest() const
Definition: HalfEdge.h:164
virtual const geom::Coordinate & directionPt() const
Definition: HalfEdge.h:119
HalfEdge * sym() const
Definition: HalfEdge.h:185
void setNext(HalfEdge *e)
Definition: HalfEdge.h:225
void insert(HalfEdge *eAdd)
bool equals(const geom::Coordinate &p0, const geom::Coordinate &p1) const
HalfEdge * next() const
Definition: HalfEdge.h:195
void link(HalfEdge *p_sym)
double directionY() const
Definition: HalfEdge.h:178
HalfEdge * find(const geom::Coordinate &dest)
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:58
double y
y-coordinate
Definition: Coordinate.h:81
double x
x-coordinate
Definition: Coordinate.h:78
Basic namespace for all GEOS functionalities.
Definition: geos.h:39