#include "print.h"
#include "voxel.h"
#include "puzzle.h"
#include "problem.h"
#include "disassembly.h"
#include "assembly.h"
#include "assert.h"
Functions | |
void | print (const voxel_c *v, char base) |
void | print (const puzzle_c *p) |
static void | print_rec (const separation_c *s, voxel_c **pieces, int sx, int sy, int sz, unsigned int *pieceNum) |
void | print (const separation_c *s, const assembly_c *a, const problem_c *p) |
void | print (const assembly_c *a, const problem_c *p) |
void print | ( | const assembly_c * | a, | |
const problem_c * | p | |||
) |
References bt_assert, bt_assert2, problem_c::getGridType(), voxel_c::getHx(), voxel_c::getHy(), voxel_c::getHz(), problem_c::getResultShape(), problem_c::getShapeMax(), problem_c::getShapeShape(), assembly_c::getTransformation(), gridType_c::getVoxel(), assembly_c::getX(), assembly_c::getY(), assembly_c::getZ(), assembly_c::isPlaced(), problem_c::partNumber(), assembly_c::placementCount(), and problem_c::resultValid().
void print | ( | const separation_c * | s, | |
const assembly_c * | a, | |||
const problem_c * | p | |||
) |
References bt_assert, bt_assert2, problem_c::getGridType(), problem_c::getResultShape(), problem_c::getShapeMax(), problem_c::getShapeShape(), assembly_c::getTransformation(), gridType_c::getVoxel(), voxel_c::getX(), problem_c::partNumber(), assembly_c::placementCount(), print_rec(), and problem_c::resultValid().
void print | ( | const puzzle_c * | p | ) |
void print | ( | const voxel_c * | v, | |
char | base | |||
) |
References voxel_c::boundX1(), voxel_c::boundX2(), voxel_c::boundY1(), voxel_c::boundY2(), voxel_c::boundZ1(), voxel_c::boundZ2(), voxel_c::get(), voxel_c::getHx(), voxel_c::getHy(), voxel_c::getHz(), voxel_c::getX(), voxel_c::getY(), and voxel_c::getZ().
Referenced by print().
static void print_rec | ( | const separation_c * | s, | |
voxel_c ** | pieces, | |||
int | sx, | |||
int | sy, | |||
int | sz, | |||
unsigned int * | pieceNum | |||
) | [static] |