butterflies-0.3.0.1: butterfly tilings

Safe HaskellSafe
LanguageHaskell98

Geometry.Class

Documentation

class Geometry point geodesic | point -> geodesic, geodesic -> point where Source

Minimal complete definition

distance, angle, geodesic, rotate, translate

Methods

distance :: point -> point -> Double Source

angle :: point -> point -> point -> Double Source

geodesic :: point -> point -> geodesic Source

rotate :: Double -> point -> point -> point Source

translate :: Double -> geodesic -> point -> point Source

midpoint :: point -> point -> point Source