Go to the documentation of this file.
21 #ifndef __infinitePlane_hpp__
22 #define __infinitePlane_hpp__
116 return d >= 0.0 &&
d <= dist;
123 return d < 0.0 &&
d >= -dist;
206 #endif // __infinitePlane_hpp__
realx3 normal_
normal vector
INLINE_FUNCTION_HD real pointFromPlane(const realx3 &p) const
INLINE_FUNCTION_HD infinitePlane(const realx3 &normal, const realx3 &p)
const INLINE_FUNCTION_HD auto & normal() const
INLINE_FUNCTION_HD bool pointInNegativeSide(const realx3 &p) const
INLINE_FUNCTION_HD bool pointOnPlane(const realx3 &p) const
INLINE_FUNCTION_HD bool equal(const box &b1, const box &b2, real tol=smallValue)
FUNCTION_H bool write(iOstream &os) const
FUNCTION_HD infinitePlane & operator=(const infinitePlane &)=default
INLINE_FUNCTION_HD bool parallelTouch(const infinitePlane &pln) const
INLINE_FUNCTION_HD infinitePlane()
Default.
INLINE_FUNCTION_HD T dot(const quadruple< T > &oprnd1, const quadruple< T > &oprnd2)
Interface class for any input stream
INLINE_FUNCTION_HD realx3 projectPoint(const realx3 &p) const
INLINE_FUNCTION_HD bool parallel(const infinitePlane &pln) const
const INLINE_FUNCTION_HD auto & d() const
static bool validPlane3(const realx3 &p1, const realx3 &p2, const realx3 &p3)
INLINE_FUNCTION_HD bool inPositiveDistance(const realx3 &p, real dist) const
INLINE_FUNCTION_HD infinitePlane(const realx3 &normal, const real &d)
From components.
INLINE_FUNCTION_HD bool inNegativeDistance(const realx3 &p, real dist) const
INLINE_FUNCTION_HD bool pointInPositiveSide(const realx3 &p) const
TypeInfoNV("infinitePlane")
#define INLINE_FUNCTION_HD
Interface class for any output stream.