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

Rotates a shape around the origin on the xy-plane. More...

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

Public Types

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

Public Member Functions

 RotateShape (Shape shape, double angle)
 
Edges edges () const noexcept
 
Vertices vertices () const noexcept
 

Private Types

using Impl = TransformShape< Shape >
 

Private Attributes

Impl mTransformShape
 

Detailed Description

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

Rotates a shape around the origin on the xy-plane.

Member Typedef Documentation

◆ Edges

◆ Impl

◆ Vertices

Constructor & Destructor Documentation

◆ RotateShape()

template<typename Shape >
CeresEngine::MeshGenerator::RotateShape< Shape >::RotateShape ( Shape  shape,
double  angle 
)
inline
Parameters
shapeSource data shape.
angleCounterclockwise angle.

Member Function Documentation

◆ edges()

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

◆ vertices()

template<typename Shape >
Vertices CeresEngine::MeshGenerator::RotateShape< Shape >::vertices ( ) const
inlinenoexcept

Member Data Documentation

◆ mTransformShape

template<typename Shape >
Impl CeresEngine::MeshGenerator::RotateShape< Shape >::mTransformShape
private

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