19 MRMESH_API void add(
const Vector3d& p1,
const Vector3d& p2,
double w = 1 );
22 void add(
const Vector3f& p1,
const Vector3f& p2,
float w = 1 ) {
add( Vector3d( p1 ), Vector3d( p2 ), w ); }
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
Definition MRCameraOrientationPlugin.h:8