| Copyright | (c) Scott N. Walck 2023 |
|---|---|
| License | BSD3 (see LICENSE) |
| Maintainer | Scott N. Walck <walck@lvc.edu> |
| Stability | stable |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
LPFPCore.Geometry
Description
Code from chapter 23 of the book Learn Physics with Functional Programming
Documentation
Constructors
| Curve | |
Fields
| |
unitCircle :: Curve Source #
Constructors
| Surface | |
Fields
| |
unitSphere :: Surface Source #
centeredSphere :: R -> Surface Source #
squareFunc :: R -> Position Source #
centeredBall :: R -> Volume Source #
quarterDiskBoundary :: R -> Curve Source #