ug4
icosahedron.h File Reference
#include "lib_grid/lg_base.h"

Go to the source code of this file.

Namespaces

 ug
 the ug namespace
 

Functions

void ug::GenerateIcosahedron (Grid &grid, const vector3 &center, number radius, AVector3 &aPos)
 Creates an Icosahedron. More...
 
void ug::GenerateIcosphere (Grid &grid, const vector3 &center, number radius, int numRefinements, AVector3 &aPos, Selector *psel=NULL)
 Creates a ico-sphere by repeatedly refining an icosahedron. More...
 
void ug::GenerateIcosphere (std::vector< vector3 > &trisOut, const vector3 &center, number radius, size_t refinements)
 Generates a list of triangle-corners for the given Ico-Sphere. More...