waterfall-cad-0.6.0.0: Declarative CAD/Solid Modeling Library
Safe HaskellNone
LanguageHaskell2010

Waterfall.TwoD.Booleans

Description

Boolean Operations operations on Shape.

Synopsis

Documentation

union2D :: Shape -> Shape -> Shape Source #

Take the union of two 2D shapes. The region occupied by either one of them

difference2D :: Shape -> Shape -> Shape Source #

Take the difference of two 2D shapes. The region occupied by the first, but not the second

intersection2D :: Shape -> Shape -> Shape Source #

Take the intersection of two 2D shapes. The region occupied by both of them

unions2D :: [Shape] -> Shape Source #

Take the union of a list of 2D shapes May be more performant than chaining multiple applications of union2D

intersections2D :: [Shape] -> Shape Source #

Take the intersection of a list of 2D shapes May be more performant than chaining multiple applications of intersection2D

emptyShape :: Shape Source #

An empty 2D shape