cubicbezier: Efficient manipulating of 2D cubic bezier curves.

[ bsd3, geometry, graphics, library, typography ] [ Propose Tags ]

This library supports efficient manipulating of 2D cubic bezier curves, for use in graphics or typography. 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.

Modules

[Last Documentation]

  • Geom2D
    • Geom2D.CubicBezier
      • Geom2D.CubicBezier.Approximate
      • Geom2D.CubicBezier.Basic
      • Geom2D.CubicBezier.Curvature
      • Geom2D.CubicBezier.Intersection
      • Geom2D.CubicBezier.MetaPath
      • Geom2D.CubicBezier.Numeric
      • Geom2D.CubicBezier.Outline
      • Geom2D.CubicBezier.Overlap
      • Geom2D.CubicBezier.Stroke
  • Math
    • Math.BernsteinPoly

Flags

Manual Flags

NameDescriptionDefault
debug

Enable debug messages

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0, 0.2.0, 0.3.0, 0.4.0.1, 0.4.0.2, 0.5.0.0, 0.6.0.0, 0.6.0.1, 0.6.0.2, 0.6.0.3, 0.6.0.4, 0.6.0.5, 0.6.0.6, 0.6.0.7
Dependencies base (>=4.8 && <4.11), containers (>=0.5.3), fast-math (>=1.0.0), integration (>=0.1.1), matrices (>=0.4.1 && <0.5), microlens (>=0.1.2), microlens-mtl (>=0.1.2), microlens-th (>=0.1.2), mtl (>=2.1.1), vector (>=0.10), vector-space (>=0.10.4) [details]
License BSD-3-Clause
Copyright Kristof Bastiaensen (2017)
Author Kristof Bastiaensen
Maintainer Kristof Bastiaensen
Revised Revision 3 made by HerbertValerioRiedel at 2019-02-12T15:26:19Z
Category Graphics, Geometry, Typography
Bug tracker https://github.com/kuribas/cubicbezier/issues
Source repo head: git clone https://github.com/kuribas/cubicbezier
Uploaded by KristofBastiaensen at 2017-04-06T11:09:18Z
Distributions LTSHaskell:0.6.0.7, NixOS:0.6.0.7
Reverse Dependencies 7 direct, 25 indirect [details]
Downloads 16162 total (104 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2017-04-06 [all 3 reports]