Circle

Model ElementThe Circle element allows you to generate a circle graphic defined by a center marker and a reference marker or a radius.

Circle

Attribute Summary

Name Property Modifiable by command? Designable?
cm Reference(Marker) NO Yes
seg Int()
rm Reference(Marker) Yes
color String()

Usage

Circle(cm=Marker(), radius=100, seg=20, rm=Marker())
cm
Reference(Marker)
The marker that defines the center of the Circle.
Mandatory.
Double()
rm
Reference(Marker)
The marker is used to compute the radius of the circle. This attribute is mutually exclusive with the radius attribute.
seg
Int()
Specifies the number of segments used to represent the circle.
color
String()
The color of the graphic for H3D animation. Specified as RGB (Red : Green : Blue).

Example

Define circle geometry

Circle (cm=marker1,rm=marker2, seg=20)