C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

Parameters for the replacement of repetative meshes (MbMesh) into MbInstance. More...

#include <op_mesh_parameter.h>

+ Inheritance diagram for MbMeshToInstanceParams:
+ Collaboration diagram for MbMeshToInstanceParams:

Public Member Functions

 MbMeshToInstanceParams ()
 Default constructor.
 
 MbMeshToInstanceParams (double precision, bool isAbsoluteAccuracy)
 Constructor.
 
 ~MbMeshToInstanceParams ()
 Destructor.
 
void SetAbsoluteAccuracy (bool isAbs)
 Switch between absolute and relative accuracy.
 
bool IsAbsoluteAccuracy () const
 Whether the accuracy is set to absolute or relative.
 
- Public Member Functions inherited from MbPrecision
 MbPrecision ()
 Default constructor.
 
 MbPrecision (double _precision, double _deviation)
 Constructor by the specified precision.
 
 MbPrecision (const MbPrecision &other)
 Copy-constructor.
 
 ~MbPrecision ()
 Destructor.
 
void Init (const MbPrecision &other)
 Initialization function.
 
void Init (double _precision)
 Initialization function.
 
MbPrecisionoperator= (const MbPrecision &other)
 Assignment operator.
 
bool IsSame (const MbPrecision &other, double accuracy) const
 Determine whether an object is equal?
 
double GetPrecision () const
 Get precision.
 
void SetPrecision (double a)
 Set precision.
 

Additional Inherited Members

- Static Public Member Functions inherited from MbPrecision
static double GetMaxMetricTolerance ()
 Get the maximum metric tolerance. More...
 
static double GetMaxAngleTolerance ()
 Get the maximum angular tolerance. More...
 
- Protected Attributes inherited from MbPrecision
double precision
 The metric precision of the construction of objects.
 
double deviation
 The angular precision of the construction of objects.
 

Detailed Description

Parameters for the replacement of repetative meshes (MbMesh) into MbInstance.

Parameters for the replacement of repetative meshes (MbMesh) into MbInstance. It is possible to switch between absolute/relative accuracy for the points comparison. The relative accuracy is the upper bound of the expression abs( (c1 - c2) / (c1 + c2) ) for each coordinate.


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