of.geometry.circle#

of.geometry.circle *geometry_tag* <string> *region* <double, double, double, int>

Create a geometry by assigning the x, y, radius and segments of the circle.

Parameters:

geometry_tag: tag of the geometry group

region: (default nseg 20) There are three methods to create a circle: 1. [x, y, rad, nseg] 2. center [x, y] radius nseg 3. x value y value rad value nseg value


Example:#

# The circle will not be a perfect circle. Instead, it will be approximated by a decagon.
of.geometry.circle [rock] center [0,0] rad 1.0 segments 10
Circle