Table of Contents Previous Chapter Summary Chapter Viewpoint Slideshow Javadoc for translated .java source Next Chapter Summary X3D Resources

X3D Example Archives: X3D for Web Authors, Chapter 10 Geometry 2D

Geometry2D nodes simplify creation of simple planar shapes, which can be helpful for billboards and user interfaces.

Geometry2D nodes simplify creation of simple planar shapes. Planar geometry includes the Arc2D, ArcClose2D, Circle2D, Disk2D, Polyline2D, Polypoint2D, Rectangle2D and TriangleSet2D nodes. Each Geometry2D node is placed individually inside a Shape node.

The supporting Chapter 10 slideset and course videos (NPS, YouTube) for X3D for Web Authors are available online via X3dGraphics.com.

X3D Geometry2D nodes are planar
  9 X3D Scenes       Scene Descriptions
Arc2D Arc 2D Example of Arc2D node showing semicircular arcs
ArcClose2D Arc Close 2D Example of ArcClose2D showing PIE or CHORD subsections of circular geometry.
Circle2D Circle 2D Example of Circle2D node showing a simple circular circumference.
Disk2D Disk 2D Example of Disk2D showing circular geometry with an optional center hole.
Polyline2D Polyline 2D Example of Polyline2D showing multiple 2D line segments.
Polypoint2D Polypoint 2D Example of Polypoint2D showing a simple set of points.
Rectangle2D Rectangle 2D Example of Rectangle2D showing two simple polygonal shapes.
Summary2D Summary 2D Example of all of the Geometry2D nodes for the X3D Book.
TriangleSet2D Triangle Set 2D Example of TriangleSet2D showing multiple simple triangle shapes.

Online at http://X3dGraphics.com/examples/X3dForWebAuthors/Chapter10Geometry2D

Validate XHTML 1.1

Master source code archive is under subversion control at
http://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter10Geometry2D

Table of Contents Previous Chapter Summary Chapter Viewpoint Slideshow Javadoc for translated .java source Next Chapter Summary X3D Resources

Also available: current and archived nightly builds and distributions of these examples, all published under an Open-Source License.

The X3D Resources: Examples page and Savage Developers Guide provide more information about the production of this archive.