Describes a sheet metal tab. More...
Public Member Functions | |
SheetMetal_Tab () | |
Constructor. | |
SheetMetal_Tab (double theWidth, double theLength) | |
double | Width () const |
void | SetWidth (double theWidth) |
double | Length () const |
void | SetLength (double theLength) |
![]() | |
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 tab. | |
![]() | |
static bool | CompareType (const MTKBase_Feature &theFeature) |
Returnstrue if theFeature is a shape feature. | |
Additional Inherited Members | |
![]() | |
typedef cadex::internal::MTKBaseImpl_ShapeFeature | ImplType |
typedef std::shared_ptr< ImplType > | ImplPtrType |
![]() | |
typedef cadex::internal::MTKBaseImpl_Feature | ImplType |
typedef std::shared_ptr< ImplType > | ImplPtrType |
![]() | |
MTKBase_ShapeFeature (ImplPtrType theImpl) | |
Reserved for internal use. | |
![]() | |
MTKBase_Feature (ImplPtrType theImpl) | |
Reserved for internal use. | |
![]() | |
ImplPtrType | myImpl |
Describes a sheet metal tab.
Tab is the rectangular ledge for the face. They are often used for fitting together several pieces to create the precise mate during assembly.
Shape() method returns ModelData::Wire for this class.
Tabs have the following basic parameters: width in mm and length in mm.
cadex::SheetMetal_Tab::SheetMetal_Tab | ( | double | theWidth, |
double | theLength ) |
Constructor. Creates tab with specified width and depth.
double cadex::SheetMetal_Tab::Length | ( | ) | const |
Returns the tab length in mm .
void cadex::SheetMetal_Tab::SetLength | ( | double | theLength | ) |
Sets tab length in mm . The value must be more than zero, otherwise nothing happens.
void cadex::SheetMetal_Tab::SetWidth | ( | double | theWidth | ) |
Sets tab width in mm . The value must be more than zero, otherwise nothing happens.
double cadex::SheetMetal_Tab::Width | ( | ) | const |
Returns the tab width in mm .