Hide menu
Loading...
Searching...
No Matches
cadex::SheetMetal_CurvedBend Class Reference

Describes a sheet metal curved bend feature. More...

Inheritance diagram for cadex::SheetMetal_CurvedBend:
cadex::SheetMetal_Bend cadex::MTKBase_ShapeFeature cadex::MTKBase_Feature

Public Member Functions

 SheetMetal_CurvedBend ()
 Constructor.
 
 SheetMetal_CurvedBend (double theRadius, double theAngle, double theWidth)
 Constructor.
 
- Public Member Functions inherited from cadex::SheetMetal_Bend
 SheetMetal_Bend ()
 Constructor.
 
 SheetMetal_Bend (double theRadius, double theAngle, double theWidth)
 Constructor.
 
double Radius () const
 Returns the bend radius in mm .
 
void SetRadius (double theRadius)
 Sets bend radius in mm .
 
double Angle () const
 Returns the bend angle in radians.
 
void SetAngle (double theAngle)
 Sets bend angle in radians.
 
double Width () const
 Returns the bend width in mm .
 
void SetWidth (double theWidth)
 Sets bend width in mm .
 
double Length () const
 Returns the length of resulting bend (not blank sheet metal model). Length value returns in mm .
 
- 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 an curved bend.
 
- Static Public Member Functions inherited from cadex::SheetMetal_Bend
static bool CompareType (const MTKBase_Feature &theFeature)
 Returns true if theFeature is a bend.
 
- Static Public Member Functions inherited from cadex::MTKBase_ShapeFeature
static bool CompareType (const MTKBase_Feature &theFeature)
 Returnstrue if theFeature is a shape feature.
 

Additional Inherited Members

- Public Types inherited from cadex::SheetMetal_Bend
typedef cadex::internal::SheetMetalImpl_Bend ImplType
 
typedef std::shared_ptr< ImplType > ImplPtrType
 
- 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
 
- Protected Member Functions inherited from cadex::SheetMetal_Bend
 SheetMetal_Bend (ImplPtrType theImpl)
 
- 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.
 
- Protected Attributes inherited from cadex::MTKBase_Feature
ImplPtrType myImpl
 

Detailed Description

Describes a sheet metal curved bend feature.

A curved bend is obtained by bending sheet metal in 2 directions.

Curved bend
Examples
sheet_metal/feature_recognizer/Program.cs, and sheet_metal/feature_recognizer/main.cxx.

Constructor & Destructor Documentation

◆ SheetMetal_CurvedBend() [1/2]

cadex::SheetMetal_CurvedBend::SheetMetal_CurvedBend ( )

Constructor.

◆ SheetMetal_CurvedBend() [2/2]

cadex::SheetMetal_CurvedBend::SheetMetal_CurvedBend ( double theRadius,
double theAngle,
double theWidth )

Constructor.

Creates a curved bend with specified radius, angle and width.

Member Function Documentation

◆ CompareType()

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

Returns true if theFeature is an curved bend.

Examples
sheet_metal/feature_recognizer/Program.cs.