52 template<
class Po
int>
class PointHit;
55 inline Ostream& operator<<(Ostream&, const PointHit<Point>&);
105 eligibleMiss_(eligibleMiss)
132 <<
"requested a hit point for a miss" 151 <<
"requested a miss point for a hit" 167 return eligibleMiss_;
173 eligibleMiss_ =
false;
176 void setMiss(
const bool eligible)
179 eligibleMiss_ = eligible;
195 friend Ostream& operator<< <Point>
203 template<
class Po
int>
204 inline Ostream& operator<<(Ostream& os, const PointHit<Point>&
b)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
PointHit()
Construct null.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m K].
const Point & missPoint() const
Return miss point.
void setDistance(const scalar d)
const Point & hitPoint() const
Return hit point.
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...
errorManip< error > abort(error &err)
void setMiss(const bool eligible)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
const Point & rawPoint() const
Return point with no checking.
scalar distance() const
Return distance to hit.
bool eligibleMiss() const
Is this an eligible miss.
void setPoint(const Point &p)