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 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
The start (first) point.
Point vec() const
Return start-to-end vector.
A reference point and direction.
const point & refPoint() const noexcept
Return the reference point.
const vector & dir() const noexcept
Return the direction.
ray(const point &p, const vector &dir)
Construct from reference point and direction.
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
Return coefficients for the plane equation: ax + by + cz + d = 0.
const point & origin() const noexcept
The plane base point.
scalar lineIntersect(const line< PointType, PointRef > &l) const
Return the cutting point between the plane and a line passing through the supplied points.
void flip()
Flip the plane by reversing the normal.
scalar normalIntersect(const point &pnt0, const vector &dir) const
Return cut coefficient for plane and line defined by origin and direction.
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.
side whichSide(const point &p) const
Return the side of the plane that the point is on.
void writeDict(Ostream &os) const
Write to dictionary.
point nearestPoint(const point &p) const
Return nearest point in the plane for the given point.
side sideOfPlane(const point &p) const
Same as whichSide().
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)
scalar distance(const vector &p1, const vector &p2)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces).
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
vector point
Point is a vector.
bool operator<(const IOstreamOption::versionNumber &a, const IOstreamOption::versionNumber &b) noexcept
Version A older than B.