Circle

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

Class Name

Circle

Attribute Summary

Name Property Modifiable by command? Designable?
cm Reference(Marker) NO Yes
radius Double() 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.
radius
Double()
The radius of the Circle.
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)

Comments

  1. See Properties for an explanation about what properties are, why they are used, and how you can extend these.