Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
Documentation
The Boundary Representation of a solid object.
Alternatively, a region of 3d Space.
Under the hood, this is represented by an OpenCascade Shape
.
The underlying shape should either be a Solid, or a CompSolid.
While you shouldn't need to know what this means to use the library,
please feel free to report a bug if you're able to construct a Solid
where this isnt' the case (without using internal functions).
Instances
Monoid Solid Source # | |
Semigroup Solid Source # | While The Semigroup from |
BoundedJoinSemiLattice Solid Source # | |
Defined in Waterfall.Internal.Solid | |
Lattice Solid Source # | |
Transformable Solid Source # | |
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.
An empty solid
Be warned that complement nowhere
does not appear to work correctly.
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.