Go to the documentation of this file.
147 const char *
const caller,
148 const bool notTest =
true
158 const char *
const caller
163 void calcFromEmbeddedPoints
168 const char *
const caller
187 const point& originPoint,
188 const vector& normalVector,
189 const bool doNormalise =
true
257 template<
class Po
int,
class Po
intRef>
288 inline int sign(
const point&
p,
const scalar tol = SMALL)
const;
307 inline bool operator==(
const plane& a,
const plane&
b);
310 inline bool operator!=(
const plane& a,
const plane&
b);
313 inline bool operator<(
const plane& a,
const plane&
b);
scalar distance(const point &p) const
Return distance (magnitude) from the given point to the plane.
point planePlaneIntersect(const plane &plane2, const plane &plane3) const
Return the cutting point between this plane and two other planes.
const vector & normal() const
The plane unit normal.
void writeDict(Ostream &os) const
Write to dictionary.
point nearestPoint(const point &p) const
Return nearest point in the plane for the given point.
const vector & dir() const
PointRef start() const noexcept
Return first point.
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 ...
bool operator!=(const eddy &a, const eddy &b)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
scalar normalIntersect(const ray &r) const
Return cut coefficient for plane and ray.
int sign(const point &p, const scalar tol=SMALL) const
The sign for the side of the plane that the point is on.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
scalar signedDistance(const point &p) const
Return distance from the given point to the plane.
void flip()
Flip the plane by reversing the normal.
FixedList< scalar, 4 > planeCoeffs() const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
scalar lineIntersect(const line< Point, PointRef > &l) const
Return the cutting point between the plane and.
OBJstream os(runTime.globalPath()/outputName)
A reference point and direction.
const point & origin() const
The plane base point.
ray planeIntersect(const plane &plane2) const
Return the cutting line between this plane and another.
The back (negative normal) side of the plane.
A 1D vector of objects of type <T> with a fixed length <N>.
const dimensionedScalar e
Elementary charge.
const point & refPoint() const
The plane base point (same as origin)
const point & refPoint() const
const dimensionedScalar c
Speed of light in a vacuum.
The front (positive normal) side of the plane.
bool operator<(const IOstreamOption::versionNumber &a, const IOstreamOption::versionNumber &b) noexcept
Version A older than B.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
side sideOfPlane(const point &p) const
Return the side of the plane that the point is on.
scalar normalIntersect(const point &pnt0, const vector &dir) const
plane()
Construct zero-initialised.
Point vec() const
Return start-to-end vector.
point somePointInPlane(const scalar dist=1e-3) const
Return a point somewhere on the plane, a distance from the base.
point mirror(const point &p) const
Mirror the supplied point in the plane. Return the mirrored point.