codeworld-base-0.2.0.0: Replacement base module for CodeWorld

Safe HaskellNone
LanguageHaskell98

Extras.Geometry

Description

Functions for Geometry

Documentation

data Pt #

Constructors

PlusPt 
EksPt 
StarPt 
DotPt 

drawLineWith :: ([(Number, Number)] -> p) -> (Point, Point) -> p #

find :: (a -> Bool) -> [a] -> Maybe a #

vec :: Point -> Point -> Point #

newtype StdLine #

Constructors

StdLine (Number, Number, Number) 

type Circle = (Point, Point) #

centered :: [Point] -> [Point] #

data Triangle #

Constructors

Triangle Point Point Point