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

Describes a circle hole drilled or punched in sheet metal. More...

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

Public Member Functions

 SheetMetal_Hole (global::System.IntPtr cPtr, bool cMemoryOwn)
 
 SheetMetal_Hole ()
 Constructor.
 
 SheetMetal_Hole (double theRadius, double theDepth)
 Creates a sheet metal hole from radius.
 
 SheetMetal_Hole (double theRadius, double theDepth, cadex.Geom.Axis3d theAxis)
 Creates a sheet metal hole from radius and axis.
 
- Public Member Functions inherited from cadex.MTKBase_Hole
 MTKBase_Hole (global::System.IntPtr cPtr, bool cMemoryOwn)
 
 MTKBase_Hole ()
 Constructor.
 
 MTKBase_Hole (double theRadius, double theDepth)
 Creates a hole feature from radius and depth.
 
 MTKBase_Hole (double theRadius, double theDepth, cadex.Geom.Axis3d theAxis)
 Creates a hole feature from radius, depth and axis.
 
double Radius ()
 Returns hole radius in mm .
 
void SetRadius (double theRadius)
 Sets radius for hole in mm .
 
double Depth ()
 Returns hole depth in mm .
 
void SetDepth (double theDepth)
 Sets depth for hole in mm .
 
bool HasAxis ()
 Returns true if axis is determined for hole.
 
cadex.Geom.Axis3d Axis ()
 Returns hole axis.
 
void SetAxis (cadex.Geom.Axis3d theAxis)
 Sets axis for hole.
 
- 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)
 Creates a feature from a ModelData.Shape object.
 
cadex.ModelData.Shape Shape ()
 Returns shape of the feature.
 
void SetShape (cadex.ModelData.Shape theShape)
 Sets shape of the feature.
 
- Public Member Functions inherited from cadex.MTKBase_Feature
 MTKBase_Feature (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 
 MTKBase_Feature ()
 Constructor.
 
void Nullify ()
 Resets reference to implementation object.
 
bool IsNull ()
 Returns true if the object is nullified.
 
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 sheet metal hole.
 
static new cadex.SheetMetal_Hole Cast (cadex.MTKBase_Feature theBase)
 
- Static Public Member Functions inherited from cadex.MTKBase_Hole
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)
 

Detailed Description

Describes a circle hole drilled or punched in sheet metal.

Shape() method returns ModelData.Wire for this class.

Holes
Examples
sheet_metal/feature_recognizer/Program.cs, and sheet_metal/feature_recognizer/main.cxx.

Constructor & Destructor Documentation

◆ SheetMetal_Hole() [1/3]

cadex.SheetMetal_Hole.SheetMetal_Hole ( )
inline

Constructor.

◆ SheetMetal_Hole() [2/3]

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

Creates a sheet metal hole from radius.

Constructor.

◆ SheetMetal_Hole() [3/3]

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

Creates a sheet metal hole from radius and axis.

Constructor.

Member Function Documentation

◆ CompareType()

static new bool cadex.SheetMetal_Hole.CompareType ( cadex.MTKBase_Feature theFeature)
inlinestatic

Returns true if theFeature is a sheet metal hole.

Examples
sheet_metal/feature_recognizer/Program.cs.

◆ Dispose()

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

Reimplemented from cadex.MTKBase_Hole.