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

Describes a base class for hole features in concrete processes. More...

Inheritance diagram for cadex.MTKBase_Hole:
cadex.MTKBase_ShapeFeature cadex.MTKBase_Feature cadex.Machining_Hole cadex.SheetMetal_Hole cadex.Machining_ThreadedHole cadex.SheetMetal_ComplexHole

Public Member Functions

 MTKBase_Hole (global::System.IntPtr cPtr, bool cMemoryOwn)
 
 MTKBase_Hole ()
 Constructor.
 
 MTKBase_Hole (double theRadius, double theDepth)
 Constructor.
 
 MTKBase_Hole (double theRadius, double theDepth, cadex.Geom.Axis3d theAxis)
 Constructor.
 
double Radius ()
 
void SetRadius (double theRadius)
 
double Depth ()
 
void SetDepth (double theDepth)
 
bool HasAxis ()
 
cadex.Geom.Axis3d Axis ()
 
void SetAxis (cadex.Geom.Axis3d theAxis)
 
- Public Member Functions inherited from cadex.MTKBase_ShapeFeature
 MTKBase_ShapeFeature (global::System.IntPtr cPtr, bool cMemoryOwn)
 
 MTKBase_ShapeFeature ()
 Constructor.
 
 MTKBase_ShapeFeature (cadex.ModelData.Shape theShape)
 Constructor.
 
cadex.ModelData.Shape Shape ()
 
void SetShape (cadex.ModelData.Shape theShape)
 
- Public Member Functions inherited from cadex.MTKBase_Feature
 MTKBase_Feature (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 
 MTKBase_Feature ()
 Constructor.
 
void Nullify ()
 
bool IsNull ()
 
bool IsEqual (cadex.MTKBase_Feature theObject)
 
bool IsNotEqual (cadex.MTKBase_Feature theObject)
 

Static Public Member Functions

static new bool CompareType (cadex.MTKBase_Feature theFeature)
 Returns true if theFeature is a hole.
 
static new cadex.MTKBase_Hole Cast (cadex.MTKBase_Feature theBase)
 
- Static Public Member Functions inherited from cadex.MTKBase_ShapeFeature
static bool CompareType (cadex.MTKBase_Feature theFeature)
 Returnstrue if theFeature is a shape feature.
 
static cadex.MTKBase_ShapeFeature Cast (cadex.MTKBase_Feature theBase)
 

Protected Member Functions

override void Dispose (bool disposing)
 
- Protected Member Functions inherited from cadex.MTKBase_ShapeFeature
override void Dispose (bool disposing)
 

Detailed Description

Describes a base class for hole features in concrete processes.

Holes (blind and through)

Holes have the following basic parameters: radius in mm, depth in mm and axis.

Hole parameters

Constructor & Destructor Documentation

◆ MTKBase_Hole() [1/2]

cadex.MTKBase_Hole.MTKBase_Hole ( double theRadius,
double theDepth )
inline

Constructor.

Creates a hole feature from radius and depth.

◆ MTKBase_Hole() [2/2]

cadex.MTKBase_Hole.MTKBase_Hole ( double theRadius,
double theDepth,
cadex.Geom.Axis3d theAxis )
inline

Constructor.

Creates a hole feature from radius, depth and axis.

Member Function Documentation

◆ Axis()

cadex.Geom.Axis3d cadex.MTKBase_Hole.Axis ( )
inline

◆ Depth()

double cadex.MTKBase_Hole.Depth ( )
inline

◆ Dispose()

override void cadex.MTKBase_Hole.Dispose ( bool disposing)
inlineprotectedvirtual

Reimplemented from cadex.MTKBase_Feature.

◆ HasAxis()

bool cadex.MTKBase_Hole.HasAxis ( )
inline

Returns true if axis is determined for hole.

See also
Axis(), SetAxis()

◆ Radius()

double cadex.MTKBase_Hole.Radius ( )
inline

◆ SetAxis()

void cadex.MTKBase_Hole.SetAxis ( cadex.Geom.Axis3d theAxis)
inline

Sets axis for hole.

See also
HasAxis(), Axis()

◆ SetDepth()

void cadex.MTKBase_Hole.SetDepth ( double theDepth)
inline

Sets depth for hole in mm . The value must be more than zero.

See also
Depth()

◆ SetRadius()

void cadex.MTKBase_Hole.SetRadius ( double theRadius)
inline

Sets radius for hole in mm . The value must be more than zero.

See also
Radius()