3 #ifndef __PROJECTIONS_H__
4 #define __PROJECTIONS_H__
10 #define GRID_DIMENSION 20
12 #if defined(_WIN32) && !(_MSC_VER >= 1900)
13 # define isnan(n) _isnan(n)
15 # define int64_t __int64
28 extern const int centmap[3][3][3][2];
29 extern const int edgemap[12][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.