GEOS
3.9.1dev
|
#include <NodeMap.h>
Public Types | |
typedef std::map< geom::Coordinate *, Node *, geom::CoordinateLessThen > | container |
typedef container::iterator | iterator |
typedef container::const_iterator | const_iterator |
typedef std::pair< geom::Coordinate *, Node * > | pair |
Public Member Functions | |
NodeMap (const NodeFactory &newNodeFact) | |
NodeMap will keep a reference to the NodeFactory, keep it alive for the whole NodeMap lifetime. More... | |
virtual | ~NodeMap () |
Node * | addNode (const geom::Coordinate &coord) |
Node * | addNode (Node *n) |
void | add (EdgeEnd *e) |
Node * | find (const geom::Coordinate &coord) const |
const_iterator | begin () const |
const_iterator | end () const |
iterator | begin () |
iterator | end () |
void | getBoundaryNodes (int geomIndex, std::vector< Node * > &bdyNodes) const |
std::string | print () const |
void | testInvariant () |
Public Attributes | |
container | nodeMap |
const NodeFactory & | nodeFact |
Private Member Functions | |
NodeMap (const NodeMap &other)=delete | |
NodeMap & | operator= (const NodeMap &rhs)=delete |
Definition at line 51 of file geomgraph/NodeMap.h.
typedef container::const_iterator geos::geomgraph::NodeMap::const_iterator |
Definition at line 58 of file geomgraph/NodeMap.h.
typedef std::map<geom::Coordinate*, Node*, geom::CoordinateLessThen> geos::geomgraph::NodeMap::container |
Definition at line 54 of file geomgraph/NodeMap.h.
typedef container::iterator geos::geomgraph::NodeMap::iterator |
Definition at line 56 of file geomgraph/NodeMap.h.
typedef std::pair<geom::Coordinate*, Node*> geos::geomgraph::NodeMap::pair |
Definition at line 60 of file geomgraph/NodeMap.h.
geos::geomgraph::NodeMap::NodeMap | ( | const NodeFactory & | newNodeFact | ) |
NodeMap will keep a reference to the NodeFactory, keep it alive for the whole NodeMap lifetime.
|
virtual |
|
privatedelete |
void geos::geomgraph::NodeMap::add | ( | EdgeEnd * | e | ) |
Node* geos::geomgraph::NodeMap::addNode | ( | const geom::Coordinate & | coord | ) |
|
inline |
Definition at line 82 of file geomgraph/NodeMap.h.
|
inline |
Definition at line 94 of file geomgraph/NodeMap.h.
|
inline |
Definition at line 88 of file geomgraph/NodeMap.h.
|
inline |
Definition at line 100 of file geomgraph/NodeMap.h.
Node* geos::geomgraph::NodeMap::find | ( | const geom::Coordinate & | coord | ) | const |
void geos::geomgraph::NodeMap::getBoundaryNodes | ( | int | geomIndex, |
std::vector< Node * > & | bdyNodes | ||
) | const |
std::string geos::geomgraph::NodeMap::print | ( | ) | const |
|
inline |
Definition at line 111 of file geomgraph/NodeMap.h.
References geos::geomgraph::Node::getCoordinate().
const NodeFactory& geos::geomgraph::NodeMap::nodeFact |
Definition at line 64 of file geomgraph/NodeMap.h.
container geos::geomgraph::NodeMap::nodeMap |
Definition at line 62 of file geomgraph/NodeMap.h.