Developer Documentation
ACG::BezierCurveT< Point > Class Template Reference

#include <ACG/Math/BezierCurveT.hh>

Inheritance diagram for ACG::BezierCurveT< Point >:

Public Types

typedef Point::value_type Scalar
typedef BezierCurveT< Point > Self
typedef std::vector< Point > Base

Public Member Functions

 BezierCurveT ()
 ~BezierCurveT ()
unsigned int degree () const
 return degree (= size()-1)
Point operator() (Scalar _t) const
 evaluate curve at parameter _t using deCasteljau
void subdivide (Scalar _t, Self &_curve0, Self &_curve1) const

Detailed Description

template<class Point>
class ACG::BezierCurveT< Point >

Bezier curve. Derived from std::vector<Vector<Scalar, Dimension>>.

Definition at line 83 of file BezierCurveT.hh.

Member Function Documentation

template<class Point >
void ACG::BezierCurveT< Point >::subdivide ( Scalar  _t,
Self _curve0,
Self _curve1 
) const

subdivide curve at parameter _t, store the two resulting curves in _curve0, _curve1

Definition at line 104 of file

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