cubicbezier-0.1.0: Efficient manipulating of 2D cubic bezier curves.

Safe HaskellNone

Geom2D.CubicBezier.Curvature

Synopsis

Documentation

curvature :: CubicBezier -> Double -> DoubleSource

Curvature of the Bezier curve.

radiusOfCurvature :: CubicBezier -> Double -> DoubleSource

Radius of curvature of the Bezier curve. This is the reciprocal of the curvature.

curvatureExtrema :: CubicBezier -> Double -> [Double]Source

Find extrema of the curvature, but not inflection points.

findRadiusSource

Arguments

:: CubicBezier

the curve

-> Double

distance

-> Double

tolerance

-> [Double]

result

Find points on the curve that have a certain radius of curvature.