Class Location

Class Documentation

class Location

Public Types

typedef unsigned short LocCode

This datatype determines the maximal depth of the octree.

Public Functions

inline Location()

Standard constructor.

inline Location(LocCode _loc_x, LocCode _loc_y, LocCode _loc_z, LocCode _level, CellHandle _parent)
inline CellHandle parent() const
inline LocCode loc_x() const
inline LocCode loc_y() const
inline LocCode loc_z() const
inline LocCode level() const
inline void set_parent(CellHandle _parent)
inline void set_loc_x(LocCode _loc_x)
inline void set_loc_y(LocCode _loc_y)
inline void set_loc_z(LocCode _loc_z)
inline void set_level(LocCode _level)
inline Location neighbor(int _idx) const