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

A type erasing container that can store any shape. More...

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

Classes

class  Base
 
class  Derived
 

Public Member Functions

template<typename Shape >
 AnyShape (Shape shape)
 
 AnyShape (const AnyShape &that)
 
 AnyShape (AnyShape &&)=default
 
AnyShapeoperator= (const AnyShape &that)
 
AnyShapeoperator= (AnyShape &&)=default
 
AnyGenerator< Edgeedges () const noexcept
 
AnyGenerator< ShapeVertexvertices () const noexcept
 

Private Attributes

UPtr< BasemBase
 

Detailed Description

A type erasing container that can store any shape.

Constructor & Destructor Documentation

◆ AnyShape() [1/3]

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

◆ AnyShape() [2/3]

CeresEngine::MeshGenerator::AnyShape::AnyShape ( const AnyShape that)

◆ AnyShape() [3/3]

CeresEngine::MeshGenerator::AnyShape::AnyShape ( AnyShape &&  )
default

Member Function Documentation

◆ edges()

AnyGenerator< Edge > CeresEngine::MeshGenerator::AnyShape::edges ( ) const
noexcept

◆ operator=() [1/2]

AnyShape & CeresEngine::MeshGenerator::AnyShape::operator= ( AnyShape &&  )
default

◆ operator=() [2/2]

AnyShape & CeresEngine::MeshGenerator::AnyShape::operator= ( const AnyShape that)

◆ vertices()

AnyGenerator< ShapeVertex > CeresEngine::MeshGenerator::AnyShape::vertices ( ) const
noexcept

Member Data Documentation

◆ mBase

UPtr<Base> CeresEngine::MeshGenerator::AnyShape::mBase
private

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