spatial-rotations-0.1.0.2: Rotate about any suitable axis
Copyright(c) Justus Sagemüller 2018
LicenseGPL v3
Maintainer(@) jsagemue $ uni-koeln.de
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Math.Rotations.Class

Description

 
Synopsis

Documentation

class Rotatable m where Source #

Associated Types

type AxisSpace m :: * Source #

Methods

rotateAbout :: AxisSpace m -> S¹ -> m -> m Source #

Instances

Instances details
Rotatable S¹ Source # 
Instance details

Defined in Math.Rotations.Class

Associated Types

type AxisSpace S¹ Source #

Methods

rotateAbout :: AxisSpace S¹ -> S¹ -> S¹ -> S¹ Source #

Rotatable S² Source # 
Instance details

Defined in Math.Rotations.Class

Associated Types

type AxisSpace S² Source #

Methods

rotateAbout :: AxisSpace S² -> S¹ -> S² -> S² Source #

Rotatable m => Rotatable (m -> Double) Source # 
Instance details

Defined in Math.Rotations.Class

Associated Types

type AxisSpace (m -> Double) Source #

Methods

rotateAbout :: AxisSpace (m -> Double) -> S¹ -> (m -> Double) -> m -> Double Source #

(°) :: Rotatable m => ℝ -> AxisSpace m -> m -> m infix 5 Source #

Rotate by an angle specified in degrees.

Utility

rotateViaEulerAnglesYZ Source #

Arguments

:: (S¹ -> m -> m)

Y-axis rotation method

-> (S¹ -> m -> m)

Z-axis rotation method

-> ℝP² -> S¹ -> m -> m

Suitable definition for rotateAbout

Internals