C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

Data for step calculation. More...

#include <mb_data.h>

+ Collaboration diagram for MbStepData:

Public Member Functions

 MbStepData (MbeStepType t, double s, IProgressIndicator *prog=nullptr)
 Constructor by step type.
 
 MbStepData ()
 Empty constructor.
 
 MbStepData (const MbStepData &other)
 Copy-constructor.
 
 ~MbStepData ()
 Destructor.
 
void SetStepType (MbeStepType t, bool add=true)
 Set the method of calculation of parameter increment by the object.
 
void SetSag (double s)
 Set the maximum permissible sag at adjacent points away step.
 
void SetAngle (double a)
 Set the maximum angular deviation in the neighboring points on the distance of a step.
 
void SetLength (double l)
 Set the maximum distance between points a step away.
 
void SetMaxCount (size_t c)
 Set the maximum count of cell in row and column for triangulation grid.
 
double GetSag () const
 Get the maximum permissible sag at adjacent points away step.
 
double GetAngle () const
 Get the maximum angular deviation in the neighboring points on the distance of a step.
 
double GetLength () const
 Get the maximum distance between points a step away.
 
size_t GetMaxCount () const
 Get the maximum count of cell in row and column for triangulation grid.
 
bool StepIs (MbeStepType sType) const
 This step is set.
 
bool SagIncluded () const
 Step by maximum deflection defined.
 
bool AngleIncluded () const
 Step by angular deviation defined.
 
bool LengthIncluded () const
 Step by maximum distance defined.
 
void Init (MbeStepType t, double s, double a, double l, size_t c=0)
 Set data for step calculation during triangulation.
 
void InitStepBySag (double s)
 Set data for step calculation during triangulation.
 
void Init (const MbStepData &other)
 Copy function of data.
 
MbStepDataoperator= (const MbStepData &other)
 Assignment operator.
 
void Reset ()
 Reset data for step calculation.
 
bool IsEqual (const MbStepData &other, double epsilon) const
 Equal function.
 
bool IsEmpty (double epsilon) const
 Is empty?
 

Public Attributes

IProgressIndicatorprogress
 A progress indicator of the operation.
 

Detailed Description

Data for step calculation.

Data for step calculation during face triangulation.


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