40 #ifndef implicitFunction_planeImplicitFunction_H 41 #define implicitFunction_planeImplicitFunction_H 51 namespace implicitFunctions
94 return -normal_ & (origin_ -
p);
106 return mag((
p - origin_) & -normal_);
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
planeImplicitFunction(const vector &origin, const vector &normal)
Construct from components.
virtual vector grad(const vector &p) const
TypeName("plane")
Runtime type information.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
virtual scalar value(const vector &p) const
virtual ~planeImplicitFunction()=default
Destructor.
Base class for implicit functions.
virtual scalar distanceToSurfaces(const vector &p) const