Go to the documentation of this file.
7 #ifndef INCLUDE_JET_POINT_GENERATOR2_H_
8 #define INCLUDE_JET_POINT_GENERATOR2_H_
52 const std::function<
bool(
const Vector2D&)>& callback)
const = 0;
60 #endif // INCLUDE_JET_POINT_GENERATOR2_H_
1-D array class.
Definition: array1.h:31
virtual ~PointGenerator2()
virtual void forEachPoint(const BoundingBox2D &boundingBox, double spacing, const std::function< bool(const Vector2D &)> &callback) const =0
Iterates every point within the bounding box with specified point pattern and invokes the callback fu...
Abstract base class for 2-D point generator.
Definition: point_generator2.h:25
Definition: advection_solver2.h:18
2-D vector class.
Definition: vector2.h:24
2-D axis-aligned bounding box class.
Definition: bounding_box2.h:41
std::shared_ptr< PointGenerator2 > PointGenerator2Ptr
Shared pointer for the PointGenerator2 type.
Definition: point_generator2.h:56
void generate(const BoundingBox2D &boundingBox, double spacing, Array1< Vector2D > *points) const