#include <selectable.h>
Public Member Functions | |
SelectionIntersection () | |
SelectionIntersection (float depth, float distance) | |
bool | operator< (const SelectionIntersection &other) const |
bool | equalEpsilon (const SelectionIntersection &other, float distanceEpsilon, float depthEpsilon) const |
float | depth () const |
bool | valid () const |
Private Attributes | |
float | m_depth |
float | m_distance |
Definition at line 31 of file selectable.h.
SelectionIntersection::SelectionIntersection | ( | ) | [inline] |
Definition at line 36 of file selectable.h.
SelectionIntersection::SelectionIntersection | ( | float | depth, | |
float | distance | |||
) | [inline] |
Definition at line 40 of file selectable.h.
float SelectionIntersection::depth | ( | ) | const [inline] |
bool SelectionIntersection::equalEpsilon | ( | const SelectionIntersection & | other, | |
float | distanceEpsilon, | |||
float | depthEpsilon | |||
) | const [inline] |
Definition at line 54 of file selectable.h.
References float_equal_epsilon(), m_depth, and m_distance.
bool SelectionIntersection::operator< | ( | const SelectionIntersection & | other | ) | const [inline] |
Definition at line 44 of file selectable.h.
References m_depth, and m_distance.
bool SelectionIntersection::valid | ( | ) | const [inline] |
Definition at line 63 of file selectable.h.
References depth().
Referenced by SelectionPool::addSelectable(), ControlPoint_testSelect(), BrushInstance::testSelect(), VertexInstance::testSelect(), EdgeInstance::testSelect(), FaceInstance::testSelect(), and FaceInstance::testSelect_centroid().
float SelectionIntersection::m_depth [private] |
Definition at line 33 of file selectable.h.
Referenced by depth(), equalEpsilon(), and operator<().
float SelectionIntersection::m_distance [private] |
Definition at line 34 of file selectable.h.
Referenced by equalEpsilon(), and operator<().