Titania X3D Editor

Bring Colours to Your Life.

Titania v4.0.1

Bring Colours to Your Life.

X3D Reference

Arc2D

Arc2D

Arc2D is a geometry node that defines a linear circular arc with center (0,0) in X-Y plane, with angles measured starting at positive x-axis and sweeping towards positive y-axis.

The Arc2D node belongs to the Geometry2D component and its container field is geometry. It is available since X3D version 3.0 or later.

Hierarchy

Fields

SFNode [in, out] metadata NULL [X3DMetadataObject]

Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.

SFFloat [in, out] startAngle [-2π,2π]

Arc extends from startAngle counterclockwise to endAngle, in radians.

Warning

Simple-geometry dimensions are initializeOnly and cannot be changed after initial creation, for animation use Transform scale instead.

SFFloat [in, out] endAngle 1.5708 [-2π,2π]

Arc extends from startAngle counterclockwise to endAngle, in radians.

Warning

Simple-geometry dimensions are initializeOnly and cannot be changed after initial creation, for animation use Transform scale instead.

SFFloat [ ] radius 1 (0,∞)

Circle radius, of which the arc is a portion.

Warning

Simple-geometry dimensions are initializeOnly and cannot be changed after initial creation, for animation use Transform scale instead.

Description

Hints

  • Insert a Shape node before adding geometry or Appearance.
  • Include <component name='Geometry2D' level='2'/>

Example

Arc2D

Downlod ZIP file

XML Encoding

Classic Encoding

JSON Encoding

Browser Compatibility

Titania X_ITE
yes yes

External Links