Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data PathJoin r
- fromBeziers :: (Eq r, Num r) => [BezierSpline 3 2 r] -> SimplePolygon (PathJoin r) r
- approximate :: forall t r. (Ord r, Fractional r) => r -> Polygon t (PathJoin r) r -> Polygon t () r
- approximateSome :: (Ord r, Fractional r) => r -> SomePolygon (PathJoin r) r -> SomePolygon () r
Documentation
Instances
Eq r => Eq (PathJoin r) Source # | |
Ord r => Ord (PathJoin r) Source # | |
Defined in Data.Geometry.Polygon.Bezier | |
Show r => Show (PathJoin r) Source # | |
fromBeziers :: (Eq r, Num r) => [BezierSpline 3 2 r] -> SimplePolygon (PathJoin r) r Source #
Construct a polygon from a closed set of bezier curves. Each curve must be connected to its neighbours.
approximate :: forall t r. (Ord r, Fractional r) => r -> Polygon t (PathJoin r) r -> Polygon t () r Source #
approximateSome :: (Ord r, Fractional r) => r -> SomePolygon (PathJoin r) r -> SomePolygon () r Source #