Unravel Engine C++ Reference
Loading...
Searching...
No Matches
generator::any_shape Class Reference

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

#include <any_shape.hpp>

Public Member Functions

template<typename shape_t >
 any_shape (shape_t shape)
 
 any_shape (const any_shape &that)
 
 any_shape (any_shape &&)=default
 
any_shapeoperator= (const any_shape &that)
 
any_shapeoperator= (any_shape &&)=default
 
any_generator< edge_tedges () const noexcept
 
any_generator< shape_vertex_tvertices () const noexcept
 

Detailed Description

A type erasing container that can store any shape.

Definition at line 14 of file any_shape.hpp.

Constructor & Destructor Documentation

◆ any_shape() [1/3]

template<typename shape_t >
generator::any_shape::any_shape ( shape_t shape)
inline

Definition at line 18 of file any_shape.hpp.

◆ any_shape() [2/3]

any_shape::any_shape ( const any_shape & that)

Definition at line 9 of file any_shape.cpp.

◆ any_shape() [3/3]

generator::any_shape::any_shape ( any_shape && )
default

Member Function Documentation

◆ edges()

any_generator< edge_t > any_shape::edges ( ) const
noexcept

Definition at line 19 of file any_shape.cpp.

◆ operator=() [1/2]

any_shape & generator::any_shape::operator= ( any_shape && )
default

◆ operator=() [2/2]

any_shape & any_shape::operator= ( const any_shape & that)

Definition at line 13 of file any_shape.cpp.

◆ vertices()

any_generator< shape_vertex_t > any_shape::vertices ( ) const
noexcept

Definition at line 24 of file any_shape.cpp.


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