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>
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. | |
![]() | |
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. | |
MbPrecision & | operator= (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 double | GetMaxMetricTolerance () |
Get the maximum metric tolerance. More... | |
static double | GetMaxAngleTolerance () |
Get the maximum angular tolerance. More... | |
![]() | |
double | precision |
The metric precision of the construction of objects. | |
double | deviation |
The angular precision of the construction of objects. | |
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.