5#ifndef __PROJECTIONS_H__
6#define __PROJECTIONS_H__
13#define GRID_DIMENSION 20
15#if defined(_WIN32) && !(_MSC_VER >= 1900)
16# define isnan(n) _isnan(n)
18# define int64_t __int64
31extern const int centmap[3][3][3][2];
98 void shift(
const int off[3]);
109 MEM_CXX_CLASS_ALLOC_FUNCS(
"DUALCON:CubeTriangleIsect")
Read Guarded memory(de)allocation.
const int centmap[3][3][3][2]
CubeTriangleIsect()=default
void shift(const int off[3])
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.