reanimate-0.3.2.3: Animation library based on SVGs.

Safe HaskellNone
LanguageHaskell2010

Reanimate.Math.Polygon

Contents

Synopsis

Documentation

data APolygon a Source #

Instances
Show a => Show (APolygon a) Source # 
Instance details

Defined in Reanimate.Math.Polygon

Methods

showsPrec :: Int -> APolygon a -> ShowS #

show :: APolygon a -> String #

showList :: [APolygon a] -> ShowS #

Hashable a => Hashable (APolygon a) Source # 
Instance details

Defined in Reanimate.Math.Polygon

Methods

hashWithSalt :: Int -> APolygon a -> Int #

hash :: APolygon a -> Int #

(Fractional a, Ord a, Serialize a) => Serialize (APolygon a) Source # 
Instance details

Defined in Reanimate.Math.Polygon

Methods

put :: Putter (APolygon a) #

get :: Get (APolygon a) #

type P = V2 Double Source #

pAccess :: APolygon a -> Int -> V2 a Source #

Triangulation

Single-Source-Shortest-Path

Duals

Built-in shapes for testing

Internals

pUnsafeMap :: (Ring a -> Ring a) -> APolygon a -> APolygon a Source #