CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::MeshGenerator::HelixPath Class Reference

A helix cented at origin aligned along the z-axis. More...

#include <CeresEngine/Mesh/Generator/HelixPath.hpp>

Public Types

using Edges = typename Impl::Edges
 
using Vertices = typename Impl::Vertices
 

Public Member Functions

 HelixPath (double radius=1.0, double size=1.0, int segments=32, double start=0.0, double sweep=radians(720.0))
 
Edges edges () const noexcept
 
Vertices vertices () const noexcept
 

Private Types

using Impl = ParametricPath
 

Private Attributes

Impl mParametricPath
 

Detailed Description

A helix cented at origin aligned along the z-axis.

Member Typedef Documentation

◆ Edges

◆ Impl

◆ Vertices

Constructor & Destructor Documentation

◆ HelixPath()

CeresEngine::MeshGenerator::HelixPath::HelixPath ( double  radius = 1.0,
double  size = 1.0,
int  segments = 32,
double  start = 0.0,
double  sweep = radians(720.0) 
)
Parameters
radiusRadius from the z-axis
sizeHalf of the length along the z-axis.
segmentsNumber of subdivisions along the path.
startCounterclockwise angle around the z-axis relative to the x-axis.
sweepCounterclockwise angle around the z-axis.

Member Function Documentation

◆ edges()

Edges CeresEngine::MeshGenerator::HelixPath::edges ( ) const
inlinenoexcept

◆ vertices()

Vertices CeresEngine::MeshGenerator::HelixPath::vertices ( ) const
inlinenoexcept

Member Data Documentation

◆ mParametricPath

Impl CeresEngine::MeshGenerator::HelixPath::mParametricPath
private

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