Jet  v1.3.3
Public Member Functions | List of all members
jet::GridPointGenerator2 Class Referencefinal

2-D regular-grid point generator. More...

#include <jet/grid_point_generator2.h>

Inheritance diagram for jet::GridPointGenerator2:
jet::PointGenerator2

Public Member Functions

void forEachPoint (const BoundingBox2D &boundingBox, double spacing, const std::function< bool(const Vector2D &)> &callback) const
 Invokes callback function for each regular grid points inside boundingBox. More...
 
- Public Member Functions inherited from jet::PointGenerator2
 PointGenerator2 ()
 
virtual ~PointGenerator2 ()
 
void generate (const BoundingBox2D &boundingBox, double spacing, Array1< Vector2D > *points) const
 

Detailed Description

2-D regular-grid point generator.

Member Function Documentation

◆ forEachPoint()

void jet::GridPointGenerator2::forEachPoint ( const BoundingBox2D boundingBox,
double  spacing,
const std::function< bool(const Vector2D &)> &  callback 
) const
virtual

Invokes callback function for each regular grid points inside boundingBox.

This function iterates every regular grid points inside boundingBox where spacing is the size of the unit cell of regular grid structure.

Implements jet::PointGenerator2.


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