Go to the documentation of this file.
52 template<
class Po
int>
class PointHit;
132 <<
"requested a hit point for a miss"
151 <<
"requested a miss point for a hit"
176 void setMiss(
const bool eligible)
195 friend Ostream& operator<< <Point>
203 template<
class Po
int>
void setMiss(const bool eligible)
Point hitPoint_
Point of hit; for miss holds best estimate outside the object.
bool hit() const
Is there a hit.
This class describes the interaction of a face and a point. It carries the info of a successful hit a...
PointHit(const Point &p)
Construct from point. Hit and distance set later.
const Point & rawPoint() const
Return point with no checking.
scalar distance() const
Return distance to hit.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
bool eligibleMiss() const
Is this an eligible miss.
void setPoint(const Point &p)
Ostream & operator<<(Ostream &, const edgeMesh &)
errorManip< error > abort(error &err)
PointHit()
Construct null.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const Point & missPoint() const
Return miss point.
bool eligibleMiss_
Eligible miss.
const Point & hitPoint() const
Return hit point.
scalar distance_
Distance to hit point.
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...
void setDistance(const scalar d)