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

Waterfall.TwoD.Internal.Path2D

Synopsis

Documentation

newtype Path2D Source #

A Path in 2D Space

Under the hood, this is represented by an OpenCascade Wire, constrained to the plane \(z=0\).

Please feel free to report a bug if you're able to construct a Path2D which does not lie on this plane (without using Internal functions).

The monoid instance Joins Path2Ds, a <> b connects the end point of a to the start of b , if these points are not coincident, a line is created between them.

Constructors

Path2D 

Fields