wumpus-basic-0.18.0: Basic objects and system code built on Wumpus-Core.

Stabilityhighly unstable



LocThetaImage and LocThetaGraphic types - these are functional types from the DrawingContext, start point and angle of inclination to a graphic primitive.



data LocThetaImage u a Source

LocThetaImage - function from start point, inclination and DrawingContext to a polymorphic answer and a graphic primitive (PrimW).

type DLocThetaGraphic = LocThetaGraphic DoubleSource

Type specialized version of LocThetaGraphic.

type DLocThetaImage a = LocThetaImage Double aSource

Type specialized version of LocThetaImage.

zapLocThetaQuery :: LocThetaQuery u a -> Point2 u -> Radian -> Image u aSource

"zero-apply" a LocThetaQuery.

emptyLocThetaImage :: Monoid a => LocThetaImage u aSource

Having empty at the specific LocThetaImage type is useful.

incline :: LocThetaImage u a -> Radian -> LocImage u aSource

Downcast a LocThetaImage function by applying it to the supplied angle, making a LocImage.