|
C3D Toolkit
Kernel - 118057, Vision - 2.14.7.1821
|
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 (double precision, bool isAbsoluteAccuracy, bool eachObjectInstancing) | |
| 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. | |
| bool | IsOriginReplacedByInstance () const |
| All objects in the output array are instances or not. | |
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. | |
| 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 Public Member Functions inherited from MbPrecision | |
| static double | GetMaxMetricTolerance () |
| Get the maximum metric tolerance. More... | |
| static double | GetMaxAngleTolerance () |
| Get the maximum angular tolerance. More... | |
Static Public Attributes inherited from MbPrecision | |
| static const MbPrecision | defaultPrecision |
| Default precision (METRIC_PRECISION, ANGLE_REGION);. | |
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. | |
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.