C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

Curve with terminators. More...

#include <mb_pmi.h>

+ Inheritance diagram for MbCalloutCurve:
+ Collaboration diagram for MbCalloutCurve:

Public Member Functions

 MbCalloutCurve (MbeCalloutCurveType curveType, SPtr< MbCurve > curveToObject, const std::vector< SPtr< MbTerminator >> &terminators, SPtr< MbTopologyItem > objectCalloutTo)
 Constructor. More...
 
SPtr< MbCurveGetCurve () const
 Get callout curve. More...
 
size_t TerminatorsCount () const
 Get count of terminators. More...
 
SPtr< MbTerminatorGetTerminator (size_t index) const
 Get terminator by index. More...
 
MbeCalloutCurveType GetCurveType () const
 Get type of callout curve. More...
 
SPtr< MbCalloutCurveClone (MbRegDuplicate *=nullptr) const
 Create a copy of an object.
 
bool IsSame (const MbCalloutCurve &to, double accuracy) const
 Are the objects equal.
 
- 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.
 

Additional Inherited Members

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

Detailed Description

Curve with terminators.

Can have reference to the characterized object.

Constructor & Destructor Documentation

◆ MbCalloutCurve()

MbCalloutCurve::MbCalloutCurve ( MbeCalloutCurveType  curveType,
SPtr< MbCurve curveToObject,
const std::vector< SPtr< MbTerminator >> &  terminators,
SPtr< MbTopologyItem objectCalloutTo 
)

Constructor.

Parameters
[in]curveType- Callout type,
[in]curveToObject- Callout curve.
[in]terminators- Terminators,
[in]objectCalloutTo- Charactrrized object.

Member Function Documentation

◆ GetCurve()

SPtr<MbCurve> MbCalloutCurve::GetCurve ( ) const

Get callout curve.

Returns
Callout curve.

◆ TerminatorsCount()

size_t MbCalloutCurve::TerminatorsCount ( ) const

Get count of terminators.

Returns
Count of terminators.

◆ GetTerminator()

SPtr<MbTerminator> MbCalloutCurve::GetTerminator ( size_t  index) const

Get terminator by index.

Returns
Terminator at the index if the index less than count, null pointer otherwise.

◆ GetCurveType()

MbeCalloutCurveType MbCalloutCurve::GetCurveType ( ) const

Get type of callout curve.

Returns
Type of callout curve.

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