src/lib/millable.cpp File Reference

#include "millable.h"
#include "voxel.h"
#include "voxel_0.h"
#include "gridtype.h"

Include dependency graph for millable.cpp:


Functions

bool isNotchable (const voxel_c *v)
 Check, if a piece is notchable.
bool isMillable (const voxel_c *v)
 Check, if a shape is millable.

Function Documentation

bool isMillable ( const voxel_c v  ) 

Check, if a shape is millable.

a piece is millable, if it contains no inside corners

This function only works for cube voxel spaces right now

References voxel_c::getX(), voxel_c::getY(), voxel_c::getZ(), voxel_c::isEmpty(), and voxel_c::isFilled2().

bool isNotchable ( const voxel_c v  ) 

Check, if a piece is notchable.

a piece is notchable, if it can be made purely by cutting

This function only works for cube voxel spaces right now

References voxel_c::getX(), voxel_c::getY(), voxel_c::getZ(), gridType_c::GT_BRICKS, voxel_c::isFilled(), and voxel_c::VX_FILLED.


Generated on Sun Oct 10 10:01:48 2010 for BurrTools by  doxygen 1.5.8