17 #ifndef __PROJECTIONS_H__
18 #define __PROJECTIONS_H__
23 #define CONTAINS_INDEX
24 #define GRID_DIMENSION 20
26 #if defined(_WIN32) && !(_MSC_VER >= 1900)
27 # define isnan(n) _isnan(n)
29 # define int64_t __int64
42 extern const int centmap[3][3][3][2];
43 extern const int edgemap[12][2];
112 void shift(
int off[3]);
123 #ifdef WITH_CXX_GUARDEDALLOC
124 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.