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. | |
Public Member Functions inherited from cadex::PMI::SemanticAttribute | |
| void | Accept (SemanticAttributeVisitor &theVisitor) const |
Public Member Functions inherited from cadex::BaseObject | |
| 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 Public Member Functions inherited from cadex::PMI::SemanticAttribute | |
| static bool | CompareType (const BaseObject &theObject) |
| Returns true if theObject has the SemanticAttribute type. | |
Protected Member Functions | |
| MachiningAllowanceAttribute (const ImplType &theImpl) | |
Protected Member Functions inherited from cadex::PMI::SemanticAttribute | |
| SemanticAttribute (const ImplType &theImpl) | |
Protected Member Functions inherited from cadex::BaseObject | |
| BaseObject (const ImplType &theImpl) | |
Additional Inherited Members | |
Public Types inherited from cadex::BaseObject | |
| 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.