GraphRewriting.Layout.Rotation
newtype Rotation Source #
Constructors
Fields
Defined in GraphRewriting.Layout.Wrapper
Methods
inspect :: Wrapper n -> Rotation #
update :: Rotation -> Wrapper n -> Wrapper n #
adjust :: (Rotation -> Rotation) -> Wrapper n -> Wrapper n #
type Angle = Double Source #
type Impulse = Angle -> Angle Source #
type Momentum = Impulse -> Rotation -> Rotation Source #
rotate :: Angle -> Vector2 -> Vector2 Source #
v01 :: Vector2 Source #
meanAngle :: [Angle] -> Angle Source #
angle :: Vector2 -> Vector2 -> Angle Source #
momSum :: [Momentum] -> Momentum Source #
approach :: Rotation -> Momentum Source #
momentum :: Angle -> Momentum Source #
module Data.View