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

Describes a machining chamfer. More...

Inheritance diagram for cadex::Machining_Chamfer:
cadex::MTKBase_ShapeFeature cadex::MTKBase_Feature

Public Types

typedef std::shared_ptr< internal::MachiningImpl_Chamfer > ImplType
 
- Public Types inherited from cadex::MTKBase_ShapeFeature
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

 Machining_Chamfer ()
 Constructor.
 
 Machining_Chamfer (double theLength)
 Constructor.
 
double Length () const
 Returns the Chamfer Length in mm .
 
void SetLength (double theLength)
 Sets the Chamfer Length in mm .
 
- Public Member Functions inherited from cadex::MTKBase_ShapeFeature
 MTKBase_ShapeFeature ()
 Constructor.
 
 MTKBase_ShapeFeature (const ModelData::Shape &theShape)
 Constructor.
 
const ModelData::Shape & Shape () 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)
 Returns true if theFeature is a machining Chamfer.
 
- Static Public Member Functions inherited from cadex::MTKBase_ShapeFeature
static bool CompareType (const MTKBase_Feature &theFeature)
 Returnstrue if theFeature is a shape feature.
 

Protected Member Functions

 Machining_Chamfer (ImplType theImpl)
 Reserved for internal use.
 
- Protected Member Functions inherited from cadex::MTKBase_ShapeFeature
 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 machining chamfer.

A chamfer feature represents a beveled region created by removing material along one or more connected edges of the part.

The feature may consist of one or more chamfer faces forming a continuous chamfer. The Length parameter specifies the total extent of the chamfer along the chamfered edge path.

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

Constructor & Destructor Documentation

◆ Machining_Chamfer() [1/3]

cadex::Machining_Chamfer::Machining_Chamfer ( )

Constructor.

◆ Machining_Chamfer() [2/3]

cadex::Machining_Chamfer::Machining_Chamfer ( double theLength)

Constructor.

Creates the machining Chamfer from the Length and radius.

◆ Machining_Chamfer() [3/3]

cadex::Machining_Chamfer::Machining_Chamfer ( ImplType theImpl)
explicitprotected

Reserved for internal use.

Constructor.

For internal use.

Member Function Documentation

◆ CompareType()

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

Returns true if theFeature is a machining Chamfer.

Examples
machining/feature_recognizer/Program.cs.

◆ Length()

double cadex::Machining_Chamfer::Length ( ) const

Returns the Chamfer Length in mm .

See also
SetLength()
Examples
machining/feature_recognizer/Program.cs.

◆ SetLength()

void cadex::Machining_Chamfer::SetLength ( double theLength)

Sets the Chamfer Length in mm .

The value must be greater than zero.

See also
Length()