Defines a machining allowance and its bound (deviations). More...
#include <cadex/PMI/SemanticAttribute.hxx>
Public Member Functions | |
MachiningAllowanceAttribute () | |
Constructor. | |
MachiningAllowanceAttribute (double theValue) | |
Constructor. | |
MachiningAllowanceAttribute (double theValue, double theUpperBound, double theLowerBound) | |
Constructor. | |
void | SetValue (double theValue) |
Sets the value. | |
double | Value () const |
Returns the machining allowance value. | |
void | SetUpperBound (double theValue) |
Sets the upper bound. | |
double | UpperBound () const |
Returns upper bound. | |
void | SetLowerBound (double theValue) |
Sets the lower bound. | |
double | LowerBound () const |
Returns the 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 MachiningAllowanceAttribute type. | |
![]() | |
static bool | CompareType (const BaseObject &theObject) |
Returns true if theObject has the SemanticAttribute type. | |
Protected Member Functions | |
MachiningAllowanceAttribute (const ImplType &theImpl) | |
![]() | |
SemanticAttribute (const ImplType &theImpl) | |
![]() | |
BaseObject (const ImplType &theImpl) | |
Additional Inherited Members | |
![]() | |
typedef std::shared_ptr< internal::BaseObjectImpl > | ImplType |
Defines a machining allowance and its bound (deviations).
double cadex::PMI::MachiningAllowanceAttribute::LowerBound | ( | ) | const |
Returns the lower bound.
Returns 0 by default.
double cadex::PMI::MachiningAllowanceAttribute::UpperBound | ( | ) | const |
Returns upper bound.
Returns 0 by default.
double cadex::PMI::MachiningAllowanceAttribute::Value | ( | ) | const |
Returns the machining allowance value.
Returns 0 by default.