BoundedBlock Struct Reference

BoundedBlock contains the walls existance data of a single voxel. More...

#include <Space3D.h>

List of all members.

Public Member Functions

 BoundedBlock ()
 BoundedBlock (int v)

Public Attributes

int fill
bool left
bool right
 X axis.
bool up
bool down
 Y axis.
bool front
bool back
 Z axis.


Detailed Description

BoundedBlock contains the walls existance data of a single voxel.

A voxel is a 3D pixel. this class represents the walls of a voxel, specifically, which walls are blocked and which aren't. It is used in the calculation of the volume of a shape.

See also:
BoundedBlockSpace3D


Constructor & Destructor Documentation

BoundedBlock::BoundedBlock (  )  [inline]

BoundedBlock::BoundedBlock ( int  v  )  [inline]


Member Data Documentation

X axis.

Y axis.

Z axis.


The documentation for this struct was generated from the following file: