Describes a machining countersink. More...
Public Member Functions | |
Machining_Countersink () | |
Constructor. | |
Machining_Countersink (double theRadius, double theDepth) | |
Constructor. | |
Machining_Countersink (double theRadius, double theDepth, const Geom::Axis3d &theAxis) | |
Constructor. | |
double | Radius () const |
void | SetRadius (double theRadius) |
double | Depth () const |
void | SetDepth (double theDepth) |
bool | HasAxis () const |
const Geom::Axis3d & | Axis () const |
void | SetAxis (const Geom::Axis3d &theAxis) |
![]() | |
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 machining countersink. | |
![]() | |
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 machining countersink.
A conical hole cut into a manufactured object, or the cutter used to cut such a hole. A common use is to allow the head of a countersunk bolt, screw or rivet, when placed in the hole, to sit flush with or below the surface of the surrounding material.
Shape() method returns ModelData::Shell for this class.
Countersink have the following basic parameters: radius in mm, depth in mm and axis.
cadex::Machining_Countersink::Machining_Countersink | ( | double | theRadius, |
double | theDepth ) |
Constructor.
Creates a machining countersink from radius and depth.
cadex::Machining_Countersink::Machining_Countersink | ( | double | theRadius, |
double | theDepth, | ||
const Geom::Axis3d & | theAxis ) |
Constructor.
Creates a machining countersink from radius, depth and axis.
const Geom::Axis3d & cadex::Machining_Countersink::Axis | ( | ) | const |
Returns countersink axis.
double cadex::Machining_Countersink::Depth | ( | ) | const |
Returns countersink depth in mm .
bool cadex::Machining_Countersink::HasAxis | ( | ) | const |
double cadex::Machining_Countersink::Radius | ( | ) | const |
Returns countersink radius in mm .
void cadex::Machining_Countersink::SetAxis | ( | const Geom::Axis3d & | theAxis | ) |
void cadex::Machining_Countersink::SetDepth | ( | double | theDepth | ) |
Sets depth for countersink in mm. The value must be more than zero.
void cadex::Machining_Countersink::SetRadius | ( | double | theRadius | ) |
Sets radius for countersink in mm. The value must be more than zero.