Hide menu
Loading...
Searching...
No Matches

Defines a plus and minus bounds (deviations) of a tolerance. More...

#include <cadex/PMI/SemanticAttribute.hxx>

Inheritance diagram for cadex::PMI::PlusMinusBoundsAttribute:
cadex::PMI::SemanticAttribute cadex::BaseObject

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.
 
- 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 PlusMinusBoundsAttribute 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

 PlusMinusBoundsAttribute (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
 

Detailed Description

Defines a plus and minus bounds (deviations) of a tolerance.

See also
SemanticAttribute
Examples
exploring/pmi/Program.cs, and exploring/pmi/main.cxx.

Member Function Documentation

◆ LowerBound()

double cadex::PMI::PlusMinusBoundsAttribute::LowerBound ( ) const

Returns lower bound.

Returns 0 by default.

Examples
exploring/pmi/Program.cs, and exploring/pmi/main.cxx.

◆ UpperBound()

double cadex::PMI::PlusMinusBoundsAttribute::UpperBound ( ) const

Returns the upper bound.

Returns 0 by default.

Examples
exploring/pmi/Program.cs, and exploring/pmi/main.cxx.