C3D Toolkit  Kernel - 117982, Vision -

The parameters of pocket or boss. More...

#include <op_shell_parameter.h>

+ Inheritance diagram for PocketValues:
+ Collaboration diagram for PocketValues:

Public Member Functions

 PocketValues ()
 Default constructor. More...
virtual ~PocketValues ()
virtual MbeHoleType Type () const
 Type of notch.
virtual HoleValuesDuplicate (MbRegDuplicate *ireg=nullptr) const
 Create a copy of the object.
virtual void Transform (const MbMatrix3D &matr, MbRegTransform *ireg=nullptr)
 Transform an object according to the matrix.
virtual bool IsSame (const HoleValues &, double accuracy) const
 Determine whether an object is equal?
virtual void operator= (const HoleValues &other)
 Assignment operator.
- Public Member Functions inherited from HoleValues
virtual ~HoleValues ()
virtual void Move (const MbVector3D &, MbRegTransform *=nullptr)
 Move an object along a vector.
virtual void Rotate (const MbAxis3D &, double ang, MbRegTransform *=nullptr)
 Rotate an object at a given angle around an axis.
void Init (const HoleValues &)
 Copy function.
const MbSurfaceGetSurface () const
 Get the surface.
MbSurfaceSetSurface ()
 Get the surface for editing.
void SetSurface (MbSurface *s)
 Replace surface.
void SetPhantom (bool s)
 Set the phantom flag.
bool GetPhantom () const
 Get the phantom flag.
bool MergeFaces () const
 Whether to merge similar faces (true).
bool MergeEdges () const
 Whether to merge similar edges (true).
const MbMergingFlagsGetMerging () const
 Get flags of merging.
void SetMergingFaces (bool s)
 Whether to merge similar faces.
void SetMergingEdges (bool s)
 Whether to merge similar edges.
void SetMerging (const MbMergingFlags &f)
 Whether to merge similar items.

Public Attributes

double length
 The length of pocket or boss.
double width
 The width of pocket or boss.
double depth
 The depth of pocket or boss.
double cornerRadius
 Fillet radius of corners of pocket or boss. More...
double floorRadius
 Fillet radius of bottom of pocket or top of boss.
double taperAngle
 Draft angle of pocket walls or top of boss (vertical deviation in radians)
bool type
 Type == false - pocket, type == true - boss.
- Public Attributes inherited from HoleValues
double placeAngle
 Angle between axis and normal to the surface (0 <= placeAngle <= M_PI_2).
double azimuthAngle
 Angle of rotation around the surface normal (-M_PI2 <= azimuthAngle <= M_PI2).

Additional Inherited Members

- Protected Member Functions inherited from HoleValues
 HoleValues ()
 Default constructor. More...
 HoleValues (const HoleValues &other, MbRegDuplicate *iReg)
- Protected Attributes inherited from HoleValues
 Processing surface (if nullptr, then is considered planar).
bool doPhantom
 Create the phantom of the operation.
MbMergingFlags boolMergeFlags
 Control flags of shell items merging when performing a boolean operation with the previous body.

Detailed Description

The parameters of pocket or boss.

The parameters of rectangular pocket or boss with rounded corners.

Constructor & Destructor Documentation

◆ PocketValues()

PocketValues::PocketValues ( )

Default constructor.

Constructor of pocket.

Member Data Documentation

◆ cornerRadius

double PocketValues::cornerRadius

Fillet radius of corners of pocket or boss.

Fillet radius of corners of pocket or boss, 2 * cornerRadius <= std_min( width, length ). If length == width == 2 * cornerRadius, then pocket as a hole.

The documentation for this class was generated from the following file: