waterfall-cad-0.1.0.0: Declarative CAD/Solid Modeling Library
Safe HaskellSafe-Inferred
LanguageHaskell2010

Waterfall.TwoD.Shape

Synopsis

Documentation

data Shape Source #

A Region in 2D Space

In general, this is used as a face, and extruded along some sort of path

Under the hood, this is represented by an OpenCascade Shape

This should be of type Face, constrained to the plane \( z=0 \).

Please feel free to report a bug if you're able to construct a Shape which does not lie on this plane (without using Internal functions). Or which is not either a Face, or a composite of faces.

Instances

Instances details
Transformable2D Shape Source # 
Instance details

Defined in Waterfall.TwoD.Transforms

fromPath :: Path2D -> Shape Source #

Construct a 2D Shape from a closed path