Open CASCADE Technology
6.5.4
|
This class provides data and criterion for sorting candidate
entities in the process of interactive selection by mouse click
#include <SelectMgr_SortCriterion.hxx>
Public Member Functions | |
DEFINE_STANDARD_ALLOC | 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: | |
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 |
SelectMgr_SortCriterion::SelectMgr_SortCriterion | ( | const Standard_Integer | thePriority, |
const Standard_Real | theDepth, | ||
const Standard_Real | theMinDist, | ||
const Standard_Real | theTol, | ||
const Standard_Boolean | PreferClosest | ||
) |
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_Boolean SelectMgr_SortCriterion::operator< | ( | const SelectMgr_SortCriterion & | anOtherCriterion | ) | const [inline] |
Standard_Boolean SelectMgr_SortCriterion::operator> | ( | const SelectMgr_SortCriterion & | anOtherCriterion | ) | const [inline] |
Standard_Real SelectMgr_SortCriterion::Tol | ( | ) | const |