33 #ifndef __usGeometryTools_h
34 #define __usGeometryTools_h
38 #include <visp3/core/vpColVector.h>
39 #include <visp3/core/vpConfig.h>
41 #include <visp3/ustk_core/usBSpline3D.h>
42 #include <visp3/ustk_core/usOrientedPlane3D.h>
43 #include <visp3/ustk_core/usPolynomialCurve3D.h>
54 double threshold,
double *t =
nullptr);
56 double threshold,
double *t =
nullptr);
58 const vpColVector &direction = vpColVector());
60 double threshold = -1,
double *t =
nullptr);
62 int *index =
nullptr,
double *t =
nullptr);
69 double *res =
nullptr);
73 std::vector<vpColVector> &P2,
74 const vpRotationMatrix &worldRprobe,
75 double *res =
nullptr);
80 double *res =
nullptr);
86 std::vector<vpColVector> &P1, std::vector<vpColVector> &P2,
double *res =
nullptr,
87 vpPoseVector *initialGuess =
90 std::vector<vpColVector> &P1, std::vector<vpColVector> &P2,
const vpRotationMatrix &worldRprobe,
91 double *res =
nullptr,
92 vpTranslationVector *initialGuess =
95 std::vector<vpColVector> &P1, std::vector<vpColVector> &P2,
double *res =
nullptr,
96 vpRotationMatrix *initialGuess =
99 VISP_EXPORT
bool fitCircleTo2DPointCloud(
const std::vector<vpColVector> &points, vpColVector ¢er,
double &r);
100 VISP_EXPORT
bool fitSphereTo3DPointCloud(
const std::vector<vpColVector> &points, vpColVector ¢er,
double &r);