Unravel Engine C++ Reference
Loading...
Searching...
No Matches
generator::rotate_shape_t< shape_t > Class Template Reference

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

#include <rotate_shape.hpp>

Public Types

using edges_t = typename impl_t::edges_t
 
using vertices_t = typename impl_t::vertices_t
 

Public Member Functions

 rotate_shape_t (shape_t shape, double angle)
 
edges_t edges () const noexcept
 
vertices_t vertices () const noexcept
 

Detailed Description

template<typename shape_t>
class generator::rotate_shape_t< shape_t >

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

Definition at line 11 of file rotate_shape.hpp.

Member Typedef Documentation

◆ edges_t

template<typename shape_t >
using generator::rotate_shape_t< shape_t >::edges_t = typename impl_t::edges_t

Definition at line 31 of file rotate_shape.hpp.

◆ vertices_t

template<typename shape_t >
using generator::rotate_shape_t< shape_t >::vertices_t = typename impl_t::vertices_t

Definition at line 38 of file rotate_shape.hpp.

Constructor & Destructor Documentation

◆ rotate_shape_t()

template<typename shape_t >
generator::rotate_shape_t< shape_t >::rotate_shape_t ( shape_t shape,
double angle )
inline
Parameters
shapeSource data shape.
angleCounterclockwise angle.

Definition at line 20 of file rotate_shape.hpp.

Member Function Documentation

◆ edges()

template<typename shape_t >
edges_t generator::rotate_shape_t< shape_t >::edges ( ) const
inlinenoexcept

Definition at line 33 of file rotate_shape.hpp.

◆ vertices()

template<typename shape_t >
vertices_t generator::rotate_shape_t< shape_t >::vertices ( ) const
inlinenoexcept

Definition at line 40 of file rotate_shape.hpp.


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