GEOS
3.9.1dev
|
#include <EdgeKey.h>
Public Member Functions | |
EdgeKey (const Edge *edge) | |
int | compareTo (const EdgeKey *ek) const |
bool | equals (const EdgeKey *ek) const |
Private Member Functions | |
void | initPoints (const Edge *edge) |
void | init (const geom::Coordinate &p0, const geom::Coordinate &p1) |
Private Attributes | |
double | p0x |
double | p0y |
double | p1x |
double | p1y |
Friends | |
bool | operator< (const EdgeKey &ek1, const EdgeKey &ek2) |
bool | operator== (const EdgeKey &ek1, const EdgeKey &ek2) |
A key for sorting and comparing edges in a noded arrangement. Relies on the fact that in a correctly noded arrangement edges are identical (up to direction) iff they have their first segment in common.
geos::operation::overlayng::EdgeKey::EdgeKey | ( | const Edge * | edge | ) |
int geos::operation::overlayng::EdgeKey::compareTo | ( | const EdgeKey * | ek | ) | const |
bool geos::operation::overlayng::EdgeKey::equals | ( | const EdgeKey * | ek | ) | const |
|
private |
|
private |