Arc
ABSTRACT
Creates an arc mesh based on specified parameters.
PARAMETERS
center | a 3-vector denoting the center coordinates of the arc |
radius | a scalar value representing the radius of the arc |
theta_start | a numeric value indicating the starting angle of the arc in radians |
theta_end | a numeric value indicating the ending angle of the arc in radians |
center | a 3-vector denoting the center coordinates of the arc |
radius | a scalar value representing the radius of the arc |
theta_start | a numeric value indicating the starting angle of the arc in radians |
theta_end | a numeric value indicating the ending angle of the arc in radians |
normal | a 3-vector representing the normal of the arc's plane; defaults to {0,0,1} |
tag | a vector of numbers 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
generates a mesh conforming to the specified arc parameters
DECLARATION
func Arc([config] {[main] {center, radius, theta_start, theta_end}, [parameterized] {center, radius,theta_start, theta_end, normal}}, tag, [color] {[default] {}, [stroke] {stroke}, [solid] {stroke, fill}})