153 const char *
const caller,
154 const bool notTest =
true 164 const char *
const caller
169 void calcFromEmbeddedPoints
174 const char *
const caller
193 const point& originPoint,
194 const vector& normalVector,
195 const bool doNormalise =
true 260 template<
class Po
intType,
class Po
intRef>
294 inline int sign(
const point&
p,
const scalar tol = SMALL)
const;
A reference point and direction.
A 1D vector of objects of type <T> with a fixed length <N>.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
scalar signedDistance(const point &p) const
Return distance from the given point to the plane.
void flip()
Flip the plane by reversing the normal.
const point & refPoint() const noexcept
Return the reference point.
The back (negative normal) side of the plane.
point nearestPoint(const point &p) const
Return nearest point in the plane for the given point.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
side sideOfPlane(const point &p) const
Same as whichSide()
const vector & dir() const noexcept
Return the direction.
Geometric class that creates a 3D plane and can return the intersection point between a line and the ...
The front (positive normal) side of the plane.
bool operator<(const IOstreamOption::versionNumber &a, const IOstreamOption::versionNumber &b) noexcept
Version A older than B.
scalar lineIntersect(const line< PointType, PointRef > &l) const
Return the cutting point between the plane and a line passing through the supplied points...
const point & origin() const noexcept
The plane base point.
scalar normalIntersect(const point &pnt0, const vector &dir) const
Return cut coefficient for plane and line defined by origin and direction.
const dimensionedScalar e
Elementary charge.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
scalar distance(const point &p) const
Return distance (magnitude) from the given point to the plane.
void writeDict(Ostream &os) const
Write to dictionary.
side whichSide(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)
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
plane()
Construct zero-initialised.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
OBJstream os(runTime.globalPath()/outputName)
point mirror(const point &p) const
Mirror the supplied point in the plane. Return the mirrored point.
Point vec() const
Return start-to-end vector.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
int sign(const point &p, const scalar tol=SMALL) const
The sign for the side of the plane that the point is on.
const dimensionedScalar c
Speed of light in a vacuum.
ray planeIntersect(const plane &plane2) const
Return the cutting line between this plane and another.
point somePointInPlane(const scalar dist=1e-3) const
Return a point somewhere on the plane, a distance from the base.
bool operator!=(const eddy &a, const eddy &b)
ray(const point &p, const vector &dir)
Construct from reference point and direction.
FixedList< scalar, 4 > planeCoeffs() const
Return coefficients for the plane equation: ax + by + cz + d = 0.
PointRef start() const noexcept
The start (first) point.
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
point planePlaneIntersect(const plane &plane2, const plane &plane3) const
Return the cutting point between this plane and two other planes.
const vector & normal() const noexcept
The plane unit normal.