Description of a Shape. More...
#include <TTL_types.h>
Public Member Functions | |
TTL_shape (TTL_dim width=0, TTL_dim height=1, TTL_dim depth=1) | |
Create a description of a Shape. | |
bool | empty () const |
A Shape is empty if its width is 0. | |
Data Fields | |
TTL_dim | width |
Number of elements along dimension x. | |
TTL_dim | height |
Number of rows along dimension y. | |
TTL_dim | depth |
Number of planes along dimension z. | |
Description of a Shape.
A Shape is a 3D description of an object.
The units are elements
Definition at line 31 of file TTL_cpp/TTL_types.h.
Create a description of a Shape.
width | The number of elements of the Tile Shape in the x-axis |
height | The number of elements of the Tile Shape in the y-axis |
depth | The number of elements of the Tile Shape in the z-axis |
Definition at line 43 of file TTL_cpp/TTL_types.h.
|
inline |
A Shape is empty if its width is 0.
Definition at line 48 of file TTL_cpp/TTL_types.h.
TTL_dim TTL_shape::depth |
Number of planes along dimension z.
Definition at line 54 of file TTL_cpp/TTL_types.h.
TTL_dim TTL_shape::height |
Number of rows along dimension y.
Definition at line 53 of file TTL_cpp/TTL_types.h.
TTL_dim TTL_shape::width |
Number of elements along dimension x.
Definition at line 52 of file TTL_cpp/TTL_types.h.