Go to the documentation of this file.
30 auto ln =
cross(p2-p1, p3-p1);
32 if(
equal(ln.length(),0.0) )
35 "invalid input to form a infinte wall "<<
realx3x3(p1,p2,p3)<<
endl;
39 d_ = -
dot(normal_, p1);
INLINE_FUNCTION_HD triple< T > normalize(const triple< T > &v1)
realx3 normal_
normal vector
#define fatalExit
Fatal exit.
INLINE_FUNCTION_HD bool equal(const box &b1, const box &b2, real tol=smallValue)
FUNCTION_H bool write(iOstream &os) const
iOstream & endl(iOstream &os)
Add newline and flush stream.
INLINE_FUNCTION_HD infinitePlane()
Default.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
INLINE_FUNCTION_HD T dot(const quadruple< T > &oprnd1, const quadruple< T > &oprnd2)
INLINE_FUNCTION_HD triple< T > cross(const triple< T > &v1, const triple< T > &v2)
Interface class for any input stream
#define fatalErrorInFunction
Report a fatal error and function name and exit the application.
INLINE_FUNCTION_HD T length(const triple< T > &v1)
bool nextData(const word &keyword, T &data)
read the data next to keword keyword data; check the keyword is correct or not
triple< realx3 > realx3x3
static bool validPlane3(const realx3 &p1, const realx3 &p2, const realx3 &p3)
Interface class for any output stream.
iOstream & writeWordEntry(const word &key, const T &value)
Write a keyword/value entry.