Open CASCADE Technology
6.9.0
|
This class provides data and criterion for sorting candidate entities in the process of interactive selection by mouse click. More...
#include <SelectMgr_SortCriterion.hxx>
Public Member Functions | |
SelectMgr_SortCriterion () | |
SelectMgr_SortCriterion (const Standard_Integer thePriority, const Standard_Real theDepth, const Standard_Real theMinDist, const Standard_Real theTol, const Standard_Boolean PreferClosest) | |
Defines parameters of selection criterion: More... | |
void | SetPriority (const Standard_Integer P) |
void | SetDepth (const Standard_Real D) |
void | SetMinDist (const Standard_Real D) |
void | SetTol (const Standard_Real T) |
Standard_Integer | Priority () const |
Standard_Real | Depth () const |
Standard_Real | MinDist () const |
Standard_Real | Tol () const |
Standard_Boolean | IsGreater (const SelectMgr_SortCriterion &anOtherCriterion) const |
Standard_Boolean | operator> (const SelectMgr_SortCriterion &anOtherCriterion) const |
Standard_Boolean | IsLower (const SelectMgr_SortCriterion &anOtherCriterion) const |
Standard_Boolean | operator< (const SelectMgr_SortCriterion &anOtherCriterion) const |
This class provides data and criterion for sorting candidate entities in the process of interactive selection by mouse click.
SelectMgr_SortCriterion::SelectMgr_SortCriterion | ( | ) |
SelectMgr_SortCriterion::SelectMgr_SortCriterion | ( | const Standard_Integer | thePriority, |
const Standard_Real | theDepth, | ||
const Standard_Real | theMinDist, | ||
const Standard_Real | theTol, | ||
const Standard_Boolean | PreferClosest | ||
) |
Defines parameters of selection criterion:
Standard_Real SelectMgr_SortCriterion::Depth | ( | ) | const |
Standard_Boolean SelectMgr_SortCriterion::IsGreater | ( | const SelectMgr_SortCriterion & | anOtherCriterion | ) | const |
Standard_Boolean SelectMgr_SortCriterion::IsLower | ( | const SelectMgr_SortCriterion & | anOtherCriterion | ) | const |
Standard_Real SelectMgr_SortCriterion::MinDist | ( | ) | const |
|
inline |
|
inline |
Standard_Integer SelectMgr_SortCriterion::Priority | ( | ) | const |
void SelectMgr_SortCriterion::SetDepth | ( | const Standard_Real | D | ) |
void SelectMgr_SortCriterion::SetMinDist | ( | const Standard_Real | D | ) |
void SelectMgr_SortCriterion::SetPriority | ( | const Standard_Integer | P | ) |
void SelectMgr_SortCriterion::SetTol | ( | const Standard_Real | T | ) |
Standard_Real SelectMgr_SortCriterion::Tol | ( | ) | const |