5#ifndef __PROJECTIONS_H__
6#define __PROJECTIONS_H__
12#define GRID_DIMENSION 20
14#if defined(_WIN32) && !(_MSC_VER >= 1900)
15# define isnan(n) _isnan(n)
17# define int64_t __int64
30extern const int centmap[3][3][3][2];
98 void shift(
int off[3]);
109#ifdef WITH_CXX_GUARDEDALLOC
110 MEM_CXX_CLASS_ALLOC_FUNCS(
"DUALCON:CubeTriangleIsect")
const int centmap[3][3][3][2]
int isIntersecting() const
int isIntersectingPrimary(int edgeInd) const
CubeProjection cubeProj[NUM_AXES]
Projections of the cube vertices.
unsigned char getBoxMask()
TriangleProjection * inherit
Inheritable portion.
float getIntersectionPrimary(int edgeInd) const
static void error(const char *str)
int64_t tri_proj[NUM_AXES][2]
Projections of triangle (min and max)
double norm[3]
Normal of the triangle.
int index
Index of polygon.