Go to the documentation of this file.
54 template<
class Po
int>
class PointHit;
136 <<
"requested a hit point for a miss"
155 <<
"requested a miss point for a hit"
171 return eligibleMiss_;
179 eligibleMiss_ =
false;
182 void setMiss(
const bool eligible)
185 eligibleMiss_ = eligible;
201 friend Ostream& operator<< <Point>
209 template<
class Po
int>
void setMiss(const bool eligible)
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...
static constexpr const zero Zero
Global zero.
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)
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.
const Point & hitPoint() const
Return hit point.
Ostream & operator<<(Ostream &, const boundaryPatch &)
void setDistance(const scalar d)