Class Geometry2dComponentExternProtos

java.lang.Object
Basic.development.Geometry2dComponentExternProtos

public class Geometry2dComponentExternProtos extends Object

ExternProto declarations and examples for developmental use showing X3D Geometry2D component nodes (Arc2D ArcClose2D Circle2D Disk2D Polyline2D Polypoint2D Rectangle2D TriangleSet2D), implemented as prototypes for backwards compatibility with VRML 97. Also provides Unfilled ProtoInstance versions of some nodes since FillProperties not possible in VRML 97. 2D nodes are considered particularly helpful for CADPart geometry and building user interfaces such as Heads-Up Displays (HUDs).

Related links: Geometry2dComponentExternProtos.java source, Geometry2dComponentExternProtos catalog page, X3D Resources, X3D Scene Authoring Hints, and X3D Tooltips.

Scene Meta Information
meta tags   Document Metadata
title Geometry2dComponentExternProtos.x3d
description ExternProto declarations and examples for developmental use showing X3D Geometry2D component nodes (Arc2D ArcClose2D Circle2D Disk2D Polyline2D Polypoint2D Rectangle2D TriangleSet2D), implemented as prototypes for backwards compatibility with VRML 97. Also provides Unfilled ProtoInstance versions of some nodes since FillProperties not possible in VRML 97. 2D nodes are considered particularly helpful for CADPart geometry and building user interfaces such as Heads-Up Displays (HUDs).
creator Christos Kalogrias, Don Brutzman, Ken Curtin, Duane Davis
created 16 November 2003
modified 20 October 2019
TODO Check Polypoint2D and point rendering order
warning These examples are complete but only used for developmental testing, not regular X3D authoring.
reference Geometry2dComponentPrototypes.x3d
reference Geometry2dComponentExamples.x3d
reference https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/geometry2D.html
subject Geometry2D component nodes (Arc2D ArcClose2D Circle2D Disk2D Polyline2D Polypoint2D Rectangle2D TriangleSet2D)
identifier https://www.web3d.org/x3d/content/examples/Basic/development/Geometry2dComponentExternProtos.x3d
generator X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit
license ../license.html
 

This program uses the X3D Java Scene Access Interface Library (X3DJSAIL). It has been produced using the X3dToJava.xslt stylesheet to create Java source code from an .x3d model.

  • Constructor Details

    • Geometry2dComponentExternProtos

      public Geometry2dComponentExternProtos()
      Default constructor to create this object.
  • Method Details

    • initialize

      public final void initialize()
      Create and initialize the X3D model for this object.
    • getX3dModel

      public org.web3d.x3d.jsail.Core.X3D getX3dModel()
      Provide a shallow copy of the X3D model.
      Returns:
      Geometry2dComponentExternProtos model
      See Also:
      X3D
    • main

      public static void main(String[] args)
      Default main() method provided for test purposes, uses CommandLine to set global ConfigurationProperties for this object.
      Parameters:
      args - array of input parameters, provided as arguments
      See Also:
      X3D.handleArguments(args), X3D.validationReport(), CommandLine, CommandLine.USAGE, ConfigurationProperties