Describes a turning groove. A turning groove is a narrow linear channel or cut made in a material related to turning (lathe) machining. More...
Public Member Functions | |
Machining_TurningGroove () | |
Constructor. | |
Machining_TurningGroove (double theRadius, double theDepth, double theWidth, Machining_TurningGrooveType theType) | |
Constructor. | |
Machining_TurningGrooveType | Type () const |
void | SetType (Machining_TurningGrooveType theType) |
double | Radius () const |
void | SetRadius (double theRadius) |
![]() | |
Machining_Groove () | |
Constructor. | |
Machining_Groove (double theDepth, double theWidth) | |
Constructor. | |
double | Depth () const |
void | SetDepth (double theDepth) |
double | Width () const |
void | SetWidth (double theWidth) |
const ModelData::Shape & | Sidewalls () const |
void | SetSidewalls (const ModelData::Shape &theSidewalls) |
const ModelData::Shape & | Bottom () const |
void | SetBottom (const ModelData::Shape &theBottom) |
![]() | |
MTKBase_ShapeFeature () | |
Constructor. | |
MTKBase_ShapeFeature (const ModelData::Shape &theShape) | |
Constructor. | |
const ModelData::Shape & | Shape () const |
void | SetShape (const ModelData::Shape &theShape) |
![]() | |
MTKBase_Feature () | |
Constructor. | |
~MTKBase_Feature () | |
Destructor. | |
void | Nullify () |
bool | IsNull () const |
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 groove. | |
![]() | |
static bool | CompareType (const MTKBase_Feature &theFeature) |
Returns true if theFeature is a machining groove. | |
![]() | |
static bool | CompareType (const MTKBase_Feature &theFeature) |
Returnstrue if theFeature is a shape feature. | |
Additional Inherited Members | |
![]() | |
typedef std::shared_ptr< internal::MachiningImpl_Groove > | ImplType |
![]() | |
typedef cadex::internal::MTKBaseImpl_ShapeFeature | ImplType |
typedef std::shared_ptr< ImplType > | ImplPtrType |
![]() | |
typedef cadex::internal::MTKBaseImpl_Feature | ImplType |
typedef std::shared_ptr< ImplType > | ImplPtrType |
![]() | |
Machining_Groove (ImplType theImpl) | |
Reserved for internal use. | |
![]() | |
MTKBase_ShapeFeature (ImplPtrType theImpl) | |
Reserved for internal use. | |
![]() | |
MTKBase_Feature (ImplPtrType theImpl) | |
Reserved for internal use. | |
![]() | |
ImplPtrType | myImpl |
Describes a turning groove. A turning groove is a narrow linear channel or cut made in a material related to turning (lathe) machining.
Shape() method returns ModelData::Shell for this class.
Turning Groove has the following basic parameters: radius in mm, width in mm, depth in mm. The parameters can be seen below in the table with turning groove types.
MTK supports the groove types (Machining_TurningGrooveType enumeration) defined in the following table:
Outer Diameter (OD) | The groove machined on the external surface of a part. | ![]() |
Inner Diameter (ID) | The groove machined on the internal surface of a part. | ![]() |
End Face | The groove machined on the front or back end face of a part. | ![]() |
The Turning Groove type is returned by Type().
cadex::Machining_TurningGroove::Machining_TurningGroove | ( | double | theRadius, |
double | theDepth, | ||
double | theWidth, | ||
Machining_TurningGrooveType | theType ) |
Constructor.
Creates the turning groove from the radius, the depth, the width and the machining groove type.
double cadex::Machining_TurningGroove::Radius | ( | ) | const |
Returns the turning groove radius in mm .
void cadex::Machining_TurningGroove::SetRadius | ( | double | theRadius | ) |
Sets the turning groove radius in mm . The value must be greater than zero.
void cadex::Machining_TurningGroove::SetType | ( | Machining_TurningGrooveType | theType | ) |
Sets the type for turning groove.
Machining_TurningGrooveType cadex::Machining_TurningGroove::Type | ( | ) | const |
Returns the turning groove type.