Public Member Functions | Private Attributes | List of all members
gte::ApprPolynomial2< Real > Class Template Reference

#include <GteApprPolynomial2.h>

Inheritance diagram for gte::ApprPolynomial2< Real >:
Inheritance graph
[legend]

Public Member Functions

 ApprPolynomial2 (int degree)
 
Real Error (std::array< Real, 2 > const &observation) const
 
Real Evaluate (Real x) const
 
bool Fit (std::vector< std::array< Real, 2 >> const &observations, std::vector< int > const &indices)
 
int GetMinimumRequired () const
 
std::vector< Real > const & GetParameters () const
 
std::array< Real, 2 > const & GetXDomain () const
 
- Public Member Functions inherited from gte::ApprQuery< Real, ApprPolynomial2< Real >, std::array< Real, 2 > >
bool Fit (std::vector< std::array< Real, 2 > > const &observations)
 
bool Fit (std::vector< std::array< Real, 2 > > const &observations, int const imin, int const imax)
 
bool Fit (std::vector< std::array< Real, 2 > > const &observations, std::vector< int > const &indices, int const numIndices)
 

Private Attributes

int mDegree
 
std::vector< Real > mParameters
 
int mSize
 
std::array< Real, 2 > mXDomain
 

Additional Inherited Members

- Static Public Member Functions inherited from gte::ApprQuery< Real, ApprPolynomial2< Real >, std::array< Real, 2 > >
static bool RANSAC (ApprPolynomial2< Real > &candidateModel, std::vector< std::array< Real, 2 > > const &observations, int const numRequiredForGoodFit, Real const maxErrorForGoodFit, int const numIterations, std::vector< int > &bestConsensus, ApprPolynomial2< Real > &bestModel)
 

Detailed Description

template<typename Real>
class gte::ApprPolynomial2< Real >

Definition at line 40 of file GteApprPolynomial2.h.

Constructor & Destructor Documentation

template<typename Real >
gte::ApprPolynomial2< Real >::ApprPolynomial2 ( int  degree)

Definition at line 77 of file GteApprPolynomial2.h.

Member Function Documentation

template<typename Real >
Real gte::ApprPolynomial2< Real >::Error ( std::array< Real, 2 > const &  observation) const

Definition at line 167 of file GteApprPolynomial2.h.

template<typename Real >
Real gte::ApprPolynomial2< Real >::Evaluate ( Real  x) const

Definition at line 188 of file GteApprPolynomial2.h.

template<typename Real >
bool gte::ApprPolynomial2< Real >::Fit ( std::vector< std::array< Real, 2 >> const &  observations,
std::vector< int > const &  indices 
)

Definition at line 95 of file GteApprPolynomial2.h.

template<typename Real >
int gte::ApprPolynomial2< Real >::GetMinimumRequired ( ) const

Definition at line 89 of file GteApprPolynomial2.h.

template<typename Real >
std::vector< Real > const & gte::ApprPolynomial2< Real >::GetParameters ( ) const

Definition at line 176 of file GteApprPolynomial2.h.

template<typename Real >
std::array< Real, 2 > const & gte::ApprPolynomial2< Real >::GetXDomain ( ) const

Definition at line 182 of file GteApprPolynomial2.h.

Member Data Documentation

template<typename Real >
int gte::ApprPolynomial2< Real >::mDegree
private

Definition at line 70 of file GteApprPolynomial2.h.

template<typename Real >
std::vector<Real> gte::ApprPolynomial2< Real >::mParameters
private

Definition at line 72 of file GteApprPolynomial2.h.

template<typename Real >
int gte::ApprPolynomial2< Real >::mSize
private

Definition at line 70 of file GteApprPolynomial2.h.

template<typename Real >
std::array<Real, 2> gte::ApprPolynomial2< Real >::mXDomain
private

Definition at line 71 of file GteApprPolynomial2.h.


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


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:05