cubicbezier: Efficient manipulating of 2D cubic bezier curves.

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.



This library supports efficient manipulating of 2D cubic bezier curves. The original goal is to support typography, but it is useful for general graphics. Supported features are:

Evaluating bezier curves and derivatives, affine transformations on bezier curves, arclength and inverse arclength, intersections between two curves, intersection between a curve and a line, curvature and radius of curvature, finding tangents parallel to a vector, finding inflection points and cusps.

It also supports polynomial root finding with Bernstein polynomials.

The module Geom2D.CubicBezier exports all the cubic bezier functions. The module Geom2D contains general 2D geometry functions and transformations.


Versions0.1.0, 0.2.0, 0.2.0, 0.3.0,,,,,,,,,,
Change logNone available
Dependenciesbase (>=3 && <5), containers (>0.4), deepseq (>=1.3.0), integration (>=0.1.1) [details]
CopyrightKristof Bastiaensen (2013)
AuthorKristof Bastiaensen
MaintainerKristof Bastiaensen
CategoryGraphics, Geometry, Typography
Bug tracker
Source repositoryhead: git clone
UploadedSun Sep 29 17:48:30 UTC 2013 by KristofBastiaensen




Maintainers' corner

For package maintainers and hackage trustees