C3D Toolkit  Kernel - 109619, Vision - 2.4.0.75

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 (const SmoothValues &other, MbRegDuplicate *iReg=NULL)
 Copy-constructor.
 
virtual ~SmoothValues ()
 Destructor.
 
void Init (const SmoothValues &other)
 Initialization function.
 
virtual void Transform (const MbMatrix3D &, MbRegTransform *ireg=NULL)
 Transform an object according to the matrix.
 
virtual void Move (const MbVector3D &, MbRegTransform *=NULL)
 Move an object along a vector.
 
virtual void Rotate (const MbAxis3D &, double ang, MbRegTransform *ireg=NULL)
 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.
 
SmoothValuesoperator= (const SmoothValues &other)
 Assignment operator.
 
bool IsSame (const SmoothValues &other, double accuracy) const
 Determine whether an object is 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()

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.

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