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

Describes a cutout in sheet metal. More...

Inheritance diagram for cadex.SheetMetal_Cutout:
cadex.MTKBase_ShapeFeature cadex.MTKBase_Feature

Public Member Functions

 SheetMetal_Cutout (global::System.IntPtr cPtr, bool cMemoryOwn)
 
 SheetMetal_Cutout ()
 Constructor.
 
 SheetMetal_Cutout (double thePerimeter)
 Constructor.
 
double Perimeter ()
 
void SetPerimeter (double thePerimeter)
 
- 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 cutout.
 
static new cadex.SheetMetal_Cutout 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 cutout in sheet metal.

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

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

Constructor & Destructor Documentation

◆ SheetMetal_Cutout()

cadex.SheetMetal_Cutout.SheetMetal_Cutout ( double thePerimeter)
inline

Constructor.

Creates a cutout with specified perimeter.

Member Function Documentation

◆ Dispose()

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

Reimplemented from cadex.MTKBase_ShapeFeature.

◆ Perimeter()

double cadex.SheetMetal_Cutout.Perimeter ( )
inline

Returns the cutout perimeter in mm .

See also
SetPerimeter()
Examples
sheet_metal/feature_recognizer/Program.cs.

◆ SetPerimeter()

void cadex.SheetMetal_Cutout.SetPerimeter ( double thePerimeter)
inline

Sets the cutout perimeter in mm . The value must be more than zero, otherwise nothing happens.

See also
Perimeter()