C3D Toolkit
Kernel - 117950, Vision - 2.7.5.29
|
The parameters of notch. More...
#include <op_shell_parameter.h>
Public Member Functions | |
virtual | ~HoleValues () |
Destructor. | |
virtual MbeHoleType | Type () const =0 |
Type of notch. | |
virtual HoleValues & | Duplicate (MbRegDuplicate *=nullptr) const =0 |
Create a copy of the object. | |
virtual void | Transform (const MbMatrix3D &, MbRegTransform *=nullptr)=0 |
Transform an object according to the matrix. | |
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. | |
virtual bool | IsSame (const HoleValues &, double accuracy) const |
Determine whether an object is equal? | |
virtual void | operator= (const HoleValues &)=0 |
Assignment operator. | |
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 | 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). | |
Protected Member Functions | |
HoleValues () | |
Default constructor. More... | |
HoleValues (const HoleValues &other, MbRegDuplicate *iReg) | |
Copy-constructor. | |
Protected Attributes | |
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 notch.
The common parameters of notch construction: holes, figure slot, pocket (boss).
|
protected |
Default constructor.
Constructor of notch parameters with zero angles and planar surfaces.