C3D Toolkit  Kernel - 117950, Vision -

The parameters of notch. More...

#include <op_shell_parameter.h>

+ Inheritance diagram for HoleValues:
+ Collaboration diagram for HoleValues:

Public Member Functions

virtual ~HoleValues ()
virtual MbeHoleType Type () const =0
 Type of notch.
virtual HoleValuesDuplicate (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 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 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)

Protected Attributes

 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 notch.

The common parameters of notch construction: holes, figure slot, pocket (boss).

Constructor & Destructor Documentation

◆ HoleValues()

HoleValues::HoleValues ( )

Default constructor.

Constructor of notch parameters with zero angles and planar surfaces.

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