CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::MeshGenerator::ShapeToPath< Shape > Class Template Reference

Converts a Shape to a Path. More...

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

Classes

class  Vertices
 

Public Types

using Edges = typename Impl::Edges
 

Public Member Functions

 ShapeToPath (Shape shape)
 
Edges edges () const noexcept
 
Vertices vertices () const
 

Private Types

using Impl = Shape
 

Private Attributes

Impl mShape
 

Detailed Description

template<typename Shape>
class CeresEngine::MeshGenerator::ShapeToPath< Shape >

Converts a Shape to a Path.

The shape position coordinates are used as the x and y and 0 is used as z. Shape tangent becomes the path tangent and z-axis becomes normal vector and thus the shape normal becomes the path binormal.

Member Typedef Documentation

◆ Edges

◆ Impl

Constructor & Destructor Documentation

◆ ShapeToPath()

template<typename Shape >
CeresEngine::MeshGenerator::ShapeToPath< Shape >::ShapeToPath ( Shape  shape)
inline

Member Function Documentation

◆ edges()

template<typename Shape >
Edges CeresEngine::MeshGenerator::ShapeToPath< Shape >::edges ( ) const
inlinenoexcept

◆ vertices()

template<typename Shape >
Vertices CeresEngine::MeshGenerator::ShapeToPath< Shape >::vertices ( ) const
inline

Member Data Documentation

◆ mShape


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