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

Body-centered lattice points generator. More...

#include <jet/bcc_lattice_point_generator.h>

Inheritance diagram for jet::BccLatticePointGenerator:
jet::PointGenerator3

Public Member Functions

void forEachPoint (const BoundingBox3D &boundingBox, double spacing, const std::function< bool(const Vector3D &)> &callback) const override
 Invokes callback function for each BCC-lattice points inside boundingBox. More...
 
- Public Member Functions inherited from jet::PointGenerator3
 PointGenerator3 ()
 
virtual ~PointGenerator3 ()
 
void generate (const BoundingBox3D &boundingBox, double spacing, Array1< Vector3D > *points) const
 

Detailed Description

Body-centered lattice points generator.

See also
http://en.wikipedia.org/wiki/Cubic_crystal_system http://mathworld.wolfram.com/CubicClosePacking.html

Member Function Documentation

◆ forEachPoint()

void jet::BccLatticePointGenerator::forEachPoint ( const BoundingBox3D boundingBox,
double  spacing,
const std::function< bool(const Vector3D &)> &  callback 
) const
overridevirtual

Invokes callback function for each BCC-lattice points inside boundingBox.

This function iterates every BCC-lattice points inside boundingBox where spacing is the size of the unit cell of BCC structure.

Implements jet::PointGenerator3.


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