|
C3D Toolkit
Kernel - 118056, Vision - 2.14.6.1819
|
The precision of object construction. More...
#include <op_binding_data.h>
Inherited by MbBeamElementParams, MbBendSheetSolidByEdgesParams, MbBooleanOperationParams, MbCheckTopologyParams, MbCloseCornerParams, MbCollectFacesParams, MbCreatePartsParams, MbCurveExtensionParameters, MbCurveFitParametersBase, MbCurvePolymeshProjectParams, MbCurvesWrappingParams, MbCutShellSilhouetteParams, MbCutSolidArrayByBordersParams, MbDraftSolidParams, MbEvolutionShellParams, MbFairChangeData, MbFairCreateData, MbFairFilletData, MbFilletData, MbIngotSolidParams, MbIntCurveParams, MbLatheCurvesParams, MbLoftedCurvesShellParams, MbLoftedPointsShellParams, MbMedianCurveParams, MbMedianShellParams, MbMeshShellParameters, MbMeshToInstanceParams, MbNearestSolidParams, MbNurbsParameters, MbNurbsSurfacesShellParams, MbNurbsWireFrameParams, MbOffsetWireFrameParams, MbPatchShellParams, MbPolylinePolymeshProjectParams, MbPolymeshBooleanParams, MbPolymeshImprintParams, MbProjectionWireFrameParams, MbRemoveOperationResultParams, MbRuledShellParams, MbSectionData, MbSheetRibSolidParams, MbSheetSolidJointBendParams, MbSolidToSheetMetalParams, MbSpaceContourCreationParams, MbSphericalStampParams, MbStampParams, MbTrimmedWireFrameParams, MbTruncateShellParams, MbWireFrameFilletsParams, and MbWireFrameProjParams.
Collaboration 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. | |
| 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... | |
Static Public Attributes | |
| static const MbPrecision | defaultPrecision |
| Default precision (METRIC_PRECISION, ANGLE_REGION);. | |
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.