of.geometry.ellipse#
- of.geometry.ellipse *geometry_tag* <string> *region* <double, double, double, double, double, int>
Create a geometry by assigning x, y, maxradius, minradius, theta and segments of the ellipse.
- Parameters:
geometry_tag: tag of the geometry group
region: (default nseg 20) There are three methods to define a ellipse:
[x y minradius maxradius theta nseg]
center [x, y] radius [min max] theta nseg
x value, y value, rad value. minradius value, maxradius value, theta value, nseg value
Example:#
of.geometry.ellipse [rock] center [0,0] rad [1.0, 2.0] theta 0 segments 10