Arc

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

Class Name

Arc

Attribute Summary

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

Usage

Arc(cm=Marker(), radius=100)

Attributes

cm
Reference(Marker)
The marker that defines the center of the Arc. This attribute is mandatory.
radius
Double()
The radius of the Arc.
rangle
Double()
Defines the angle subtended by an Arc.
seg
Int()
Specifies the number of segments used to represents the Arc.
rm
Reference(Marker)
The marker is used to compute the radius of the Arc. This attribute is mutually exclusive with the radius attribute.
color
String()
The color of the graphic for H3D animation. Specified as RGB (Red : Green : Blue).

Example

Define Arc geometry

Arc (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.