srAlmende::Location3D Class Reference

#include <Location3D.h>

Inherits srAlmende::Location.

List of all members.

Public Member Functions

 Location3D (int x, int y, int z)
std::string toString ()

Detailed Description

It is assumed that there is only Location3D object per physical location. This can not be enforced, but it is an underlying reason that there are no setters for the x, y and z coordinates. There is no neighbour function defined for locations. It depends on the structure of Space3D which Location3D is actually close to which other Location3D. In other words, this class does not define a metric.

Definition at line 19 of file Location3D.h.


Constructor & Destructor Documentation

srAlmende::Location3D::Location3D ( int  x,
int  y,
int  z 
)

A Location3D contains an x, y and z coordinate.

Definition at line 16 of file Location3D.cpp.

References toString().

Here is the call graph for this function:


Member Function Documentation

std::string srAlmende::Location3D::toString (  ) 

This routine can be used to print the coordinates in [x,y,z] format.

Definition at line 31 of file Location3D.cpp.

Referenced by srAlmende::Spatial3DGraph::addNode(), srAlmende::Space3DUnit::getNeighbours(), Location3D(), and srAlmende::Spatial3DGraph::removeNode().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations

Generated on Thu Feb 4 16:32:07 2010 for Delta3D Plugin by  doxygen 1.6.1