Class Geometry2dComponentExternProtos
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: Catalog page Geometry2dComponentExternProtos, source Geometry2dComponentExternProtos.java, X3D Resources, X3D Scene Authoring Hints, and X3D Tooltips.
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/specifications/X3Dv4/ISO-IEC19775-1v4-IS/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
(version control)
which is used to create Java source code from an original .x3d
model.
-
Constructor Summary
ConstructorDescriptionDefault constructor to create this object. -
Method Summary
Modifier and TypeMethodDescriptionorg.web3d.x3d.jsail.Core.X3D
Provide a shallow copy of the X3D model.final void
Create and initialize the X3D model for this object.static void
Default main() method provided for test purposes, uses CommandLine to set global ConfigurationProperties for this object.
-
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:
-
main
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:
-