Unravel Engine C++ Reference
Loading...
Searching...
No Matches
generator::icosahedron_mesh_t Class Reference

#include <icosahedron_mesh.hpp>

Classes

class  triangles_t
 
class  vertices_t
 

Public Member Functions

 icosahedron_mesh_t (double radius=1.0, int segments=1)
 
triangles_t triangles () const noexcept
 
vertices_t vertices () const noexcept
 

Detailed Description

Regular icosahedron centered at origin with given radius.

Definition at line 17 of file icosahedron_mesh.hpp.

Constructor & Destructor Documentation

◆ icosahedron_mesh_t()

icosahedron_mesh_t::icosahedron_mesh_t ( double radius = 1.0,
int segments = 1 )
Parameters
radiusThe radius of the enclosing sphere.
segmentsThe number segments along each edge. Must be >= 1.

Definition at line 147 of file icosahedron_mesh.cpp.

Member Function Documentation

◆ triangles()

icosahedron_mesh_t::triangles_t icosahedron_mesh_t::triangles ( ) const
noexcept

Definition at line 154 of file icosahedron_mesh.cpp.

◆ vertices()

icosahedron_mesh_t::vertices_t icosahedron_mesh_t::vertices ( ) const
noexcept

Definition at line 159 of file icosahedron_mesh.cpp.


The documentation for this class was generated from the following files: