Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
bezier-curve.h File Reference

Bezier curve. More...

Go to the source code of this file.

Classes

class  Geom::BezierCurve
 Two-dimensional Bezier curve of arbitrary order. More...
 
class  Geom::BezierCurveN< degree >
 Bezier curve with compile-time specified order. More...
 
class  Geom::BezierCurveN< 0 >
 

Namespaces

namespace  Geom
 Various utility functions.
 

Typedefs

typedef BezierCurveN< 1 > Geom::LineSegment
 Line segment.
 
typedef BezierCurveN< 2 > Geom::QuadraticBezier
 Quadratic (order 2) Bezier curve.
 
typedef BezierCurveN< 3 > Geom::CubicBezier
 Cubic (order 3) Bezier curve.
 

Functions

Point Geom::middle_point (LineSegment const &_segment)
 
Coord Geom::length (LineSegment const &seg)
 
Coord Geom::bezier_length (std::vector< Point > const &points, Coord tolerance)
 Compute the length of a bezier curve given by a vector of its control points.
 
Coord Geom::bezier_length (Point a0, Point a1, Point a2, Coord tolerance)
 Compute the length of a quadratic bezier curve given by its control points.
 
Coord Geom::bezier_length (Point a0, Point a1, Point a2, Point a3, Coord tolerance)
 Compute the length of a cubic bezier curve given by its control points.
 

Detailed Description

Bezier curve.

Definition in file bezier-curve.h.