C3D Toolkit
Kernel - 117958, Vision - 2.7.6.12
|
The parameters of pocket or boss. More...
#include <op_shell_parameter.h>
Public Member Functions | |
PocketValues () | |
Default constructor. More... | |
virtual | ~PocketValues () |
Destructor. | |
virtual MbeHoleType | Type () const |
Type of notch. | |
virtual HoleValues & | Duplicate (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. | |
![]() | |
virtual | ~HoleValues () |
Destructor. | |
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 MbSurface * | GetSurface () const |
Get the surface. | |
MbSurface * | SetSurface () |
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 MbMergingFlags & | GetMerging () 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. | |
![]() | |
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 | |
![]() | |
HoleValues () | |
Default constructor. More... | |
HoleValues (const HoleValues &other, MbRegDuplicate *iReg) | |
Copy-constructor. | |
![]() | |
MbSurface * | surface |
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. | |
The parameters of pocket or boss.
The parameters of rectangular pocket or boss with rounded corners.
|
inline |
Default constructor.
Constructor of pocket.
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.