Public Member Functions

gmtl::QuadraticCurve< DATA_TYPE, SIZE > Class Template Reference

A representation of a quadratic curve with order set to 3. More...

#include <ParametricCurve.h>

Inheritance diagram for gmtl::QuadraticCurve< DATA_TYPE, SIZE >:
Inheritance graph
[legend]
Collaboration diagram for gmtl::QuadraticCurve< DATA_TYPE, SIZE >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 QuadraticCurve ()
 QuadraticCurve (const QuadraticCurve &other)
 ~QuadraticCurve ()
QuadraticCurveoperator= (const QuadraticCurve &other)
void makeBezier ()

Detailed Description

template<typename DATA_TYPE, unsigned SIZE>
class gmtl::QuadraticCurve< DATA_TYPE, SIZE >

A representation of a quadratic curve with order set to 3.

Template Parameters:
DATA_TYPE The data type to use for the components.
SIZE The number of components this curve has.

Definition at line 250 of file ParametricCurve.h.


Constructor & Destructor Documentation

template<typename DATA_TYPE , unsigned SIZE>
gmtl::QuadraticCurve< DATA_TYPE, SIZE >::QuadraticCurve (  ) 

Definition at line 262 of file ParametricCurve.h.

{
}

template<typename DATA_TYPE , unsigned SIZE>
gmtl::QuadraticCurve< DATA_TYPE, SIZE >::QuadraticCurve ( const QuadraticCurve< DATA_TYPE, SIZE > &  other  ) 

Definition at line 267 of file ParametricCurve.h.

{
   *this = other;
}

template<typename DATA_TYPE , unsigned SIZE>
gmtl::QuadraticCurve< DATA_TYPE, SIZE >::~QuadraticCurve (  ) 

Definition at line 273 of file ParametricCurve.h.

{
}


Member Function Documentation

template<typename DATA_TYPE , unsigned SIZE>
void gmtl::QuadraticCurve< DATA_TYPE, SIZE >::makeBezier (  ) 

Definition at line 287 of file ParametricCurve.h.

{
   mBasisMatrix.set(
      1.0, -2.0, 1.0,
      -2.0, 2.0, 0.0,
      1.0, 0.0, 0.0
   );
}

template<typename DATA_TYPE , unsigned SIZE>
QuadraticCurve< DATA_TYPE, SIZE > & gmtl::QuadraticCurve< DATA_TYPE, SIZE >::operator= ( const QuadraticCurve< DATA_TYPE, SIZE > &  other  ) 

Definition at line 279 of file ParametricCurve.h.

{
   ParametricCurve::operator =(other);

   return *this;
}


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