waterfall-cad-0.3.0.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).

Constructors

Path2D 

Fields

Instances

Instances details
Monoid Path2D Source # 
Instance details

Defined in Waterfall.TwoD.Internal.Path2D

Semigroup Path2D Source #

The Semigroup for Path2D attempts to join two paths that share a common endpoint.

Attempts to combine paths that do not share a common endpoint currently in an error case that is not currently handled gracefully.

Instance details

Defined in Waterfall.TwoD.Internal.Path2D

Transformable2D Path2D Source # 
Instance details

Defined in Waterfall.TwoD.Transforms

AnyPath (V2 Double) Path2D Source # 
Instance details

Defined in Waterfall.Path.Common

Methods

fromWire :: Acquire (Ptr Wire) -> Path2D

pointToGPPnt :: Proxy Path2D -> V2 Double -> Acquire (Ptr Pnt)