waterfall-cad-0.5.1.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.

The monoid instance Joins Paths, 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

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 # 
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

allPathEndpoints :: Path -> [(V3 Double, V3 Double)] Source #

Exposing this because I found it useful for debugging