Annulus
ABSTRACT
Produces an annulus mesh. This looks like a circle with a circular hole in its center.
PARAMETERS
center | a 3-vector representing the center of the annulus |
inner | a number representing the inner radius of the annulus |
outer | a number representing the outer radius of the annulus. Must be >= than the inner radius. |
tag | a vector of numbers that is used as the mesh's tag |
default | an enum branch specifying to use the default coloring scheme, which is a white stroke with no fill |
stroke | a 4-vector representing the color of the stroke |
stroke | a 4-vector representing the color of the stroke |
fill | a 4-vector representing the color of the fill. Note that providing this value will force an uprank |
RETURN
a mesh that contains a annulus according to the specifications
DECLARATION
func Annulus([config] {[main] {center, inner, outer}}, tag, [color] {[default] {}, [stroke] {stroke}, [solid] {stroke, fill}})