C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
The precision of object construction. More...
#include <op_binding_data.h>
Public Member Functions | |
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. | |
Static Public Member Functions | |
static double | GetMaxMetricTolerance () |
Get the maximum metric tolerance. More... | |
static double | GetMaxAngleTolerance () |
Get the maximum angular tolerance. More... | |
Protected Attributes | |
double | precision |
The metric precision of the construction of objects. | |
double | deviation |
The angular precision of the construction of objects. | |
Friends | |
reader & | operator>> (reader &, MbPrecision &) |
Read operator. | |
writer & | operator<< (writer &, const MbPrecision &) |
Write operator. | |
The precision of object construction.
The class contains the metric and angular precision of object construction.
|
static |
Get the maximum metric tolerance.
Get the maximum allowable metric tolerance.
|
static |
Get the maximum angular tolerance.
Get the maximum allowable angular tolerance.