ug4
octahedron_rules.cpp File Reference
#include <cassert>
#include "octahedron_rules.h"
#include "rule_util.h"
#include "grid_object_ids.h"

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 *)
 
void ug::oct_rules::RotateOctahedron (int vrtsOut[NUM_VERTICES], int steps)
 Output are the vertices of a octahedron rotated around its vertical axis. More...