C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2
MbNumericalCharacteristic Class Referencefinal

Numerical characteristic of an object. More...

#include <mb_pmi.h>

+ Inheritance diagram for MbNumericalCharacteristic:
+ Collaboration diagram for MbNumericalCharacteristic:

Public Member Functions

MbeNumericCharacteristicType GetType () const
 Get the type of characteristic.
 
bool IsValueDefined (double &value) const
 Whether the value is defined.
 
bool IsRangeDefined (double &lower, double &upper) const
 Whether the range is defined.
 
bool IsSame (const MbNumericalCharacteristic &to, double accuracy) const
 Are the objects equal.
 
void SetPath (MbCurve3D *inPath)
 Set the curve the measurement is performed along.
 
SPtr< MbCurve3DGetPath () const
 Get the curve the measurement is performed along.
 
SPtr< MbNumericalCharacteristicClone (MbRegDuplicate *=nullptr) const
 Create a copy of an object.
 
- Public Member Functions inherited from MbRefItem
virtual MbeRefType RefType () const
 Registration type (for copying, duplication).
 
refcount_t GetUseCount () const
 Get count of references (get count of owners of an object).
 
refcount_t AddRef () const
 Increase count of references by one.
 
refcount_t DecRef () const
 Decrease count of references by one.
 
refcount_t Release () const
 Decrease count of references by one and if count of references became zero, then remove itself.
 
- Public Member Functions inherited from TapeBase
 TapeBase (RegistrableRec regs=noRegistrable)
 Constructor.
 
 TapeBase (const TapeBase &)
 Copy-constructor.
 
virtual ~TapeBase ()
 Destructor.
 
RegistrableRec GetRegistrable () const
 Whether the stream class is registrable.
 
void SetRegistrable (RegistrableRec regs=registrable) const
 Set the state of registration of the stream class.
 
virtual const char * GetPureName (const VersionContainer &) const
 Get the class name.
 
virtual bool IsFamilyRegistrable () const
 Whether the object belongs to a registrable family.
 

Static Public Member Functions

static SPtr< MbNumericalCharacteristicCreateDimension (MbeNumericCharacteristicType dimensionType, MbValueRange &&rangeValue, std::vector< SPtr< MbCalloutCurve >> &&callouts)
 Create annotation item. More...
 
static SPtr< MbNumericalCharacteristicCreateSurfaceRoughness (MbValueRange &&rangeValue, std::vector< SPtr< MbCalloutCurve >> &&callouts)
 Create surface condition. More...
 
static SPtr< MbNumericalCharacteristicCreateShapeTolerance (MbValueRange &&rangeValue, std::vector< SPtr< MbCalloutCurve >> &&callouts)
 Create shape tolerance. More...
 
static SPtr< MbNumericalCharacteristicCreateCallout (std::vector< SPtr< MbCalloutCurve >> &&callouts)
 Create callouts holder. More...
 

Additional Inherited Members

- Protected Member Functions inherited from MbRefItem
 MbRefItem ()
 Constructor without parameters.
 

Detailed Description

Numerical characteristic of an object.

Group of two or more text items.

Member Function Documentation

◆ CreateDimension()

static SPtr<MbNumericalCharacteristic> MbNumericalCharacteristic::CreateDimension ( MbeNumericCharacteristicType  dimensionType,
MbValueRange &&  rangeValue,
std::vector< SPtr< MbCalloutCurve >> &&  callouts 
)
static

Create annotation item.

Parameters
[in]dimensionType- Type of dimension,
[in]rangeValue- Numerical values,
[in]callouts- Callout lines.
Returns
Numerical value of a linear dimension with bind objects.
Note
.

◆ CreateSurfaceRoughness()

static SPtr<MbNumericalCharacteristic> MbNumericalCharacteristic::CreateSurfaceRoughness ( MbValueRange &&  rangeValue,
std::vector< SPtr< MbCalloutCurve >> &&  callouts 
)
static

Create surface condition.

Parameters
[in]rangeValue- Numerical values,
[in]callouts- Callout lines.
Returns
Numerical value of a linear dimension with bind objects.
Note
.

◆ CreateShapeTolerance()

static SPtr<MbNumericalCharacteristic> MbNumericalCharacteristic::CreateShapeTolerance ( MbValueRange &&  rangeValue,
std::vector< SPtr< MbCalloutCurve >> &&  callouts 
)
static

Create shape tolerance.

Parameters
[in]rangeValue- Numerical values,
[in]callouts- Callout lines.
Returns
Numerical value of a linear dimension with bind objects.
Note
.

◆ CreateCallout()

static SPtr<MbNumericalCharacteristic> MbNumericalCharacteristic::CreateCallout ( std::vector< SPtr< MbCalloutCurve >> &&  callouts)
static

Create callouts holder.

Parameters
[in]callouts- Callout lines.
Returns
Numerical value of the void type.
Note
.

The documentation for this class was generated from the following file: