65 return p - normal_*((
p - origin_) & normal_);
71 return mag(signedDistance(
p));
77 return ((
p - origin_) & normal_);
83 const scalar dist = signedDistance(
p);
85 return (dist < 0 ? BACK : FRONT);
91 const scalar dist = signedDistance(
p);
93 return ((dist < -tol) ? -1 : (dist > tol) ? +1 : 0);
113 return (a.
origin() <
b.origin());
friend complex sign(const complex &c)
sgn() https://en.wikipedia.org/wiki/Sign_function#Complex_signum
Geometric class that creates a 3D plane and can return the intersection point between a line and the ...
plane()
Construct zero-initialised.
const point & origin() const noexcept
The plane base point.
void flip()
Flip the plane by reversing the normal.
side sideOfPlane(const point &p) const
Return the side of the plane that the point is on.
const vector & normal() const noexcept
The plane unit normal.
point nearestPoint(const point &p) const
Return nearest point in the plane for the given point.
scalar signedDistance(const point &p) const
Return distance from the given point to the plane.
bool operator!=(const eddy &a, const eddy &b)
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
bool operator<(const IOstreamOption::versionNumber &a, const IOstreamOption::versionNumber &b) noexcept
Version A older than B.