CubbyFlow::GridPointGenerator3 Class Referencefinal

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

#include <Core/PointGenerator/GridPointGenerator3.h>

Inheritance diagram for CubbyFlow::GridPointGenerator3:
CubbyFlow::PointGenerator3

Public Member Functions

void ForEachPoint (const BoundingBox3D &boundingBox, double spacing, const std::function< bool(const Vector3D &)> &callback) const
 Invokes callback function for each regular grid points inside boundingBox. More...
 
- Public Member Functions inherited from CubbyFlow::PointGenerator3
 PointGenerator3 ()
 
virtual ~PointGenerator3 ()
 
void Generate (const BoundingBox3D &boundingBox, double spacing, Array1< Vector3D > *points) const
 

Detailed Description

3-D regular-grid point generator.

Member Function Documentation

◆ ForEachPoint()

void CubbyFlow::GridPointGenerator3::ForEachPoint ( const BoundingBox3D boundingBox,
double  spacing,
const std::function< bool(const Vector3D &)> &  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 CubbyFlow::PointGenerator3.


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