disc build a disc as a Curve structure
disc [-i i] out r
-i i : inner radius (to produce a ring)
out : output shape (Curve structure)
r : disc radius
Curve disc (r , i )
float r , *i ;
A Curve structure containing all the points with integer coordinates in
x2 + y2 r2 is created by this module.
It is recommended to choose r half-integer
r = 1.5, 2.5,...) to produce more ``circular'' discretized shapes.
-i option, the points such that
x2 + y2 i2 are deleted from the output curve.
ccputstring, erosion, fkview, median.
Last Modification date : Thu Nov 29 20:23:56 2001