Describes a sheet metal straight notch. More...
Public Member Functions | |
SheetMetal_StraightNotch () | |
Constructor. | |
SheetMetal_StraightNotch (double theWidth, double theLength) | |
Constructor. | |
SheetMetal_StraightNotch (double theWidth, double theLength, double theCornerFilletRadius) | |
Constructor. | |
double | CornerFilletRadius () const |
void | SetCornerFilletRadius (double theWidth) |
![]() | |
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 |
![]() | |
MTKBase_ShapeFeature () | |
Constructor. | |
MTKBase_ShapeFeature (const ModelData::Shape &theShape) | |
Constructor. | |
const ModelData::Shape & | Shape () const |
void | SetShape (const ModelData::Shape &theShape) |
![]() | |
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 straight notch. | |
![]() | |
static bool | CompareType (const MTKBase_Feature &theFeature) |
Returns true if theFeature is a notch. | |
![]() | |
static bool | CompareType (const MTKBase_Feature &theFeature) |
Returnstrue if theFeature is a shape feature. | |
Additional Inherited Members | |
![]() | |
typedef cadex::internal::SheetMetalImpl_Notch | ImplType |
typedef std::shared_ptr< ImplType > | ImplPtrType |
![]() | |
typedef cadex::internal::MTKBaseImpl_ShapeFeature | ImplType |
typedef std::shared_ptr< ImplType > | ImplPtrType |
![]() | |
typedef cadex::internal::MTKBaseImpl_Feature | ImplType |
typedef std::shared_ptr< ImplType > | ImplPtrType |
![]() | |
SheetMetal_Notch (ImplPtrType theImpl) | |
![]() | |
MTKBase_ShapeFeature (ImplPtrType theImpl) | |
Reserved for internal use. | |
![]() | |
MTKBase_Feature (ImplPtrType theImpl) | |
Reserved for internal use. | |
![]() | |
ImplPtrType | myImpl |
Describes a sheet metal straight notch.
Straight notch is a rectangular cut (with straight or rounded corners) from the edge of the sheet.
cadex::SheetMetal_StraightNotch::SheetMetal_StraightNotch | ( | double | theWidth, |
double | theLength ) |
Constructor.
Creates notch with specified width and length.
cadex::SheetMetal_StraightNotch::SheetMetal_StraightNotch | ( | double | theWidth, |
double | theLength, | ||
double | theCornerFilletRadius ) |
Constructor.
Creates notch with specified width, length and corner fillet radius.
double cadex::SheetMetal_StraightNotch::CornerFilletRadius | ( | ) | const |
Returns the notch corner fillet radius in mm. Returns 0 by default.
void cadex::SheetMetal_StraightNotch::SetCornerFilletRadius | ( | double | theFilletRadius | ) |
Set notch corner fillet radius in mm. The value must be more than zero, otherwise nothing happens.