ug4
hexahedron_rules.h File Reference

Go to the source code of this file.

Namespaces

 ug
 the ug namespace
 
 ug::hex_rules
 

Functions

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

Variables

const int ug::hex_rules::EDGE_FROM_VRTS [8][8]
 Associates the index of the connecting edge with each tuple of vertices. More...
 
const int ug::hex_rules::EDGE_VRT_INDS [][2]
 the local vertex indices of the given edge More...
 
const int ug::hex_rules::FACE_CONTAINS_EDGE [][12]
 tells whether the i-th face contains the j-th edge More...
 
const int ug::hex_rules::FACE_EDGE_INDS [6][4]
 returns the j-th edge of the i-th face More...
 
const int ug::hex_rules::FACE_FROM_EDGES [][12]
 given two edges, the table returns the face, which contains both (or -1) More...
 
const int ug::hex_rules::FACE_FROM_VRTS [8][8][8]
 Associates the index of the connecting face with each triple of vertices. More...
 
const int ug::hex_rules::FACE_VRT_INDS [][4]
 the local vertex indices of the given face More...
 
const int ug::hex_rules::MAX_NUM_CONVERT_TO_TETS_INDS_OUT = 30
 
const int ug::hex_rules::MAX_NUM_INDS_OUT = 256
 
const int ug::hex_rules::NUM_EDGES = 12
 
const int ug::hex_rules::NUM_FACES = 6
 
const int ug::hex_rules::NUM_QUADS = 6
 
const int ug::hex_rules::NUM_TRIS = 0
 
const int ug::hex_rules::NUM_VERTICES = 8
 
const int ug::hex_rules::OPPOSED_FACE [NUM_FACES] = {5, 3, 4, 1, 2, 0}
 contains the index of the opposed face of each face More...
 
const int ug::hex_rules::OPPOSED_FACE_VRT_INDS [][4]
 vertex indices of the face on the opposite side of the i-th face. More...
 
const int ug::hex_rules::OPPOSED_OBJECT [][NUM_VERTICES]