Base: [skip ci] use Precision class in Rotation::makeRotationByAxes

This commit is contained in:
wmayer
2022-07-30 17:21:59 +02:00
parent b4719a3fb3
commit 8abd40a788

View File

@@ -28,6 +28,7 @@
#include "Rotation.h"
#include "Matrix.h"
#include "Precision.h"
using namespace Base;
@@ -496,7 +497,7 @@ Rotation Rotation::identity()
Rotation Rotation::makeRotationByAxes(Vector3d xdir, Vector3d ydir, Vector3d zdir, const char* priorityOrder)
{
const double tol = 1e-7; //equal to OCC Precision::Confusion
const double tol = Precision::Confusion();
enum dirIndex {
X,
Y,