PolyVox  0.3.0-dev
Open source voxel management library
Public Member Functions | Public Attributes | List of all members
PolyVox::Node Struct Reference

#include <AStarPathfinderImpl.h>

+ Collaboration diagram for PolyVox::Node:

Public Member Functions

 Node (int x, int y, int z)
 
bool operator== (const Node &rhs) const
 
bool operator< (const Node &rhs) const
 
float f (void) const
 

Public Attributes

PolyVox::Vector3DInt32 position
 
float gVal
 
float hVal
 
Nodeparent
 

Detailed Description

Definition at line 51 of file AStarPathfinderImpl.h.

Constructor & Destructor Documentation

PolyVox::Node::Node ( int  x,
int  y,
int  z 
)
inline

Definition at line 53 of file AStarPathfinderImpl.h.

+ Here is the call graph for this function:

Member Function Documentation

float PolyVox::Node::f ( void  ) const
inline

Definition at line 93 of file AStarPathfinderImpl.h.

bool PolyVox::Node::operator< ( const Node rhs) const
inline

Definition at line 68 of file AStarPathfinderImpl.h.

+ Here is the call graph for this function:

bool PolyVox::Node::operator== ( const Node rhs) const
inline

Definition at line 63 of file AStarPathfinderImpl.h.

Member Data Documentation

float PolyVox::Node::gVal

Definition at line 89 of file AStarPathfinderImpl.h.

Referenced by PolyVox::AStarPathfinder< VolumeType >::execute(), and f().

float PolyVox::Node::hVal

Definition at line 90 of file AStarPathfinderImpl.h.

Referenced by PolyVox::AStarPathfinder< VolumeType >::execute(), and f().

Node* PolyVox::Node::parent
PolyVox::Vector3DInt32 PolyVox::Node::position

The documentation for this struct was generated from the following file: