152 const char *
const caller,
153 const bool notTest =
true
163 const char *
const caller
168 void calcFromEmbeddedPoints
173 const char *
const caller
192 const point& originPoint,
193 const vector& normalVector,
194 const bool doNormalise =
true
259 template<
class Po
int,
class Po
intRef>
290 inline int sign(
const point&
p,
const scalar tol = SMALL)
const;
315inline bool operator==(
const plane& a,
const plane&
b);
318inline bool operator!=(
const plane& a,
const plane&
b);
321inline bool operator<(
const plane& a,
const plane&
b);
A 1D vector of objects of type <T> with a fixed length <N>.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
PointRef start() const noexcept
Return first point.
Point vec() const
Return start-to-end vector.
A reference point and direction.
const point & refPoint() const noexcept
const vector & dir() const noexcept
ray(const point &pt, const vector &dir)
Geometric class that creates a 3D plane and can return the intersection point between a line and the ...
plane()
Construct zero-initialised.
point mirror(const point &p) const
Mirror the supplied point in the plane. Return the mirrored point.
FixedList< scalar, 4 > planeCoeffs() const
const point & origin() const noexcept
The plane base point.
void flip()
Flip the plane by reversing the normal.
scalar normalIntersect(const point &pnt0, const vector &dir) const
side sideOfPlane(const point &p) const
Return the side of the plane that the point is on.
const point & refPoint() const noexcept
The plane base point (same as origin)
point planePlaneIntersect(const plane &plane2, const plane &plane3) const
Return the cutting point between this plane and two other planes.
ray planeIntersect(const plane &plane2) const
Return the cutting line between this plane and another.
scalar distance(const point &p) const
Return distance (magnitude) from the given point to the plane.
const vector & normal() const noexcept
The plane unit normal.
point somePointInPlane(const scalar dist=1e-3) const
Return a point somewhere on the plane, a distance from the base.
void writeDict(Ostream &os) const
Write to dictionary.
scalar lineIntersect(const line< Point, PointRef > &l) const
Return the cutting point between the plane and.
point nearestPoint(const point &p) const
Return nearest point in the plane for the given point.
int sign(const point &p, const scalar tol=SMALL) const
The sign for the side of the plane that the point is on.
scalar signedDistance(const point &p) const
Return distance from the given point to the plane.
@ FRONT
The front (positive normal) side of the plane.
@ BACK
The back (negative normal) side of the plane.
OBJstream os(runTime.globalPath()/outputName)
bool operator!=(const eddy &a, const eddy &b)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
bool operator<(const IOstreamOption::versionNumber &a, const IOstreamOption::versionNumber &b) noexcept
Version A older than B.