Titania X3D Editor

Bring Colours to Your Life.

Titania v4.3.5

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

XML Encoding

Classic Encoding

JSON Encoding

Browser Compatibility

Titania X_ITE
yes yes

External Links

Cookies and other Technologies

By clicking »Accept« or continuing to use the site, you agree to the use of CREATE3000 and third-party cookies and other similar technologies to enhance your browsing experience, analyze and measure your engagement with our content, and provide more relevant ads on CREATE3000 websites and others. Learn more about cookies. You can withdraw your consent at any time.