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

#include <repeat_path.hpp>

Classes

class  edges_t
 
class  vertices_t
 

Public Member Functions

 repeat_path_t (path_t path, int instances, const gml::dvec3 &delta) noexcept
 
edges_t edges () const noexcept
 
vertices_t vertices () const noexcept
 

Detailed Description

template<typename path_t>
class generator::repeat_path_t< path_t >

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

Definition at line 15 of file repeat_path.hpp.

Constructor & Destructor Documentation

◆ repeat_path_t()

template<typename path_t >
generator::repeat_path_t< path_t >::repeat_path_t ( path_t path,
int instances,
const gml::dvec3 & delta )
inlineexplicitnoexcept
Parameters
pathThe path to repeat.
instancesNumber of times to repeat. If <1 an empty path results.
deltaAn offset aplied to each copy.

Definition at line 128 of file repeat_path.hpp.

Member Function Documentation

◆ edges()

template<typename path_t >
edges_t generator::repeat_path_t< path_t >::edges ( ) const
inlinenoexcept

Definition at line 136 of file repeat_path.hpp.

◆ vertices()

template<typename path_t >
vertices_t generator::repeat_path_t< path_t >::vertices ( ) const
inlinenoexcept

Definition at line 141 of file repeat_path.hpp.


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