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

Describes a feature with assigned shape. More...

Inheritance diagram for cadex::MTKBase_ShapeFeature:
cadex::MTKBase_Feature cadex::MTKBase_Boss cadex::MTKBase_Hole cadex::Machining_Bore cadex::Machining_Countersink cadex::Machining_Face cadex::Machining_Groove cadex::Machining_Pocket cadex::Molding_Rib cadex::SheetMetal_Bead cadex::SheetMetal_Bend cadex::SheetMetal_Bridge cadex::SheetMetal_Cutout cadex::SheetMetal_FormingFeature cadex::SheetMetal_Louver cadex::SheetMetal_Notch cadex::SheetMetal_Tab

Public Types

typedef cadex::internal::MTKBaseImpl_ShapeFeature ImplType
 
typedef std::shared_ptr< ImplType > ImplPtrType
 
- Public Types inherited from cadex::MTKBase_Feature
typedef cadex::internal::MTKBaseImpl_Feature ImplType
 
typedef std::shared_ptr< ImplType > ImplPtrType
 

Public Member Functions

 MTKBase_ShapeFeature ()
 Constructor.
 
 MTKBase_ShapeFeature (const ModelData::Shape &theShape)
 Constructor.
 
const ModelData::ShapeShape () const
 Returns shape of the feature.
 
void SetShape (const ModelData::Shape &theShape)
 Sets shape of the feature.
 
- Public Member Functions inherited from cadex::MTKBase_Feature
 MTKBase_Feature ()
 Constructor.
 
 ~MTKBase_Feature ()
 Destructor.
 
void Nullify ()
 Resets reference to implementation object.
 
bool IsNull () const
 Returns true if the object is nullified.
 
 operator bool () const
 Casts the object to the bool type.
 
template<typename T >
bool IsOfType () const
 
ImplType * Impl () const
 
template<typename T >
T * Impl () const
 Reserved for internal use.
 
bool operator== (const MTKBase_Feature &theObject) const
 
bool operator!= (const MTKBase_Feature &theObject) const
 

Static Public Member Functions

static bool CompareType (const MTKBase_Feature &theFeature)
 Returnstrue if theFeature is a shape feature.
 

Protected Member Functions

 MTKBase_ShapeFeature (ImplPtrType theImpl)
 Reserved for internal use.
 
- Protected Member Functions inherited from cadex::MTKBase_Feature
 MTKBase_Feature (ImplPtrType theImpl)
 Reserved for internal use.
 

Additional Inherited Members

- Protected Attributes inherited from cadex::MTKBase_Feature
ImplPtrType myImpl
 

Detailed Description

Describes a feature with assigned shape.

Contains shape of the feature. The shape can be any of described here and can be received by Shape() method.

Constructor & Destructor Documentation

◆ MTKBase_ShapeFeature() [1/3]

cadex::MTKBase_ShapeFeature::MTKBase_ShapeFeature ( )

Constructor.

◆ MTKBase_ShapeFeature() [2/3]

cadex::MTKBase_ShapeFeature::MTKBase_ShapeFeature ( const ModelData::Shape & theShape)

Constructor.

Creates a feature from a ModelData::Shape object.

◆ MTKBase_ShapeFeature() [3/3]

cadex::MTKBase_ShapeFeature::MTKBase_ShapeFeature ( ImplPtrType theImpl)
explicitprotected

Reserved for internal use.

Member Function Documentation

◆ CompareType()

bool cadex::MTKBase_ShapeFeature::CompareType ( const MTKBase_Feature & theFeature)
static

Returnstrue if theFeature is a shape feature.

◆ SetShape()

void cadex::MTKBase_ShapeFeature::SetShape ( const ModelData::Shape & theShape)

Sets shape of the feature.

See also
Shape()

◆ Shape()

const ModelData::Shape & cadex::MTKBase_ShapeFeature::Shape ( ) const

Returns shape of the feature.

See also
SetShape()