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

Waterfall.Internal.Path

Synopsis

Documentation

newtype Path Source #

A Path in 3D Space

Under the hood, this is represented by an OpenCascade Wire.

Constructors

Path 

Fields

Instances

Instances details
Monoid Path Source # 
Instance details

Defined in Waterfall.Internal.Path

Methods

mempty :: Path #

mappend :: Path -> Path -> Path #

mconcat :: [Path] -> Path #

Semigroup Path Source #

The Semigroup for Path 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.Internal.Path

Methods

(<>) :: Path -> Path -> Path #

sconcat :: NonEmpty Path -> Path #

stimes :: Integral b => b -> Path -> Path #

Transformable Path Source # 
Instance details

Defined in Waterfall.Transforms

AnyPath (V3 Double) Path Source # 
Instance details

Defined in Waterfall.Path.Common

Methods

fromWire :: Acquire (Ptr Wire) -> Path

pointToGPPnt :: Proxy Path -> V3 Double -> Acquire (Ptr Pnt)