![]() |
|
Public Member Functions | |
pointHit (const bool hit, const point &p, const scalar dist, const bool eligibleMiss) | |
Construct from components. | |
pointHit (const point &p) | |
Construct from point. Hit and distance set later. | |
bool | hit () const |
Is there a hit. | |
const point & | hitPoint () const |
Return hit point. | |
scalar | distance () const |
Return distance to hit. | |
const point & | missPoint () const |
Return miss point. | |
const point & | rawPoint () const |
Return point with no checking. | |
bool | eligibleMiss () const |
Is this an eligible miss. | |
void | setHit () |
void | setMiss (const bool eligible) |
void | setPoint (const point &p) |
void | setDistance (const scalar d) |
Friends | |
Ostream & | operator<< (Ostream &os, const pointHit &b) |
|
Construct from components.
Definition at line 79 of file pointHit.H. |
|
Construct from point. Hit and distance set later.
Definition at line 93 of file pointHit.H. |
|
Return distance to hit.
Definition at line 124 of file pointHit.H. References FatalErrorIn, and Foam::point. Referenced by pointHitSort::index(), and pointHit::setDistance(). |
|
Is this an eligible miss.
Definition at line 149 of file pointHit.H. |
|
Is there a hit.
Definition at line 105 of file pointHit.H. References FatalErrorIn, and Foam::point. Referenced by pointHit::setDistance(). |
|
Return hit point.
Definition at line 111 of file pointHit.H. |
|
Return miss point.
Definition at line 130 of file pointHit.H. |
|
Return point with no checking.
Definition at line 143 of file pointHit.H. Referenced by pointHit::setDistance(). |
|
Definition at line 171 of file pointHit.H. References pointHit::distance(), pointHit::hit(), and pointHit::rawPoint(). |
Here is the call graph for this function:
|
Definition at line 154 of file pointHit.H. |
|
Definition at line 160 of file pointHit.H. References Foam::point. |
|
Definition at line 166 of file pointHit.H. |
|
Definition at line 179 of file pointHit.H. |