#include <Space3D.h>
Collaboration diagram for Space3D< T >:
Public Member Functions | |
Space3D () | |
Space3D (int _szx, int _szy, int _szz) | |
~Space3D () | |
void | create (int _szx, int _szy, int _szz) |
bool | isCreated () const |
void | clear (const T &val=T()) |
T & | axx (int x, int y, int z) |
T & | axx (Coord3d c) |
T & | axx (Coord3d c, int factor) |
const T & | axx (int x, int y, int z) const |
const T & | axx (Coord3d c) const |
const T & | axx (Coord3d c, int factor) const |
Public Attributes | |
const int | szx |
const int | szy |
const int | szz |
Private Attributes | |
int | szxTy |
x times y. - used optimization. | |
T * | data |
It provided optimized access to the elements in it. it is used mostly in the shape generation. it is not yet used in the main solution engine in Cube
void Space3D< T >::create | ( | int | _szx, | |
int | _szy, | |||
int | _szz | |||
) | [inline] |
bool Space3D< T >::isCreated | ( | ) | const [inline] |
void Space3D< T >::clear | ( | const T & | val = T() |
) | [inline] |
T& Space3D< T >::axx | ( | int | x, | |
int | y, | |||
int | z | |||
) | [inline] |
const T& Space3D< T >::axx | ( | int | x, | |
int | y, | |||
int | z | |||
) | const [inline] |