A data type for dealing with an interleaved 2D coordinate. More...
#include <ash/morton.h>
Public Types | |
| enum | { D = DIM_2D } |
| typedef U | value_type |
| The basic unsigned type underneath. | |
| typedef impl::morton_masks < value_type, DIM_2D > | mask |
| The mask set associated with this type. | |
| typedef PCoordXY< value_type > | pcoord_type |
| The pcoord type this converts to. | |
| typedef impl::_Morton_itr < _Type, value_type, mask::X > | x_type |
| The x-coordinate's interface type. | |
| typedef impl::_Morton_itr < _Type, value_type, mask::Y > | y_type |
| The y-coordinate's interface type. | |
Public Member Functions | |
Constructors/Destructors | |
We use the default destructor. | |
| MortonXY () | |
| Default constructor. | |
| MortonXY (MortonXY const &m) | |
| Copy constructor. | |
| template<typename V > | |
| MortonXY (MortonXY< V > const &m) | |
| Copy constructor for other sizes. | |
| MortonXY (value_type val) | |
| Constructor from the underlying value_type. | |
| MortonXY (pcoord_type const &p) | |
| PCoordXY conversion constructor. | |
Cast Operators | |
| operator value_type & () | |
| operator const value_type & () const | |
Public Attributes | |
| x_type | x |
| The x-coordinate interface. | |
| y_type | y |
| The y-coordinate interface. | |
A data type for dealing with an interleaved 2D coordinate.
| U | [uint8|uint16|uint32|uint64] An unsigned type. Also defined as MortonXY::value_type. |
The size of U is equal to the total size of the object.
| typedef impl::morton_masks<value_type, DIM_2D> ash::MortonXY< U >::mask |
The mask set associated with this type.
| typedef PCoordXY<value_type> ash::MortonXY< U >::pcoord_type |
The pcoord type this converts to.
| typedef U ash::MortonXY< U >::value_type |
The basic unsigned type underneath.
| typedef impl::_Morton_itr<_Type, value_type, mask::X> ash::MortonXY< U >::x_type |
The x-coordinate's interface type.
| typedef impl::_Morton_itr<_Type, value_type, mask::Y> ash::MortonXY< U >::y_type |
The y-coordinate's interface type.
| ash::MortonXY< U >::MortonXY | ( | ) | [inline] |
Default constructor.
| ash::MortonXY< U >::MortonXY | ( | MortonXY< U > const & | m | ) | [inline] |
Copy constructor.
| m | The MortonXY to copy. |
| ash::MortonXY< U >::MortonXY | ( | MortonXY< V > const & | m | ) | [inline, explicit] |
Copy constructor for other sizes.
| m | The MortonXY<> to copy. |
| ash::MortonXY< U >::MortonXY | ( | value_type | val | ) | [inline] |
Constructor from the underlying value_type.
| ash::MortonXY< U >::MortonXY | ( | pcoord_type const & | p | ) | [inline] |
| x_type ash::MortonXY< U >::x |
The x-coordinate interface.
| y_type ash::MortonXY< U >::y |
The y-coordinate interface.
© 2012
|
Licensed under
|
Hosted by
|
Generated by
1.7.4
|