rsagl-0.2.1: The RogueStar Animation and Graphics Library
Source code
Contents
Index
RSAGL.CoordinateSystems
Documentation
type
AffineTransformation
=
Affine
->
Affine
Source
affine_identity
::
AffineTransformation
Source
data
CoordinateSystem
Source
Instances
Show
CoordinateSystem
AffineTransformable
CoordinateSystem
NestedCoordinateSystemTransformer
CoordinateSystem
CoordinateSystemClass
CoordinateSystem
newtype
Affine
Source
Constructors
Affine
affine_transformation
::
forall
a.
AffineTransformable
a => a -> a
Instances
AffineTransformable
Affine
NestedCoordinateSystemTransformer
Affine
affineOf
::
AffineTransformation
->
Affine
Source
class
CoordinateSystemClass
csc
where
Source
Methods
getCoordinateSystem
:: csc ->
CoordinateSystem
Source
storeCoordinateSystem
::
CoordinateSystem
-> csc -> csc
Source
Instances
CoordinateSystemClass
CoordinateSystem
CoordinateSystemClass
SceneAccumulator
CoordinateSystemClass
TimePlusSceneAccumulator
class
NestedCoordinateSystemTransformer
a
Source
Instances
NestedCoordinateSystemTransformer
Affine
NestedCoordinateSystemTransformer
CoordinateSystem
root_coordinate_system
::
CoordinateSystem
Source
migrate
::
AffineTransformable
a =>
CoordinateSystem
->
CoordinateSystem
-> a -> a
Source
transformation
::
AffineTransformable
a =>
AffineTransformation
-> a -> a
Source
inverseTransformation
::
AffineTransformable
a =>
AffineTransformation
-> a -> a
Source
data
CSN
a
Source
Instances
Show
a =>
Show
(
CSN
a)
importCSN
::
AffineTransformable
a =>
CoordinateSystem
->
CSN
a -> a
Source
exportCSN
::
AffineTransformable
a =>
CoordinateSystem
-> a ->
CSN
a
Source
remoteCSN
:: (
AffineTransformable
a,
AffineTransformable
b) =>
CoordinateSystem
-> (a -> b) ->
CSN
a ->
CSN
b
Source
importM
:: (
Monad
m,
MonadState
s m,
CoordinateSystemClass
s,
AffineTransformable
a) =>
CSN
a -> m a
Source
exportM
:: (
Monad
m,
MonadState
s m,
CoordinateSystemClass
s,
AffineTransformable
a) => a -> m (
CSN
a)
Source
remoteM
:: (
Monad
m,
MonadState
s m,
CoordinateSystemClass
s,
AffineTransformable
a,
AffineTransformable
b) =>
CoordinateSystem
-> (a -> b) -> a -> m b
Source
importA
:: (
Arrow
arr,
ArrowState
s arr,
CoordinateSystemClass
s,
AffineTransformable
a) => arr (
CSN
a) a
Source
importFromA
:: (
Arrow
arr,
ArrowState
s arr,
CoordinateSystemClass
s,
AffineTransformable
a) =>
CoordinateSystem
-> arr a a
Source
exportA
:: (
Arrow
arr,
ArrowState
s arr,
CoordinateSystemClass
s,
AffineTransformable
a) => arr a (
CSN
a)
Source
exportToA
:: (
Arrow
arr,
ArrowState
s arr,
CoordinateSystemClass
s,
AffineTransformable
a) =>
CoordinateSystem
-> arr a a
Source
exportCoordinateSystem
:: (
Arrow
arr,
ArrowState
s arr,
CoordinateSystemClass
s) => arr
AffineTransformation
CoordinateSystem
Source
remoteA
:: (
Arrow
arr,
ArrowState
s arr,
CoordinateSystemClass
s,
AffineTransformable
a,
AffineTransformable
b) => arr (
CoordinateSystem
, a -> b, a) b
Source
transformM
:: (
Monad
m,
MonadState
s m,
CoordinateSystemClass
s,
NestedCoordinateSystemTransformer
cst) => cst -> m a -> m a
Source
transformA
:: (
Arrow
arr,
ArrowState
s arr,
CoordinateSystemClass
s,
NestedCoordinateSystemTransformer
cst) => arr a b -> arr (cst, a) b
Source
data
Distance
Source
Instances
AffineTransformable
Distance
measure
:: (
AffineTransformable
p,
Xyz
p) => p -> p ->
Distance
Source
distance
::
Distance
->
Double
Source
distanceSquared
::
Distance
->
Double
Source
Produced by
Haddock
version 2.1.0