C3D Toolkit  Kernel - 118060, Vision - 2.15.0.1825

Operation parameters of median shell between selected faces of solid. More...

#include <op_shell_parameter.h>

Public Types

enum  FilletType { tf_none = 0 , tf_internal = 1 , tf_external = 2 , tf_average = 3 }
 Type of fillet radius calculation between faces of median shell. More...
 
enum  MedianAttr { ma_none = 0 , ma_min = 1 , ma_mid = 2 , ma_max = 3 }
 The flag of calculation and writing into face attributes the value of median shell thickness. More...
 
enum  InputMode { im_pairs = 0 , im_twogroups = 1 }
 Input faces mode. More...
 

Public Member Functions

 MedianShellValues ()
 Default constructor.
 
 MedianShellValues (const MedianShellValues &other)
 Copy-constructor.
 
 MedianShellValues (double pos, double d1, double d2, bool cut)
 Constructor by parameters.
 
bool IsSame (const MedianShellValues &obj, double accuracy) const
 Determine whether an object is equal?
 
FilletType GetType () const
 Get type of fillet.
 
FilletTypeSetType ()
 Get type of fillet for changing.
 
MedianAttr GetMedianAttr () const
 Get type of fillet.
 
MedianAttrSetMedianAttr ()
 Get type of fillet for changing.
 
MedianShellValuesoperator= (const MedianShellValues &other)
 Assignment operator.
 

Public Attributes

FilletType filletType
 Fillet processing flag.
 
MedianAttr medianAttribute
 The flag of calculation and writing into face attributes the value of median shell thickness .
 
double position
 Parameter of shift the median surface from first face in faces pair. By default is 50% from distance between faces in pair.
 
double dmin
 Minimal equidistation value.
 
double dmax
 Maximal equidistation value.
 
bool cutByBordes
 Flag indicates is need to truncate median shell by parent shell faces.
 
InputMode inputMode
 Input faces mode.
 
bool detectPairs
 When two groups of faces are specified, try to detect pairs of offset faces in them.
 
c3d::BoolPair groupsInvNormals
 When two groups of faces are specified each flag from pair indicates inversion of normals for corresponding group.
 
bool respGroupExt
 When two groups of faces are specified, this flag defines whether faces from response (second) group may be extended when necessary.
 

Detailed Description

Operation parameters of median shell between selected faces of solid.

Operation parameters of median shell between selected faces of solid. Selected face pairs should be offset from each other. The faces must belong to the same body.

Member Enumeration Documentation

◆ FilletType

Type of fillet radius calculation between faces of median shell.

The flag can be set by calling MedianShellValues::SetType().

Enumerator
tf_none 

Undefined.

tf_internal 

By internal fillet face.

tf_external 

By external fillet face.

tf_average 

By average value.

◆ MedianAttr

The flag of calculation and writing into face attributes the value of median shell thickness.

The flag can be set by calling MedianShellValues::SetMedianAttr().

Enumerator
ma_none 

Do not write.

ma_min 

Write. With setted flag filletType !=tf_none, the median thickness calculated as minimal value of adjanced faces.

ma_mid 

Write. With setted flag filletType !=tf_none, the median thickness calculated as average value of adjanced faces.

ma_max 

Write. With setted flag filletType !=tf_none, the median thickness calculated as maximal value of adjanced faces.

◆ InputMode

Input faces mode.

Clarifies how the specified face pairs are interpreted.

Enumerator
im_pairs 

Pairs of faces.

im_twogroups 

Two groups of faces. First face in each pair goes to the first group, second face goes to the second group.


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