ug4
octahedron_rules.h File Reference

Go to the source code of this file.

Namespaces

 ug
 the ug namespace
 
 ug::oct_rules
 

Functions

bool ug::oct_rules::IsRegularRefRule (const int edgeMarks)
 returns true if the specified edgeMarks would lead to a regular refinement More...
 
int ug::oct_rules::Refine (int *newIndsOut, int *newEdgeVrts, bool &newCenterOut, vector3 *corners, bool *)
 

Variables

const int ug::oct_rules::BOTTOM_VERTEX = 0
 the octhedrons bottom More...
 
const int ug::oct_rules::EDGE_FROM_VRTS [6][6]
 Associates the index of the connecting edge with each tuple of vertices. More...
 
const int ug::oct_rules::EDGE_VRT_INDS [][2]
 the local vertex indices of the given edge More...
 
const int ug::oct_rules::FACE_CONTAINS_EDGE [][12]
 tells whether the i-th face contains the j-th edge More...
 
const int ug::oct_rules::FACE_EDGE_INDS [8][4]
 returns the j-th edge of the i-th face More...
 
const int ug::oct_rules::FACE_FROM_EDGES [][12]
 given two edges, the table returns the face, which contains both (or -1) More...
 
const int ug::oct_rules::FACE_FROM_VRTS [6][6][6]
 Associates the index of the connecting face with each triple of vertices. More...
 
const int ug::oct_rules::FACE_VRT_INDS [][4]
 the local vertex indices of the given face More...
 
const int ug::oct_rules::MAX_NUM_INDS_OUT = 82
 
const int ug::oct_rules::NUM_EDGES = 12
 
const int ug::oct_rules::NUM_FACES = 8
 
const int ug::oct_rules::NUM_QUADS = 0
 
const int ug::oct_rules::NUM_TRIS = 8
 
const int ug::oct_rules::NUM_VERTICES = 6
 
const int ug::oct_rules::OPPOSED_OBJECT [][NUM_VERTICES] = {{0, 5}, {0, 3}, {0, 4}, {0, 1}, {0, 2}, {0, 0}}
 
const int ug::oct_rules::TOP_VERTEX = 5
 the octhedrons top More...