Simple++
Powerfull and lightning fast C++ Library
Public Types | Public Member Functions | List of all members
CoordinateChunk< F, I, size > Class Template Reference

#include <CoordinateChunk.h>

Public Types

enum  Direction : unsigned int {
  Direction::Right, Direction::Left, Direction::Top, Direction::Bottom,
  Direction::Front, Direction::Back
}
 

Public Member Functions

 CoordinateChunk (const Math::Vec3< I > &position)
 
 ~CoordinateChunk ()
 
const I & getNeighborsDistance (Direction direction)
 
const F & getNeighborsDistanceF (Direction direction)
 
CoordinateChunkgetNeighbors (Direction direction)
 
CoordinateChunkinsertChunk (const Math::Vec3< I > &position)
 
const Math::Vec3< I > & getPosition () const
 

Member Enumeration Documentation

template<typename F, typename I, unsigned int size = 1000>
enum CoordinateChunk::Direction : unsigned int
strong
Enumerator
Right 
Left 
Top 
Bottom 
Front 
Back 

Constructor & Destructor Documentation

template<typename F , typename I , unsigned int size>
CoordinateChunk< F, I, size >::CoordinateChunk ( const Math::Vec3< I > &  position)
template<typename F , typename I , unsigned int size>
CoordinateChunk< F, I, size >::~CoordinateChunk ( )

Member Function Documentation

template<typename F, typename I, unsigned int size = 1000>
CoordinateChunk* CoordinateChunk< F, I, size >::getNeighbors ( Direction  direction)
inline
template<typename F, typename I, unsigned int size = 1000>
const I& CoordinateChunk< F, I, size >::getNeighborsDistance ( Direction  direction)
inline
template<typename F, typename I, unsigned int size = 1000>
const F& CoordinateChunk< F, I, size >::getNeighborsDistanceF ( Direction  direction)
inline
template<typename F, typename I, unsigned int size = 1000>
const Math::Vec3<I>& CoordinateChunk< F, I, size >::getPosition ( ) const
inline
template<typename F, typename I, unsigned int size = 1000>
CoordinateChunk* CoordinateChunk< F, I, size >::insertChunk ( const Math::Vec3< I > &  position)
inline

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