Skip to content

Commit

Permalink
add warning about gradient norm
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibaultLejemble authored and nmellado committed Dec 15, 2023
1 parent ce22c4d commit f40324b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Ponca/src/Fitting/algebraicSphere.h
Original file line number Diff line number Diff line change
Expand Up @@ -245,10 +245,12 @@ class AlgebraicSphere : public T
*/
PONCA_MULTIARCH inline VectorType projectDescent (const VectorType& _q, int nbIter = 16) const;

//! \brief Approximation of the scalar field gradient at \f$ \mathbf{q} (not normalized) \f$
/*! \brief Approximation of the scalar field gradient at \f$ \mathbf{q}\f$
\warning The gradient is not normalized by default */
PONCA_MULTIARCH inline VectorType primitiveGradient (const VectorType& _q) const;

/*! \brief Approximation of the scalar field gradient at the evaluation point */
/*! \brief Approximation of the scalar field gradient at the evaluation point
\warning The gradient is not normalized by default */
PONCA_MULTIARCH inline const VectorType& primitiveGradient () const { return m_ul; }

/*!
Expand Down

0 comments on commit f40324b

Please sign in to comment.