Titania X3D Editor

It starts with you!

Titania v3.0.4

It starts with you!

X3D Reference

ArcClose2D

ArcClose2D

ArcClose2D is a geometry node that defines a linear circular arc, closed by PIE or CHORD line segments, with center (0,0) in X-Y plane, with angles measured starting at positive x-axis and sweeping towards positive y-axis.

The ArcClose2D 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.

SFString [in, out] closureType "PIE" ["PIE"|"CHORD"]

Defines whether pair of line segments connect to center (PIE), or single line-segment chord connects arc endpoints (CHORD).

Warning

Simple-geometry parameters cannot be changed after initial creation.

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.

SFBool [ ] solid FALSE

Setting solid true means draw only one side of polygons (backface culling on), setting solid false means draw both sides of polygons (backface culling off).

Hint

If in doubt, use solid='false' for maximum visibility.

Warnings

Default value true can completely hide geometry if viewed from wrong side! Solid false not supported in VRML97.

Description

Hints

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

Example

screenshot

Downlod ZIP file

XML Encoding

Classic Encoding

JSON Encoding

Browser Compatibility

Titania X_ITE
yes yes

External Links