C4 Engine
C4 Engine API Documentation

class QuadraticBezier2D

Defined in:  TSBezier.h
The QuadraticBezier2D class encapsulates a 2D quadratic Bézier curve, which consists of three 2D control points.
Definition

class QuadraticBezier2D

Constructor

QuadraticBezier2D();

QuadraticBezier2D(const Point2D& a, const Point2D& b, const Point2D& c);

Parameters
a,b,c The control points of the Bézier curve.
Description
The QuadraticBezier2D class encapsulates the three control points of a 2D quadratic Bézier curve.

The default constructor leaves the control points of the Bézier curve undefined.
See Also

Point2D