Hide menu
Loading...
Searching...
No Matches
cadex::Machining_SteppedHole Class Reference

Describes a stepped hole feature. More...

Inheritance diagram for cadex::Machining_SteppedHole:
cadex::MTKBase_CompositeFeature cadex::MTKBase_Feature

Public Member Functions

 Machining_SteppedHole ()
 Constructor.
 
 Machining_SteppedHole (const MTKBase_FeatureList &theFeatureList)
 Constructor.
 
double Depth () const
 Returns hole depth in mm .
 
- Public Member Functions inherited from cadex::MTKBase_CompositeFeature
 MTKBase_CompositeFeature ()
 Constructor.
 
 MTKBase_CompositeFeature (const MTKBase_FeatureList &theFeatureList)
 Constructor.
 
void AddFeature (const MTKBase_Feature &theFeature)
 Adds feature reference to feature references list.
 
void AddFeatures (const MTKBase_FeatureList &theFeatureList)
 Adds feature references to feature references list.
 
const MTKBase_FeatureListFeatureList () const
 Returns the feature references list.
 
- 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 stepped machining hole.
 
- Static Public Member Functions inherited from cadex::MTKBase_CompositeFeature
static bool CompareType (const MTKBase_Feature &theFeature)
 Returns true if theFeature is a composite feature.
 

Additional Inherited Members

- Public Types inherited from cadex::MTKBase_CompositeFeature
typedef cadex::internal::MTKBaseImpl_CompositeFeature 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
 
- Protected Member Functions inherited from cadex::MTKBase_CompositeFeature
 MTKBase_CompositeFeature (ImplPtrType theImpl)
 Reserved for internal use.
 
- Protected Member Functions inherited from cadex::MTKBase_Feature
 MTKBase_Feature (ImplPtrType theImpl)
 Reserved for internal use.
 
- Protected Attributes inherited from cadex::MTKBase_Feature
ImplPtrType myImpl
 

Detailed Description

Describes a stepped hole feature.

A stepped hole consists of multiple machining features, each derived from the MTKBase_Hole class. Features like Machining_Hole or Machining_Countersink can be added via AddFeature() or AddFeatures(), and the total depth of the stepped hole adjusts based on the added features.

Stepped hole
Examples
machining/feature_recognizer/Program.cs, and machining/feature_recognizer/main.cxx.

Constructor & Destructor Documentation

◆ Machining_SteppedHole() [1/2]

cadex::Machining_SteppedHole::Machining_SteppedHole ( )

Constructor.

◆ Machining_SteppedHole() [2/2]

cadex::Machining_SteppedHole::Machining_SteppedHole ( const MTKBase_FeatureList & theFeatureList)

Constructor.

Creates a stepped hole from a MTKBase_FeatureList.

Member Function Documentation

◆ CompareType()

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

Returnstrue if theFeature is a stepped machining hole.

Examples
machining/feature_recognizer/Program.cs.

◆ Depth()

double cadex::Machining_SteppedHole::Depth ( ) const

Returns hole depth in mm .

Examples
machining/feature_recognizer/Program.cs.