C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

Parameters of fillet or chamfer of edge. More...

#include <op_shell_parameter.h>

Public Types

enum  CornerForm { ec_pointed = 0 , ec_either = 1 , ec_uniform = 2 , ec_sharp = 3 }
 Methods of processing corners of connection by three edges. More...
 

Public Member Functions

 SmoothValues ()
 Default constructor.
 
 SmoothValues (double d1, double d2, MbeSmoothForm f, double c, bool pro, CornerForm cor, bool autoS, bool keep, bool str, bool equ)
 Constructor. More...
 
 SmoothValues (double d1, double d2, MbeSmoothForm smoothForm, double conicValue, bool bProlong, CornerForm cornerForm, ThreeStates keepForm, bool isStrict, bool isEquable)
 Constructor. More...
 
 SmoothValues (const SmoothValues &other, MbRegDuplicate *iReg=nullptr)
 Copy-constructor.
 
virtual ~SmoothValues ()
 Destructor.
 
void Init (const SmoothValues &other)
 Initialization function.
 
virtual void Transform (const MbMatrix3D &, MbRegTransform *ireg=nullptr)
 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 *ireg=nullptr)
 Rotate an object at a given angle around an axis.
 
bool SetStopObjectAtBeg (const MbSurface *object, bool byObject=true)
 Set the plane by which parallel will be carry out stop of the fillet at the begin.
 
bool SetStopObjectAtEnd (const MbSurface *object, bool byObject=true)
 Set the plane by which parallel will be carry out stop of the fillet at the end.
 
void SetBegVector (const MbVector3D &vect)
 Set normal to the bound plane at the begin.
 
void SetEndVector (const MbVector3D &vect)
 Set normal to the bound plane at the end.
 
void GetBegVector (MbVector3D &vect) const
 Get normal vector to the bound plane at the begin of the fillet.
 
void GetEndVector (MbVector3D &vect) const
 Get normal vector to the bound plane at the end of the fillet.
 
void SetDistance1 (double d)
 Set radius of curvature/leg on the first surface.
 
void SetDistance2 (double d)
 Set radius of curvature/leg on the second surface.
 
double GetDistance1 () const
 Get radius of curvature/leg on the first surface.
 
double GetDistance2 () const
 Get radius of curvature/leg on the second surface. More...
 
void SetForm (MbeSmoothForm f)
 Method of processing corners of connection by three edges.
 
void SetSmoothCorner (CornerForm f)
 Prolong along the tangent.
 
void SetProlong (bool p)
 Auto detection of boundary saving (ts_neutral), surface saving (ts_negative), boundary saving (ts_positive).
 
void SetKeepCant (ThreeStates s)
 If false - round at least what is possible.
 
void SetStrict (bool s)
 In corners of the joint insert toroidal surface (for stamping sheet solid).
 
SmoothValuesoperator= (const SmoothValues &other)
 Assignment operator.
 
bool IsSame (const SmoothValues &other, double accuracy) const
 Determine whether an object is equal?
 
bool IsSimilar (const SmoothValues &other, double accuracy=PARAM_EPSILON) const
 Determine whether objects are partially equal.
 

Public Attributes

double distance1
 Radius of curvature/leg on the first surface.
 
double distance2
 Radius of curvature/leg on the second surface.
 
double conic
 Coefficient of shape is changed from 0.05 to 0.95 (if 0 - circular arc).
 
double begLength
 Distance from the beginning of fillet to the stop point (UNDEFINED_DBL - no stop).
 
double endLength
 Distance from the end of fillet to the stop point (UNDEFINED_DBL - no stop).
 
MbeSmoothForm form
 Mate type of fillet/chamfer.
 
CornerForm smoothCorner
 Method of processing corners of connection by three edges.
 
bool prolong
 Prolong along the tangent.
 
ThreeStates keepCant
 Auto detection of boundary saving (ts_neutral), surface saving (ts_negative), boundary saving (ts_positive).
 
bool strict
 If false - round at least what is possible.
 
bool equable
 In corners of the joint insert toroidal surface (for stamping sheet solid).
 

Detailed Description

Parameters of fillet or chamfer of edge.

The parameter of fillet or chamfer of edge contain Information necessary to perform the operation.

Member Enumeration Documentation

◆ CornerForm

Methods of processing corners of connection by three edges.

Enumerator
ec_pointed 

Processing of corner is missing.

ec_either 

Mating at one point of three edges are processed in the order of internal indexation of edges without convexity and concavity.

ec_uniform 

If two convex (concave) and one concave (convex) edge are mated at the point, then concave (convex) edge is processed at the first.

ec_sharp 

If two convex (concave) and one concave (convex) edge are mated at the point, then concave (convex) edges are processed at the first.

Constructor & Destructor Documentation

◆ SmoothValues() [1/2]

SmoothValues::SmoothValues ( double  d1,
double  d2,
MbeSmoothForm  f,
double  c,
bool  pro,
CornerForm  cor,
bool  autoS,
bool  keep,
bool  str,
bool  equ 
)
inline

Constructor.

Constructor by parameters.

Parameters
[in]d1,d2- Radii of curvature/catheti.
[in]f- Method of construction of mating surface.
[in]c- Coefficient of shape is changed from 0.05 to 0.95 (if 0 - circular arc).
[in]pro- Prolong along the tangent.
[in]cor- Method for bending corner of three surfaces.
[in]autoS- Auto detection of boundary/surface saving.
[in]keep- Keep boundary (true) or keep surface of fillet/chamfer (false).
[in]str- Strict fillet. If false - round at least what is possible.
[in]equ- In corners of the joint insert toroidal surface.

◆ SmoothValues() [2/2]

SmoothValues::SmoothValues ( double  d1,
double  d2,
MbeSmoothForm  smoothForm,
double  conicValue,
bool  bProlong,
CornerForm  cornerForm,
ThreeStates  keepForm,
bool  isStrict,
bool  isEquable 
)
inline

Constructor.

Constructor by parameters.

Parameters
[in]d1,d2- Radii of curvature/catheti.
[in]smoothForm- Method of construction of mating surface.
[in]conicValue- Coefficient of shape is changed from 0.05 to 0.95 (if 0 - circular arc).
[in]bProlong- Prolong along the tangent.
[in]cornerForm- Method for bending corner of three surfaces.
[in]keepForm- Auto detection of boundary saving (ts_neutral), surface saving (ts_negative), boundary saving (ts_positive).
[in]isStrict- Strict fillet. If false - round at least what is possible.
[in]isEquable- In corners of the joint insert toroidal surface.

Member Function Documentation

◆ GetDistance2()

double SmoothValues::GetDistance2 ( ) const
inline

Get radius of curvature/leg on the second surface.

Mate type of fillet/chamfer.


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