47static inline TTL_shape_t __attribute__((overloadable))
88 return shape.
width == 0;
unsigned int TTL_dim_t
The type used to hold the size of an object along any dimension.
int TTL_offset_dim_t
The type used to hold offsets and origins.
Description of the 3D offset of an object.
TTL_offset_dim_t z
Offset in dimension z.
TTL_offset_dim_t y
Offset in dimension y.
TTL_offset_dim_t x
Offset in dimension x.
Description of the overlap in 3D space of adjacent tiles.
TTL_overlap_dim_t depth
depth overlap in elements
TTL_overlap_dim_t height
height overlap in elements
TTL_overlap_dim_t width
width overlap in elements
TTL_dim_t depth
Number of planes along dimension z.
TTL_dim_t width
Number of elements along dimension x.
TTL_dim_t height
Number of rows along dimension y.
static bool TTL_shape_empty(TTL_shape_t shape)
A Shape is empty if its width is 0.
static TTL_overlap_t TTL_create_overlap(const TTL_overlap_dim_t width, const TTL_overlap_dim_t height, const TTL_overlap_dim_t depth)
Create a 3D Description of a Tile overlap.
static TTL_shape_t TTL_create_shape(TTL_dim_t width, TTL_dim_t height, TTL_dim_t depth)
Create a description of a Shape.
static TTL_offset_t TTL_create_offset(void)
Returns a TTL_offset_t.
unsigned char TTL_overlap_dim_t