24#ifndef HYPERPLANE_2D_H
25#define HYPERPLANE_2D_H
A regular single 2D cuboid is the basic component of a 2D cuboid structure which defines the grid.
The description of a single 2D cuboid – header file.
Top level namespace for all of OpenLB.
Definition of a analytical line embedded in 2D space.
Hyperplane2D & parallelTo(const Vector< T, 2 > &direction)
Set the direction of the line parallel to a vector.
bool isParallelToY() const
Hyperplane2D & centeredIn(const Cuboid2D< T > &cuboid)
Center the line relative to the given cuboid.
Hyperplane2D & originAt(const Vector< T, 2 > &origin)
Center the line at the given origin vector.
bool isParallelToX() const
Hyperplane2D & normalTo(const Vector< T, 2 > &normal)
Calculate the direction vector of the line to be orthogonal to the given normal.
efficient implementation of a vector class