CubbyFlow::TrianglePointGenerator Class Referencefinal
Right triangle point generator. More...
#include <Core/PointGenerator/TrianglePointGenerator.hpp>
Inheritance diagram for CubbyFlow::TrianglePointGenerator:
Public Member Functions | |
void | ForEachPoint (const BoundingBox2D &boundingBox, double spacing, const std::function< bool(const Vector2D &)> &callback) const override |
Invokes callback function for each right triangle points inside boundingBox . More... | |
Public Member Functions inherited from CubbyFlow::PointGenerator2 | |
PointGenerator2 ()=default | |
Default constructor. More... | |
PointGenerator2 (const PointGenerator2 &)=default | |
Default copy constructor. More... | |
PointGenerator2 (PointGenerator2 &&) noexcept=default | |
Default move constructor. More... | |
virtual | ~PointGenerator2 ()=default |
Default virtual destructor. More... | |
PointGenerator2 & | operator= (const PointGenerator2 &)=default |
Default copy assignment operator. More... | |
PointGenerator2 & | operator= (PointGenerator2 &&) noexcept=default |
Default move assignment operator. More... | |
void | Generate (const BoundingBox2D &boundingBox, double spacing, Array1< Vector2D > *points) const |
Detailed Description
Right triangle point generator.
Member Function Documentation
◆ ForEachPoint()
|
overridevirtual |
Invokes callback
function for each right triangle points inside boundingBox
.
This function iterates every right triangle points inside boundingBox
where spacing
is the size of the right triangle structure.
Implements CubbyFlow::PointGenerator2.
The documentation for this class was generated from the following file:
- Core/PointGenerator/TrianglePointGenerator.hpp