Maintainer | ch.howard@zoho.com |
---|---|

Safe Haskell | Safe-Inferred |

# Documentation

type Boundary = Point -> Maybe FloatSource

A `Boundary`

is a function which takes a `Point`

and determines if
it is inside some area. If the Point is outside the area, it
returns `Nothing`

. Otherwise, it returns the distance to the edge
of the area. Any such `Boundary`

need not be a simple, traditional
geometric shape. Though, it is often difficult to calculate the
distance for more exotic shapes.

Provides a `Boundary`

for a circle of given origin and radius.