HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_FitCubicT< T > Class Template Reference

#include <UT_FitCubic.h>

Classes

struct  Span
 

Public Types

typedef UT_Vector2T< TVector2
 
typedef Vector2 CubicCurve [4]
 

Public Member Functions

 UT_FitCubicT ()
 
 ~UT_FitCubicT ()
 
int fitCurve (Vector2 *d, int nPts, int closed, fpreal error2, bool preserveExtrema)
 
const SpangetFirstSpan () const
 
int numSpans () const
 
int containsCurve ()
 
void setCurveType (utCurveType type)
 
void setType (utFitType type)
 

Static Public Member Functions

static Vector2 calcCubic (Vector2 *V, fpreal t)
 

Detailed Description

template<typename T>
class UT_FitCubicT< T >

Definition at line 37 of file UT_FitCubic.h.

Member Typedef Documentation

template<typename T >
typedef Vector2 UT_FitCubicT< T >::CubicCurve[4]

Definition at line 45 of file UT_FitCubic.h.

template<typename T >
typedef UT_Vector2T<T> UT_FitCubicT< T >::Vector2

Definition at line 44 of file UT_FitCubic.h.

Constructor & Destructor Documentation

template<typename T >
UT_FitCubicT< T >::UT_FitCubicT ( )

Definition at line 67 of file UT_FitCubicImpl.h.

template<typename T >
UT_FitCubicT< T >::~UT_FitCubicT ( )

Definition at line 78 of file UT_FitCubicImpl.h.

Member Function Documentation

template<typename T >
UT_FitCubicT< T >::Vector2 UT_FitCubicT< T >::calcCubic ( Vector2 V,
fpreal  t 
)
static

Definition at line 762 of file UT_FitCubicImpl.h.

template<typename T >
int UT_FitCubicT< T >::containsCurve ( )
inline

Definition at line 66 of file UT_FitCubic.h.

template<typename T >
int UT_FitCubicT< T >::fitCurve ( Vector2 d,
int  nPts,
int  closed,
fpreal  error2,
bool  preserveExtrema 
)

Definition at line 102 of file UT_FitCubicImpl.h.

template<typename T >
const Span* UT_FitCubicT< T >::getFirstSpan ( ) const
inline

Definition at line 60 of file UT_FitCubic.h.

template<typename T >
int UT_FitCubicT< T >::numSpans ( ) const
inline

Definition at line 63 of file UT_FitCubic.h.

template<typename T >
void UT_FitCubicT< T >::setCurveType ( utCurveType  type)
inline

Definition at line 69 of file UT_FitCubic.h.

template<typename T >
void UT_FitCubicT< T >::setType ( utFitType  type)
inline

Definition at line 72 of file UT_FitCubic.h.


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