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

Describes a machining groove. More...

Inheritance diagram for cadex::Machining_Groove:
cadex::MTKBase_ShapeFeature cadex::MTKBase_Feature cadex::Machining_TurningGroove

Public Types

typedef std::shared_ptr< internal::MachiningImpl_Groove > 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_Groove ()
 Constructor.
 
 Machining_Groove (double theDepth, double theWidth)
 Constructor.
 
double Depth () const
 Returns the groove depth in mm .
 
void SetDepth (double theDepth)
 Sets the groove depth in mm .
 
double Width () const
 Returns the groove width in mm .
 
void SetWidth (double theWidth)
 Sets the groove width in mm .
 
const ModelData::ShapeSidewalls () const
 Returns the shape containing the groove sidewalls.
 
void SetSidewalls (const ModelData::Shape &theSidewalls)
 Sets the shape for groove sidewalls.
 
const ModelData::ShapeBottom () const
 Returns groove bottom shape.
 
void SetBottom (const ModelData::Shape &theBottom)
 Sets the shape for the groove bottom.
 
- 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 groove.
 
- 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_Groove (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 groove.

A groove is a narrow linear channel or cut made in a material.

See also
Machining_TurningGroove

Constructor & Destructor Documentation

◆ Machining_Groove() [1/3]

cadex::Machining_Groove::Machining_Groove ( )

Constructor.

◆ Machining_Groove() [2/3]

cadex::Machining_Groove::Machining_Groove ( double theDepth,
double theWidth )

Constructor.

Creates the machining groove from the depth and width.

◆ Machining_Groove() [3/3]

cadex::Machining_Groove::Machining_Groove ( ImplType theImpl)
explicitprotected

Reserved for internal use.

Constructor.

For internal use.

Member Function Documentation

◆ Bottom()

const ModelData::Shape & cadex::Machining_Groove::Bottom ( ) const

Returns groove bottom shape.

The shape can be a single face or shell.

See also
SetBottom()

◆ CompareType()

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

Returns true if theFeature is a machining groove.

◆ Depth()

double cadex::Machining_Groove::Depth ( ) const

Returns the groove depth in mm .

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

◆ SetBottom()

void cadex::Machining_Groove::SetBottom ( const ModelData::Shape & theBottom)

Sets the shape for the groove bottom.

The shape can be a single face or shell.

See also
Bottom()

◆ SetDepth()

void cadex::Machining_Groove::SetDepth ( double theDepth)

Sets the groove depth in mm .

The value must be greater than zero.

See also
Depth()

◆ SetSidewalls()

void cadex::Machining_Groove::SetSidewalls ( const ModelData::Shape & theSidewalls)

Sets the shape for groove sidewalls.

The shape can be a single face or shell.

See also
Sidewalls()

◆ SetWidth()

void cadex::Machining_Groove::SetWidth ( double theWidth)

Sets the groove width in mm .

The value must be greater than zero.

See also
Width()

◆ Sidewalls()

const ModelData::Shape & cadex::Machining_Groove::Sidewalls ( ) const

Returns the shape containing the groove sidewalls.

The shape can be a single face or shell.

See also
SetSidewalls()

◆ Width()

double cadex::Machining_Groove::Width ( ) const

Returns the groove width in mm .

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