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

#include <spherical_triangle_mesh.hpp>

Classes

class  triangles_t
 
class  vertices_t
 

Public Member Functions

 spherical_triangle_mesh_t (double radius=1.0, int segments=4)
 
 spherical_triangle_mesh_t (const gml::dvec3 &v0, const gml::dvec3 &v1, const gml::dvec3 &v2, int segments=4)
 
triangles_t triangles () const noexcept
 
vertices_t vertices () const noexcept
 

Detailed Description

A triangular region on a surface of a sphere.

Definition at line 14 of file spherical_triangle_mesh.hpp.

Constructor & Destructor Documentation

◆ spherical_triangle_mesh_t() [1/2]

spherical_triangle_mesh_t::spherical_triangle_mesh_t ( double radius = 1.0,
int segments = 4 )
Parameters
radiusRadius of the containing sphere.
segmentsNumber of subdivisions along each edge.

Definition at line 114 of file spherical_triangle_mesh.cpp.

◆ spherical_triangle_mesh_t() [2/2]

spherical_triangle_mesh_t::spherical_triangle_mesh_t ( const gml::dvec3 & v0,
const gml::dvec3 & v1,
const gml::dvec3 & v2,
int segments = 4 )
Parameters
segmentsNumber of subdivisions along each edge.

Definition at line 122 of file spherical_triangle_mesh.cpp.

Member Function Documentation

◆ triangles()

spherical_triangle_mesh_t::triangles_t spherical_triangle_mesh_t::triangles ( ) const
noexcept

Definition at line 134 of file spherical_triangle_mesh.cpp.

◆ vertices()

spherical_triangle_mesh_t::vertices_t spherical_triangle_mesh_t::vertices ( ) const
noexcept

Definition at line 139 of file spherical_triangle_mesh.cpp.


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