decltype(std::declval< const Primitive * >() ->edges()) Type
Definition Utility.hpp:25
Definition PathVertex.hpp:14
Definition RepeatPath.hpp:20
EdgeGeneratorType< Path >::Type mEdges
Definition RepeatPath.hpp:43
bool done() const noexcept
Definition RepeatPath.hpp:22
void next() noexcept
Definition RepeatPath.hpp:30
Edge generate() const
Definition RepeatPath.hpp:24
const RepeatPath * mRepeatPath
Definition RepeatPath.hpp:41
Edges(const RepeatPath *repeatPath) noexcept
Definition RepeatPath.hpp:47
int mDelta
Definition RepeatPath.hpp:45
int mIndex
Definition RepeatPath.hpp:44
Definition RepeatPath.hpp:53
int countVertices() const noexcept
Definition RepeatPath.hpp:83
int mIndex
Definition RepeatPath.hpp:80
VertexGeneratorType< Path >::Type mVertices
Definition RepeatPath.hpp:79
bool done() const noexcept
Definition RepeatPath.hpp:55
Vertices(const RepeatPath *repeatPath)
Definition RepeatPath.hpp:74
Vector3 mDelta
Definition RepeatPath.hpp:81
PathVertex generate() const
Definition RepeatPath.hpp:57
friend int count(const Vertices &generator) noexcept
Definition RepeatPath.hpp:90
const RepeatPath * mRepeatPath
Definition RepeatPath.hpp:78
void next()
Definition RepeatPath.hpp:63
Repeats the same path a given number of time at given intervals.
Definition RepeatPath.hpp:18
Vertices vertices() const noexcept
Definition RepeatPath.hpp:102
int mInstances
Definition RepeatPath.hpp:106
Vector3 mDelta
Definition RepeatPath.hpp:107
int mVertexCount
Definition RepeatPath.hpp:108
Path mPath
Definition RepeatPath.hpp:105
RepeatPath(Path path, const int instances, const Vector3 &delta) noexcept
Definition RepeatPath.hpp:98
Edges edges() const noexcept
Definition RepeatPath.hpp:101
decltype(std::declval< const Primitive * >() ->vertices()) Type
Definition Utility.hpp:39
Definition AnyGenerator.hpp:12
RepeatPath< Path > repeatPath(Path path, int instances, const Vector3 &delta) noexcept
Definition RepeatPath.hpp:111
constexpr CountAlgorithmFunctor count
Returns the number of elements matching an element.
Definition Count.hpp:82
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25