Safe Haskell | None |
---|
- curvature :: CubicBezier -> Double -> Double
- radiusOfCurvature :: CubicBezier -> Double -> Double
- curvatureExtrema :: CubicBezier -> Double -> [Double]
- findRadius :: CubicBezier -> Double -> Double -> [Double]
Documentation
curvature :: CubicBezier -> Double -> DoubleSource
Curvature of the Bezier curve. A negative curvature means the curve curves to the right.
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.
:: CubicBezier | the curve |
-> Double | distance |
-> Double | tolerance |
-> [Double] | result |
Find points on the curve that have a certain radius of curvature. Values to the left and to the right of the curve are returned.