geom2d-0.2.2: package for geometry in euklidean 2d space

Safe HaskellNone
LanguageHaskell2010

Geom2d.Translate

Documentation

class Translate t where Source

Methods

translate :: (Point p, Num a) => p a -> t a -> t a Source

Instances

Translate Point' Source 
Translate p => Translate (FinLine p) Source

Translate a FinLine by a fiven vector

Translate p => Translate (InfLine p) Source

Translate a line by a given vector.

Translate p => Translate (Shape p) Source 
Translate p => Translate (Polygon p) Source 
Translate p => Translate (Circle p) Source