|
|
|
PointHit< Point > Class Template ReferenceThis class describes the interaction of a face and a point. It carries the info of a successful hit and (if successful), returns the interaction point. More...
Inheritance diagram for PointHit< Point >:
![]()
Collaboration diagram for PointHit< Point >:
![]()
Detailed Descriptiontemplate<class Point>
This class describes the interaction of a face and a point. It carries the info of a successful hit and (if successful), returns the interaction point.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| PointHit | ( | const Point & | p | ) | [inline] |
| bool hit | ( | ) | const [inline] |
Is there a hit.
Definition at line 104 of file PointHit.H.
Referenced by PrimitivePatch< Face, FaceList, PointField, PointType >::projectFaceCentres(), and PrimitivePatch< Face, FaceList, PointField, PointType >::projectPoints().

| const Point& hitPoint | ( | ) | const [inline] |
| scalar distance | ( | ) | const [inline] |
Return distance to hit.
Definition at line 123 of file PointHit.H.
Referenced by PrimitivePatch< Face, FaceList, PointField, PointType >::projectFaceCentres(), and PrimitivePatch< Face, FaceList, PointField, PointType >::projectPoints().

| const Point& missPoint | ( | ) | const [inline] |
Return miss point.
Definition at line 129 of file PointHit.H.
Referenced by PrimitivePatch< Face, FaceList, PointField, PointType >::projectFaceCentres(), and PrimitivePatch< Face, FaceList, PointField, PointType >::projectPoints().

| const Point& rawPoint | ( | ) | const [inline] |
| bool eligibleMiss | ( | ) | const [inline] |
Is this an eligible miss.
Definition at line 148 of file PointHit.H.
Referenced by PrimitivePatch< Face, FaceList, PointField, PointType >::projectFaceCentres(), and PrimitivePatch< Face, FaceList, PointField, PointType >::projectPoints().

| void setHit | ( | ) | [inline] |
Definition at line 153 of file PointHit.H.
| void setMiss | ( | const bool | eligible | ) | [inline] |
Definition at line 159 of file PointHit.H.
| void setPoint | ( | const Point & | p | ) | [inline] |
Definition at line 165 of file PointHit.H.
| void setDistance | ( | const scalar | d | ) | [inline] |
Definition at line 170 of file PointHit.H.