next up previous contents index
Next: dsplit_convex Up: Reference Previous: circle   Contents   Index

disc

$ \bigcirc$Name


disc build a disc as a Curve structure




$ \bigcirc$Command Synopsis


disc [-i i] out r



-i i : inner radius (to produce a ring)

out : output shape (Curve structure)

r : disc radius




$ \bigcirc$Function Summary


Curve disc (r , i )

float r , *i ;




$ \bigcirc$Description


A Curve structure containing all the points with integer coordinates in the disc x2 + y2 $ \leq$ r2 is created by this module. It is recommended to choose r half-integer (e.g. r = 1.5, 2.5,...) to produce more ``circular'' discretized shapes. With the -i option, the points such that x2 + y2 $ \leq$ i2 are deleted from the output curve.




$ \bigcirc$See Also


ccputstring, erosion, fkview, median.


$ \bigcirc$Version 1.1


Last Modification date : Thu Nov 29 20:23:56 2001


$ \bigcirc$Author


Lionel Moisan






next up previous contents index
Next: dsplit_convex Up: Reference Previous: circle   Contents   Index
mw 2004-05-05