numeric
Public Types | Public Member Functions | List of all members
numeric::PlaneFitting< Scalar >::ResultNormal Class Reference

#include <PlaneFitting.hpp>

Public Types

typedef Eigen::Hyperplane< Scalar, 3 > Plane
 

Public Member Functions

 ResultNormal (const PlaneFitting< Scalar > &sum)
 
Vector3 getNormal () const
 
Scalar getOffset () const
 
Plane getPlane () const
 
Scalar getResiduals () const
 

Detailed Description

template<class Scalar>
class numeric::PlaneFitting< Scalar >::ResultNormal

Class to fit a plane which minimizes the squared distances of the points in normal direction. For almost horizontal planes this is approximately the same as minimizing

Member Typedef Documentation

◆ Plane

template<class Scalar>
typedef Eigen::Hyperplane<Scalar, 3> numeric::PlaneFitting< Scalar >::ResultNormal::Plane

Constructor & Destructor Documentation

◆ ResultNormal()

template<class Scalar>
numeric::PlaneFitting< Scalar >::ResultNormal::ResultNormal ( const PlaneFitting< Scalar > &  sum)
inline

Member Function Documentation

◆ getNormal()

template<class Scalar>
Vector3 numeric::PlaneFitting< Scalar >::ResultNormal::getNormal ( ) const
inline

◆ getOffset()

template<class Scalar>
Scalar numeric::PlaneFitting< Scalar >::ResultNormal::getOffset ( ) const
inline

◆ getPlane()

template<class Scalar>
Plane numeric::PlaneFitting< Scalar >::ResultNormal::getPlane ( ) const
inline

Returns a plane parametrized by normal vector and offset

◆ getResiduals()

template<class Scalar>
Scalar numeric::PlaneFitting< Scalar >::ResultNormal::getResiduals ( ) const
inline

Returns the chi^2 error


The documentation for this class was generated from the following file: