Top level namespace for all of OpenLB.
Definition of a analytical line embedded in 3D space.
Line3D & parallelTo(const Vector< T, 3 > &direction)
Set the direction of the line parallel to a vector.
Line3D & centeredIn(const Cuboid3D< T > &cuboid)
Center the line relative to the given cuboid.
bool isParallelToZ() const
Line3D & normalTo(const Vector< T, 3 > &normal)
Calculate the direction vector of the line to be orthogonal to the given normal.
Line3D & originAt(const Vector< T, 3 > &origin)
Center the line at the given origin vector.
bool isParallelToX() const
bool isParallelToY() const
efficient implementation of a vector class