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

Describes a face with radius produced by a specified machining operation. More...

Inheritance diagram for cadex::Machining_TurningFace:
cadex::Machining_Face cadex::MTKBase_ShapeFeature cadex::MTKBase_Feature

Public Member Functions

 Machining_TurningFace ()
 Constructor.
 
 Machining_TurningFace (const ModelData::Face &theFace, Machining_FaceType theType, double theRadius)
 Constructor.
 
double Radius () const
 Returns face radius in mm .
 
void SetRadius (double theRadius)
 Sets radius for face in mm.
 
- Public Member Functions inherited from cadex::Machining_Face
 Machining_Face ()
 Constructor.
 
 Machining_Face (const ModelData::Face &theFace, Machining_FaceType theType)
 Constructor.
 
ModelData::Face Face () const
 Returns shape of the feature casted to ModelData::Face object.
 
Machining_FaceType Type () const
 Returns type of machining face.
 
void SetType (Machining_FaceType theType) const
 Sets type of the machining face.
 
- Public Member Functions inherited from cadex::MTKBase_ShapeFeature
 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)
 Returns true if theFeature is a machining turning face.
 
- Static Public Member Functions inherited from cadex::Machining_Face
static bool CompareType (const MTKBase_Feature &theFeature)
 Returnstrue if theFeature is a machining face.
 
- Static Public Member Functions inherited from cadex::MTKBase_ShapeFeature
static bool CompareType (const MTKBase_Feature &theFeature)
 Returnstrue if theFeature is a shape feature.
 

Additional Inherited Members

- Public Types inherited from cadex::Machining_Face
typedef cadex::internal::MachiningImpl_Face ImplType
 
typedef std::shared_ptr< ImplType > ImplPtrType
 
- 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
 
- Protected Member Functions inherited from cadex::Machining_Face
 Machining_Face (ImplPtrType 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.
 
- Protected Attributes inherited from cadex::MTKBase_Feature
ImplPtrType myImpl
 

Detailed Description

Describes a face with radius produced by a specified machining operation.

Cutting material from workpiece by turning.

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

Constructor & Destructor Documentation

◆ Machining_TurningFace() [1/2]

cadex::Machining_TurningFace::Machining_TurningFace ( )

Constructor.

◆ Machining_TurningFace() [2/2]

cadex::Machining_TurningFace::Machining_TurningFace ( const ModelData::Face & theFace,
Machining_FaceType theType,
double theRadius )

Constructor.

Creates a machining face from a ModelData::Face object, Machining_FaceType and radius.

Member Function Documentation

◆ CompareType()

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

Returns true if theFeature is a machining turning face.

Examples
machining/feature_recognizer/Program.cs.

◆ Radius()

double cadex::Machining_TurningFace::Radius ( ) const

Returns face radius in mm .

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

◆ SetRadius()

void cadex::Machining_TurningFace::SetRadius ( double theRadius)

Sets radius for face in mm.

The value must be more than zero.

See also
Radius()