Defines a plus and minus bounds (deviations) of a tolerance. More...
#include <cadex/PMI/SemanticAttribute.hxx>
Public Member Functions | |
PlusMinusBoundsAttribute () | |
Constructor. | |
PlusMinusBoundsAttribute (double theLowerBound, double theUpperBound) | |
Constructor. | |
void | SetUpperBound (double theValue) |
Sets the upper bound. | |
double | UpperBound () const |
Returns the upper bound. | |
void | SetLowerBound (double theValue) |
Sets the lower bound. | |
double | LowerBound () const |
Returns lower bound. | |
![]() | |
void | Accept (SemanticAttributeVisitor &theVisitor) const |
![]() | |
size_t | Id () const |
Return unique identifier of public object. | |
internal::BaseObjectImpl * | Impl () const |
bool | IsNull () const |
operator bool () const | |
template<typename T > | |
bool | IsOfType () const |
template<typename T > | |
T * | Impl () const |
Reserved for internal use. | |
Static Public Member Functions | |
static bool | CompareType (const BaseObject &theObject) |
Returns true if theObject has the PlusMinusBoundsAttribute type. | |
![]() | |
static bool | CompareType (const BaseObject &theObject) |
Returns true if theObject has the SemanticAttribute type. | |
Protected Member Functions | |
PlusMinusBoundsAttribute (const ImplType &theImpl) | |
![]() | |
SemanticAttribute (const ImplType &theImpl) | |
![]() | |
BaseObject (const ImplType &theImpl) | |
Additional Inherited Members | |
![]() | |
typedef std::shared_ptr< internal::BaseObjectImpl > | ImplType |
Defines a plus and minus bounds (deviations) of a tolerance.
double cadex::PMI::PlusMinusBoundsAttribute::LowerBound | ( | ) | const |
Returns lower bound.
Returns 0 by default.
double cadex::PMI::PlusMinusBoundsAttribute::UpperBound | ( | ) | const |
Returns the upper bound.
Returns 0 by default.