GEOS
3.9.1dev
|
Represents a node in the topological graph used to compute spatial relationships. More...
#include <RelateNode.h>
Public Member Functions | |
RelateNode (const geom::Coordinate &coord, geomgraph::EdgeEndStar *edges) | |
~RelateNode () override=default | |
void | updateIMFromEdges (geom::IntersectionMatrix &im) |
![]() | |
Node (const geom::Coordinate &newCoord, EdgeEndStar *newEdges) | |
~Node () override | |
virtual const geom::Coordinate & | getCoordinate () const |
virtual EdgeEndStar * | getEdges () |
bool | isIsolated () const override |
virtual void | add (EdgeEnd *e) |
Add the edge to the list of edges at this node. More... | |
virtual void | mergeLabel (const Node &n) |
virtual void | mergeLabel (const Label &label2) |
To merge labels for two nodes, the merged location for each LabelElement is computed. More... | |
virtual void | setLabel (int argIndex, geom::Location onLocation) |
virtual void | setLabelBoundary (int argIndex) |
Updates the label of a node to BOUNDARY, obeying the mod-2 boundaryDetermination rule. More... | |
virtual geom::Location | computeMergedLocation (const Label &label2, int eltIndex) |
virtual std::string | print () |
virtual const std::vector< double > & | getZ () const |
virtual void | addZ (double) |
virtual bool | isIncidentEdgeInResult () const |
Tests whether any incident edge is flagged as being in the result. More... | |
![]() | |
GraphComponent () | |
GraphComponent (const Label &newLabel) | |
virtual | ~GraphComponent ()=default |
Label & | getLabel () |
const Label & | getLabel () const |
void | setLabel (const Label &newLabel) |
virtual void | setInResult (bool p_isInResult) |
virtual bool | isInResult () const |
virtual void | setCovered (bool isCovered) |
virtual bool | isCovered () const |
virtual bool | isCoveredSet () const |
virtual bool | isVisited () const |
virtual void | setVisited (bool p_isVisited) |
virtual void | updateIM (geom::IntersectionMatrix &im) |
Protected Member Functions | |
void | computeIM (geom::IntersectionMatrix &im) override |
Basic nodes do not compute IMs. More... | |
![]() | |
void | testInvariant () const |
Additional Inherited Members | |
![]() | |
geom::Coordinate | coord |
EdgeEndStar * | edges |
![]() | |
Label | label |
Represents a node in the topological graph used to compute spatial relationships.
Definition at line 46 of file RelateNode.h.
geos::operation::relate::RelateNode::RelateNode | ( | const geom::Coordinate & | coord, |
geomgraph::EdgeEndStar * | edges | ||
) |
|
overridedefault |
|
overrideprotectedvirtual |
Basic nodes do not compute IMs.
Reimplemented from geos::geomgraph::Node.
void geos::operation::relate::RelateNode::updateIMFromEdges | ( | geom::IntersectionMatrix & | im | ) |
Update the IM with the contribution for the EdgeEnds incident on this node.