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

#include <repeat_shape.hpp>

Classes

class  edges_t
 
class  vertices_t
 

Public Member Functions

 repeat_shape_t (shape_t shape, int instances, const gml::dvec2 &delta) noexcept
 
edges_t edges () const noexcept
 
vertices_t vertices () const noexcept
 

Detailed Description

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

Repeats the same shape a given number of time at given intervals.

Definition at line 15 of file repeat_shape.hpp.

Constructor & Destructor Documentation

◆ repeat_shape_t()

template<typename shape_t >
generator::repeat_shape_t< shape_t >::repeat_shape_t ( shape_t shape,
int instances,
const gml::dvec2 & delta )
inlineexplicitnoexcept
Parameters
shapeThe shape to repeat.
instancesNumber of times to repeat. If <1 an empty shape results.
deltaAn offset aplied to each copy.

Definition at line 141 of file repeat_shape.hpp.

Member Function Documentation

◆ edges()

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

Definition at line 149 of file repeat_shape.hpp.

◆ vertices()

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

Definition at line 154 of file repeat_shape.hpp.


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