|
Wumpus.Basic.Graphic.PointSupply | Portability | GHC | Stability | highly unstable | Maintainer | stephen.tetley@gmail.com |
|
|
|
|
|
Description |
** WARNING ** - function names likely to change.
|
|
Synopsis |
|
|
|
|
Constants (might move from this module)
|
|
|
|
|
|
Generate points.
|
|
|
polygonPointsV : num_points * radius * center -> [point]
|
|
|
hpoints : ypos * step * (x0,x1) -> [point]
Generate points in a horizontal line between x0 and x1.
Note - the step increment is w.r.t. 0 rather than x0. x0 and
x1 are just the range. An example:
hpoints 0 10 (5,35)
[P2 10 0, P2 20 0, P2 30 0]
|
|
|
vpoints : xpos * step * (y0,y1) -> [point]
Generate points in a vertical line between y0 and y1.
Note - the step increment is w.r.t. 0 rather than y0. y0 and
y1 are just the range. An example:
vpoints 5 100 (50,500)
[P2 5 100, P2 5 200, P2 5 300, P2 5 400]
|
|
Produced by Haddock version 2.6.1 |