GlobeEngine
geSpatial::SpatialTreeKey2< T > Class Template Reference

#include <SpatialKey.h>

Inheritance diagram for geSpatial::SpatialTreeKey2< T >:
geSpatial::SpatialTreeKey< 2, T >

Public Member Functions

 SpatialTreeKey2 ()
 
 SpatialTreeKey2 (short _lod)
 
 SpatialTreeKey2 (short _lod, unsigned int _x, unsigned int _y)
 
void setInitial (short _lod, unsigned int _x, unsigned int _y)
 
 SpatialTreeKey2 (const std::shared_ptr< SpatialTreeKey2 > _copy)
 
std::shared_ptr< SpatialTreeKey2< T > > getParentKey () const
 
std::shared_ptr< SpatialTreeKey2< T > > getChildKey (int _idx) const
 
int getChildKeyInDirectionTo (std::shared_ptr< SpatialTreeKey2< T > > _key)
 
int getChildIdxInDirectionTo (std::shared_ptr< SpatialTreeKey2< T > > _key)
 
bool operator< (const SpatialTreeKey2 &other) const
 
bool operator== (const SpatialTreeKey2 &other) const
 
unsigned int getX ()
 
void setX (unsigned int _in)
 
unsigned int getY ()
 
void setY (unsigned int _in)
 
- Public Member Functions inherited from geSpatial::SpatialTreeKey< 2, T >
 SpatialTreeKey ()
 
 SpatialTreeKey (short _lod)
 
short getLod () const
 
void setLod (short _in)
 
const T * getCoord () const
 
std::string getKeyAsString ()
 

Additional Inherited Members

- Protected Attributes inherited from geSpatial::SpatialTreeKey< 2, T >
short lod
 
coord [D]
 

Constructor & Destructor Documentation

template<class T >
geSpatial::SpatialTreeKey2< T >::SpatialTreeKey2 ( )
inline
template<class T >
geSpatial::SpatialTreeKey2< T >::SpatialTreeKey2 ( short  _lod)
inline
template<class T >
geSpatial::SpatialTreeKey2< T >::SpatialTreeKey2 ( short  _lod,
unsigned int  _x,
unsigned int  _y 
)
inline
template<class T >
geSpatial::SpatialTreeKey2< T >::SpatialTreeKey2 ( const std::shared_ptr< SpatialTreeKey2< T > >  _copy)
inline

Member Function Documentation

template<class T >
int geSpatial::SpatialTreeKey2< T >::getChildIdxInDirectionTo ( std::shared_ptr< SpatialTreeKey2< T > >  _key)
inline
template<class T >
std::shared_ptr< SpatialTreeKey2<T> > geSpatial::SpatialTreeKey2< T >::getChildKey ( int  _idx) const
inline
template<class T >
int geSpatial::SpatialTreeKey2< T >::getChildKeyInDirectionTo ( std::shared_ptr< SpatialTreeKey2< T > >  _key)
inline
template<class T >
std::shared_ptr< SpatialTreeKey2<T> > geSpatial::SpatialTreeKey2< T >::getParentKey ( ) const
inline
template<class T >
unsigned int geSpatial::SpatialTreeKey2< T >::getX ( )
inline
template<class T >
unsigned int geSpatial::SpatialTreeKey2< T >::getY ( )
inline
template<class T >
bool geSpatial::SpatialTreeKey2< T >::operator< ( const SpatialTreeKey2< T > &  other) const
inline
template<class T >
bool geSpatial::SpatialTreeKey2< T >::operator== ( const SpatialTreeKey2< T > &  other) const
inline
template<class T >
void geSpatial::SpatialTreeKey2< T >::setInitial ( short  _lod,
unsigned int  _x,
unsigned int  _y 
)
inline
template<class T >
void geSpatial::SpatialTreeKey2< T >::setX ( unsigned int  _in)
inline
template<class T >
void geSpatial::SpatialTreeKey2< T >::setY ( unsigned int  _in)
inline

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