Safe Haskell | None |
---|---|
Language | Haskell2010 |
Paths in 3D space.
Synopsis
- data Path
- module Waterfall.Path.Common
- fromPath2D :: Path2D -> Path
- line3D :: V3 Double -> V3 Double -> Path
- lineTo3D :: V3 Double -> V3 Double -> (V3 Double, Path)
- lineRelative3D :: V3 Double -> V3 Double -> (V3 Double, Path)
- arcVia3D :: V3 Double -> V3 Double -> V3 Double -> Path
- arcViaTo3D :: V3 Double -> V3 Double -> V3 Double -> (V3 Double, Path)
- arcViaRelative3D :: V3 Double -> V3 Double -> V3 Double -> (V3 Double, Path)
- bezier3D :: V3 Double -> V3 Double -> V3 Double -> V3 Double -> Path
- bezierTo3D :: V3 Double -> V3 Double -> V3 Double -> V3 Double -> (V3 Double, Path)
- bezierRelative3D :: V3 Double -> V3 Double -> V3 Double -> V3 Double -> (V3 Double, Path)
- pathFrom3D :: V3 Double -> [V3 Double -> (V3 Double, Path)] -> Path
- pathFromTo3D :: [V3 Double -> (V3 Double, Path)] -> V3 Double -> (V3 Double, Path)
Documentation
A Path in 3D Space
Under the hood, this is represented by an OpenCascade Wire
.
Instances
Monoid Path Source # | |
Semigroup Path Source # | The Semigroup for Attempts to combine paths that do not share a common endpoint currently in an error case that is not currently handled gracefully. |
Transformable Path Source # | |
AnyPath (V3 Double) Path Source # | |
module Waterfall.Path.Common
fromPath2D :: Path2D -> Path Source #
lineRelative3D :: V3 Double -> V3 Double -> (V3 Double, Path) Source #
lineRelative
, with the type fixed to Path
arcViaRelative3D :: V3 Double -> V3 Double -> V3 Double -> (V3 Double, Path) Source #
arcViaRelative
, with the type fixed to Path
bezierRelative3D :: V3 Double -> V3 Double -> V3 Double -> V3 Double -> (V3 Double, Path) Source #
bezierRelative
, with the type fixed to Path