Describes a cutout in sheet metal. More...
Public Member Functions | |
| SheetMetal_Cutout () | |
| Constructor. | |
| SheetMetal_Cutout (double thePerimeter) | |
| Constructor. | |
| double | Perimeter () const |
| void | SetPerimeter (double thePerimeter) |
Public Member Functions inherited from cadex::MTKBase_ShapeFeature | |
| MTKBase_ShapeFeature () | |
| Constructor. | |
| MTKBase_ShapeFeature (const ModelData::Shape &theShape) | |
| Constructor. | |
| const ModelData::Shape & | Shape () 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 cutout. | |
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::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::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 |
| cadex::SheetMetal_Cutout::SheetMetal_Cutout | ( | double | thePerimeter | ) |
Constructor.
Creates a cutout with specified perimeter.
| double cadex::SheetMetal_Cutout::Perimeter | ( | ) | const |
Returns the cutout perimeter in mm .
| void cadex::SheetMetal_Cutout::SetPerimeter | ( | double | thePerimeter | ) |
Sets the cutout perimeter in mm . The value must be more than zero, otherwise nothing happens.