Euclid
Geometry Processing and Shape Analysis in C++
Primitive Generator

Geometric primitive generator. More...

Functions

template<typename Mesh >
void Euclid::make_subdivision_sphere (Mesh &mesh, const Point_3_t< Mesh > &center={0.0, 0.0, 0.0}, typename Kernel_t< Mesh >::FT radius=1.0, int iterations=4)
 Create a subdivision sphere. More...
 

Detailed Description

This package contains functions to generate geometric primitives.

Function Documentation

template<typename Mesh >
void Euclid::make_subdivision_sphere ( Mesh &  mesh,
const Point_3_t< Mesh > &  center = { 0.0, 0.0, 0.0 },
typename Kernel_t< Mesh >::FT  radius = 1.0,
int  iterations = 4 
)

Create a subdivision sphere from icosahedron using Loop subdivision method.