19 MRMESH_API void add(
const Vector3d& p1,
const Vector3d& p2,
double w = 1 );
31 [[nodiscard]] Vector3d
centroid1()
const {
return sum1_ / sumW_; }
34 [[nodiscard]] Vector3d
centroid2()
const {
return sum2_ / sumW_; }
63 BestRotation findPureRotation_()
const;
66 Matrix3d sum12_ = Matrix3d::zero();
67 Vector3d sum1_, sum2_;
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
represents a 3-dimentional float-typed vector
Definition MRDotNet/MRVector3.h:8
Definition MRCameraOrientationPlugin.h:8