33 #ifndef __H__UG_pyramid_rules_impl
34 #define __H__UG_pyramid_rules_impl
50 for(
int i = 1; i < 4; ++i){
55 if((smallest == 0) || (smallest == 2)){
58 newIndsOut[i++] = 0; newIndsOut[i++] = 1;
59 newIndsOut[i++] = 2; newIndsOut[i++] =
TOP_VERTEX;
62 newIndsOut[i++] = 0; newIndsOut[i++] = 2;
63 newIndsOut[i++] = 3; newIndsOut[i++] =
TOP_VERTEX;
69 newIndsOut[i++] = 0; newIndsOut[i++] = 1;
70 newIndsOut[i++] = 3; newIndsOut[i++] =
TOP_VERTEX;
73 newIndsOut[i++] = 1; newIndsOut[i++] = 2;
74 newIndsOut[i++] = 3; newIndsOut[i++] =
TOP_VERTEX;
int ConvertToTetrahedra(int *newIndsOut, TCmp cmp)
fills an array of integers describing tetrahedra that shall replace the pyramid
Definition: pyramid_rules_impl.h:43
const int TOP_VERTEX
the pyramids top
Definition: pyramid_rules.h:65
@ GOID_TETRAHEDRON
Definition: grid_object_ids.h:43