opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | List of all members
osc::PolyhedronGeometry Class Referencefinal

#include <polyhedron_geometry.h>

Public Types

using Params = PolyhedronGeometryParams
 

Public Member Functions

 PolyhedronGeometry (const Params &=Params{})
 
 PolyhedronGeometry (std::span< const Vector3 > vertices, std::span< const uint32_t > indices, float radius=1.0f, size_t detail_level=0)
 
const Meshmesh () const
 
 operator const Mesh & () const
 

Static Public Member Functions

static constexpr CStringView name ()
 

Member Typedef Documentation

◆ Params

Constructor & Destructor Documentation

◆ PolyhedronGeometry() [1/2]

osc::PolyhedronGeometry::PolyhedronGeometry ( const Params = Params{})
explicit

◆ PolyhedronGeometry() [2/2]

osc::PolyhedronGeometry::PolyhedronGeometry ( std::span< const Vector3 vertices,
std::span< const uint32_t indices,
float  radius = 1.0f,
size_t  detail_level = 0 
)
explicit

Member Function Documentation

◆ mesh()

const Mesh & osc::PolyhedronGeometry::mesh ( ) const
inline

◆ name()

static constexpr CStringView osc::PolyhedronGeometry::name ( )
inlinestaticconstexpr

◆ operator const Mesh &()

osc::PolyhedronGeometry::operator const Mesh & ( ) const
inline

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