Describes a machining fillet. More...
Public Types | |
| typedef std::shared_ptr< internal::MachiningImpl_Fillet > | 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_Fillet () | |
| Constructor. | |
| Machining_Fillet (Machining_FilletType theType, double theRadius, double theLength) | |
| Constructor. | |
| Machining_FilletType | Type () const |
| Returns the fillet type. | |
| void | SetType (Machining_FilletType theType) |
| Sets the fillet type. | |
| double | Radius () const |
| Returns the fillet radius in mm . | |
| void | SetRadius (double theRadius) |
| Sets the fillet radius in mm . | |
| double | Length () const |
| Returns the fillet length in mm . | |
| void | SetLength (double theLength) |
| Sets the fillet 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 Fillet. | |
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_Fillet (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 |
Describes a machining fillet.
A fillet feature represents a rounded transition between adjacent surfaces of the part. The feature may consist of one or more connected fillet faces forming a continuous fillet. A fillet can be concave (internal) or convex (external) and is described by its radius and length.
A fillet has the following basic parameters: radius in mm, length in mm and type.
| Radius | The radius of the rounded transition in mm, returned by Radius(). |
Fillet radius |
| Length | The fillet length in mm, returned by Length(). |
Fillet length |
| Type | The fillet type is defined by the Machining_FilletType enumeration and returned by Type(). Machining_FLT_Concave describes an internal rounded transition, while Machining_FLT_Convex describes an external rounded transition. Machining_FLT_Undefined indicates that the type is not specified. |
Fillet types |
| cadex::Machining_Fillet::Machining_Fillet | ( | ) |
Constructor.
| cadex::Machining_Fillet::Machining_Fillet | ( | Machining_FilletType | theType, |
| double | theRadius, | ||
| double | theLength ) |
Constructor.
Creates a machining fillet from its type, radius and length.
|
explicitprotected |
Reserved for internal use.
Constructor.
For internal use.
|
static |
Returns true if theFeature is a machining Fillet.
| double cadex::Machining_Fillet::Length | ( | ) | const |
Returns the fillet length in mm .
| double cadex::Machining_Fillet::Radius | ( | ) | const |
Returns the fillet radius in mm .
| void cadex::Machining_Fillet::SetLength | ( | double | theLength | ) |
| void cadex::Machining_Fillet::SetRadius | ( | double | theRadius | ) |
| void cadex::Machining_Fillet::SetType | ( | Machining_FilletType | theType | ) |
Sets the fillet type.
| Machining_FilletType cadex::Machining_Fillet::Type | ( | ) | const |
Returns the fillet type.