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

Waterfall.Booleans

Description

Synopsis

Documentation

union :: Solid -> Solid -> Solid Source #

Take the sum of two solids

The region occupied by either one of them.

difference :: Solid -> Solid -> Solid Source #

Take the difference of two solids

The region occupied by the first, but not the second.

intersection :: Solid -> Solid -> Solid Source #

Take the intersection of two solids

The region occupied by both of them.

complement :: Solid -> Solid Source #

Invert a Solid, equivalent to not in boolean algebra.

The complement of a solid represents the solid with the same surface, but where the opposite side of that surface is the "inside" of the solid.

Be warned that complement nowhere does not appear to work correctly.