9#include "./algebraicSphere.h"
55template <
class DataPo
int,
class _WFunctor,
typename T >
58PONCA_FITTING_DECLARE_DEFAULT_TYPES
63 Check = Base::PROVIDES_ALGEBRAIC_SPHERE
66 typedef Eigen::Matrix<Scalar, DataPoint::Dim+2, 1> VectorA;
67 typedef Eigen::Matrix<Scalar, DataPoint::Dim+2, DataPoint::Dim+2> MatrixA;
70 using Solver = Eigen::EigenSolver<MatrixA>;
80 PONCA_FITTING_DECLARE_INIT_ADD_FINALIZE
81 PONCA_FITTING_IS_SIGNED(
false)
83 PONCA_MULTIARCH inline const Solver& solver()
const {
return m_solver; }
88template <
class DataPo
int,
class _WFunctor,
typename T>
95#include "sphereFit.hpp"
Algebraic Sphere primitive.
Algebraic Sphere fitting procedure on point set without normals.
MatrixA m_matA
Covariance matrix of [1, p, p^2].
SphereFitImpl< DataPoint, _WFunctor, T > & sphereFit()
Explicit conversion to SphereFitImpl , to access methods potentially hidden by heritage.
This Source Code Form is subject to the terms of the Mozilla Public License, v.