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

Describes a sheet metal V-notch. More...

Inheritance diagram for cadex::SheetMetal_VNotch:
cadex::SheetMetal_Notch cadex::MTKBase_ShapeFeature cadex::MTKBase_Feature

Public Member Functions

 SheetMetal_VNotch ()
 Constructor.
 
 SheetMetal_VNotch (double theWidth, double theLength, double theAngle)
 Constructor.
 
double Angle () const
 
void SetAngle (double theWidth)
 Set V notch angle in rad. The value must be more than zero, otherwise nothing happens.
 
- Public Member Functions inherited from cadex::SheetMetal_Notch
 SheetMetal_Notch ()
 Constructor.
 
 SheetMetal_Notch (double theWidth, double theLength)
 Constructor.
 
double Width () const
 
void SetWidth (double theWidth)
 
double Length () const
 
void SetLength (double theLength)
 
bool IsAtCorner () const
 
void SetIsAtCorner (bool theIsAtCorner) const
 
- Public Member Functions inherited from cadex::MTKBase_ShapeFeature
 MTKBase_ShapeFeature ()
 Constructor.
 
 MTKBase_ShapeFeature (const ModelData::Shape &theShape)
 Constructor.
 
const ModelData::ShapeShape () const
 
void SetShape (const ModelData::Shape &theShape)
 
- Public Member Functions inherited from cadex::MTKBase_Feature
 MTKBase_Feature ()
 Constructor.
 
 ~MTKBase_Feature ()
 Destructor.
 
void Nullify ()
 
bool IsNull () const
 
 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 V notch.
 
- Static Public Member Functions inherited from cadex::SheetMetal_Notch
static bool CompareType (const MTKBase_Feature &theFeature)
 Returns true if theFeature is a notch.
 
- 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_Notch
typedef cadex::internal::SheetMetalImpl_Notch 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_Notch
 SheetMetal_Notch (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 V-notch.

V-notch is the V-shape cut from the edge of the sheet.

V-notch
Examples
MTKConverter/Program.cs, MTKConverter/main.cxx, sheet_metal/feature_recognizer/Program.cs, and sheet_metal/feature_recognizer/main.cxx.

Constructor & Destructor Documentation

◆ SheetMetal_VNotch()

cadex::SheetMetal_VNotch::SheetMetal_VNotch ( double theWidth,
double theLength,
double theAngle )

Constructor.

Creates notch with specified width, length and angle.

Member Function Documentation

◆ Angle()

double cadex::SheetMetal_VNotch::Angle ( ) const

Returns V notch angle in rad.

See also
SetAngle()
Examples
MTKConverter/Program.cs, and sheet_metal/feature_recognizer/Program.cs.

◆ SetAngle()

void cadex::SheetMetal_VNotch::SetAngle ( double theFilletRadius)

Set V notch angle in rad. The value must be more than zero, otherwise nothing happens.

V notch angle
See also
Angle()