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

Safe HaskellNone
LanguageHaskell98

Geom2D.CubicBezier.Overlap

Synopsis

Documentation

boolPathOp Source #

Arguments

:: (Bool -> Bool -> Bool)

operation

-> [ClosedPath Double]

first path (merged with union)

-> [ClosedPath Double]

second path (merged with union)

-> FillRule

input fillrule

-> Double

tolerance

-> [ClosedPath Double] 

`O((n+m)*log(n+m))`, for n segments and m intersections. Combine paths using the given boolean operation

union Source #

Arguments

:: [ClosedPath Double]

Paths

-> FillRule

input fillrule

-> Double

Tolerance

-> [ClosedPath Double] 

`O((n+m)*log(n+m))`, for n segments and m intersections. Union of paths, removing overlap and rounding to the given tolerance.

data FillRule Source #

Constructors

EvenOdd 
NonZero