#include <Spatial3DGraph.h>
Inherits SpatialGraph< GraphNode3D, Location3D, Space3D >.

Public Member Functions | |
| int | addNode (GraphNode3D *node, Location3D *loc) |
| int | removeNode (GraphNode3D *node) |
A Spatial3DGraph contains nodes and 3D locations. The nodes are of specific type, namely GraphNode3D. Which basically means that they can be connected in a graph, and on top of that also contain a cross-reference to a 3D location.
Definition at line 22 of file Spatial3DGraph.h.
| int srAlmende::Spatial3DGraph::addNode | ( | GraphNode3D * | node, | |
| Location3D * | loc | |||
| ) | [virtual] |
Actually Location3D should already be part of GraphNode3D.
Implements srAlmende::SpatialGraph< GraphNode3D, Location3D, Space3D >.
Definition at line 15 of file Spatial3DGraph.cpp.
References srAlmende::Location3D::toString().

| int srAlmende::Spatial3DGraph::removeNode | ( | GraphNode3D * | node | ) | [virtual] |
This routine removes only GraphNode3D, not the Location3D attached to it. This is namely the responsibility of the Space3D class.
Implements srAlmende::SpatialGraph< GraphNode3D, Location3D, Space3D >.
Definition at line 30 of file Spatial3DGraph.cpp.
References srAlmende::Location3D::toString().

1.6.1