C3D Toolkit  Kernel - 117978, Vision - 2.9.1.5

The precision of object construction. More...

#include <op_binding_data.h>

+ Inheritance diagram for MbPrecision:

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.
 
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.
 

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

readeroperator>> (reader &, MbPrecision &)
 Read operator.
 
writeroperator<< (writer &, const MbPrecision &)
 Write operator.
 

Detailed Description

The precision of object construction.

The class contains the metric and angular precision of object construction.

Member Function Documentation

◆ GetMaxMetricTolerance()

static double MbPrecision::GetMaxMetricTolerance ( )
static

Get the maximum metric tolerance.

Get the maximum allowable metric tolerance.

Returns
Returns the value of maximum metric tolerance.

◆ GetMaxAngleTolerance()

static double MbPrecision::GetMaxAngleTolerance ( )
static

Get the maximum angular tolerance.

Get the maximum allowable angular tolerance.

Returns
Returns the value of maximum angular tolerance.

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