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()  
hidden Bool() No

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).
hidden
Boolean
Specifies weather the graphics is being written to the H3D file or not.
  • True implies that the graphic is hidden and is not written to the H3D file.
  • False implies that the graphic is not hidden and is written to the H3D file.
This attribute is optional. When not specified, it defaults to False.

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.