C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

Old parameters for a solid direct modification. More...

#include <op_direct_mod_parameter.h>

+ Collaboration diagram for ModifyValues:

Public Member Functions

 ModifyValues ()
 Default constructor. More...
 
 ModifyValues (MbeModifyingType w, const MbVector3D &p)
 Constructor by way of modification and movement vector.
 
 ModifyValues (MbeModifyingType w, double val, double eps=Math::metricAccuracy)
 Constructor by way of modification and the scalar value.
 
 ModifyValues (MbeModifyingType w, double val, bool removeAdjacentFillets)
 Constructor by way of modification and the scalar value.
 
 ModifyValues (const ModifyValues &other)
 Copy-constructor.
 
 ~ModifyValues ()
 Destructor.
 
void Init (const ModifyValues &other)
 Copy function.
 
ModifyValuesoperator= (const ModifyValues &other)
 Assignment operator.
 
void Transform (const MbMatrix3D &matr)
 Transform an object according to the matrix.
 
void Move (const MbVector3D &to)
 Move an object along a vector.
 
void Rotate (const MbAxis3D &axis, double ang)
 Rotate an object at a given angle around an axis.
 
bool IsSame (const ModifyValues &other, double accuracy) const
 Determine whether an object is equal?
 
const MbVector3DGetDirection () const
 Moving when modifying.
 
const MbCartPoint3DGetOrigin () const
 Fulcrum when modifying.
 
double GetValue () const
 Offset value/change of radius.
 
double GetTolerance () const
 Operation tolerance.
 
void SetRemoveFillets (bool remove)
 Set the flag to remove adjacent fillets.
 

Public Attributes

MbeModifyingType way
 Type of modification.
 
MbVector3D direction
 Moving when modifying.
 
MbCartPoint3D origin
 Fulcrum when modifying.
 
double value
 Offset value/change of radius.
 
double tolerance
 Operation tolerance.
 
bool removeWithFillets
 Whether to delete a face toghether with adjacent fillets.
 

Detailed Description

Old parameters for a solid direct modification.

Parameters for a solid direct modification include the type of operation (MbeModifyingType) and its parameters. The possible operations depend on the 'way' parameter and are listed below:

  1. Removal of the specified faces with the neighborhood from a solid (way==dmt_Remove). By default the faces are removed with the connected fillets. To remove without connected fillets set the flag removeWithFillets = false.
  2. Creation of a solid from the specified faces with the neighborhood (way==dmt_Create).
  3. Translation of the specified faces with neighborhood relative to the other faces of the solid (way==dmt_Action). The translation direction is defined by the 'direction' vector.
  4. Replacement of the specified faces by offset faces (way==dmt_Offset). The distance of the offset (or radius change) is defined by 'value' or by the length of 'direction'.
  5. Radius change of the specified fillet faces (way==dmt_Fillet). The value of radius change is defined by 'value' or by the length of 'direction'.
  6. Replacement of the specified faces of a solid with a deformable NURBS faces for editing (way==dmt_Supple).
  7. Removal of the specified fillet faces from a solid (way==dmt_Purify).
  8. Edge vertices merging and edges removal (way==dmt_Merger).
  9. Replacement of the smoothly joined faces with a single face (way==dmt_United).
  10. Rotation of the chosen faces (way==dmt_Rotate). The rotation angle is defined by the 'value', the rotation axis is defined by the point 'origin' and 'direction' vector.
    Deprecated:
    The class is deprecated and will be removed in version 2024. Use MbModifiedSolidParams intead.

Constructor & Destructor Documentation

◆ ModifyValues()

ModifyValues::ModifyValues ( )
inline

Default constructor.

Constructor of operation parameters of removing the specified faces from the solid.


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