Umasoft
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | List of all members
vtRouteMap Class Reference

#include <Route.h>

Inheritance diagram for vtRouteMap:
vtArray< vtRoute * >

Public Member Functions

void DestructItems (uint first, uint last)
 
bool FindClosestUtilNode (const DPoint2 &point, double error, vtRoute *&route, vtUtilNode *&node, double &closest)
 
void BuildGeometry (vtHeightField3d *pHeightField)
 
bool FindRouteFromNode (osg::Node *pNode, int &iOffset)
 
- Public Member Functions inherited from vtArray< vtRoute * >
 vtArray (uint size=0)
 
 vtArray (const vtArray< vtRoute * > &)
 
uint GetSize () const
 
uint GetMaxSize () const
 
bool SetSize (uint)
 
bool SetMaxSize (uint)
 
uint GetElemSize () const
 
vtRoute ** GetData () const
 
void FreeData ()
 
bool IsEmpty () const
 
vtRoute *& GetAt (uint i) const
 
bool SetAt (uint i, vtRoute *)
 
vtArray< vtRoute * > & operator= (const vtArray< vtRoute * > &)
 
vtRoute *& operator[] (uint i)
 
const vtRoute *& operator[] (uint i) const
 
void Empty ()
 
bool RemoveAt (uint i, int n=1)
 
int Append (const vtRoute *&)
 
int Append (const vtArray< vtRoute * > &)
 
int Find (const vtRoute *&) const
 

Additional Inherited Members

- Protected Member Functions inherited from vtArray< vtRoute * >
virtual bool Grow (uint)
 
- Protected Attributes inherited from vtArray< vtRoute * >
uint m_Size
 
uint m_MaxSize
 
vtRoute ** m_Data
 

Detailed Description

vtRouteMap is a container for a set of vtRoute objects.

Member Function Documentation

bool vtRouteMap::FindClosestUtilNode ( const DPoint2 point,
double  error,
vtRoute *&  found_route,
vtUtilNode *&  found_node,
double &  closest 
)

Find the util node which is closest to the given point, if it is within 'error' distance. The node and distance are returned by reference.


The documentation for this class was generated from the following files: