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

A circle winding multiple times around. More...

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

Public Types

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

Public Member Functions

 KnotPath (int p=2, int q=3, int segments=96)
 
Edges edges () const noexcept
 
Vertices vertices () const noexcept
 

Private Types

using Impl = ParametricPath
 

Private Attributes

Impl mParametricPath
 

Detailed Description

A circle winding multiple times around.

Member Typedef Documentation

◆ Edges

◆ Impl

◆ Vertices

Constructor & Destructor Documentation

◆ KnotPath()

CeresEngine::MeshGenerator::KnotPath::KnotPath ( int  p = 2,
int  q = 3,
int  segments = 96 
)
Parameters
qTimes around a circle
pTimes around z axis
segmentsNumber of subdivisions along the path.

Member Function Documentation

◆ edges()

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

◆ vertices()

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

Member Data Documentation

◆ mParametricPath

Impl CeresEngine::MeshGenerator::KnotPath::mParametricPath
private

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