|
Open CASCADE Technology
7.4.0
|
This structure provides unified access to the results of Matches() method in all sensitive entities, so that it defines a Depth (distance to the entity along picking ray) and a closest Point on entity. More...
#include <SelectBasics_PickResult.hxx>
Public Member Functions | |
| SelectBasics_PickResult () | |
| Empty constructor defining an invalid result. More... | |
| SelectBasics_PickResult (Standard_Real theDepth, Standard_Real theDistToCenter, const gp_Pnt &theObjPickedPnt) | |
| Constructor with initialization. More... | |
| Standard_Boolean | IsValid () const |
| Return TRUE if result was been defined. More... | |
| void | Invalidate () |
| Reset depth value. More... | |
| Standard_Real | Depth () const |
| Return depth along picking ray. More... | |
| void | SetDepth (Standard_Real theDepth) |
| Set depth along picking ray. More... | |
| Standard_Boolean | HasPickedPoint () const |
| Return TRUE if Picked Point lying on detected entity was set. More... | |
| const gp_Pnt & | PickedPoint () const |
| Return picked point lying on detected entity. WARNING! Point is defined in local coordinate system and should be translated into World System before usage! More... | |
| void | SetPickedPoint (const gp_Pnt &theObjPickedPnt) |
| Set picked point. More... | |
| Standard_Real | DistToGeomCenter () const |
| Return distance to geometry center (auxiliary value for comparing results). More... | |
| void | SetDistToGeomCenter (Standard_Real theDistToCenter) |
| Set distance to geometry center. More... | |
Static Public Member Functions | |
| static const SelectBasics_PickResult & | Min (const SelectBasics_PickResult &thePickResult1, const SelectBasics_PickResult &thePickResult2) |
| Return closest result between two Pick Results according to Depth value. More... | |
This structure provides unified access to the results of Matches() method in all sensitive entities, so that it defines a Depth (distance to the entity along picking ray) and a closest Point on entity.
|
inline |
Empty constructor defining an invalid result.
|
inline |
Constructor with initialization.
|
inline |
Return depth along picking ray.
|
inline |
Return distance to geometry center (auxiliary value for comparing results).
|
inline |
Return TRUE if Picked Point lying on detected entity was set.
|
inline |
Reset depth value.
|
inline |
Return TRUE if result was been defined.
|
inlinestatic |
Return closest result between two Pick Results according to Depth value.
|
inline |
Return picked point lying on detected entity. WARNING! Point is defined in local coordinate system and should be translated into World System before usage!
|
inline |
Set depth along picking ray.
|
inline |
Set distance to geometry center.
|
inline |
Set picked point.
1.8.13