Developer Documentation

Public Types | Public Member Functions | List of all members
ACG::BezierCurveT< Point > Class Template Reference

`#include <OpenFlipper/libs_required/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 ()
| constructor
| ~BezierCurveT ()
| destructor
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 77 of file BezierCurveT.hh.

## Member Function Documentation

## ◆ subdivide()

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 98 of file BezierCurveT_impl.hh.

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

- OpenFlipper/libs_required/ACG/Math/BezierCurveT.hh
- OpenFlipper/libs_required/ACG/Math/BezierCurveT_impl.hh