Class CapsuleComparison
CapsuleComparison shows three capsules, using polygons/lines/points rendering, each a hollow cylinder with hemispherical end caps. These models were created by CapsuleGenerator.x3d (producing X3D source on the console) with 36 numberOfPoints around horizontal perimeter, 10 vertical levels, radius 0.5 and total height of 2.
Related links: Catalog page CapsuleComparison, source CapsuleComparison.java, X3D Resources, X3D Scene Authoring Hints, and X3D Tooltips.
meta tags | Document Metadata |
title | CapsuleComparison.x3d |
description | CapsuleComparison shows three capsules, using polygons/lines/points rendering, each a hollow cylinder with hemispherical end caps. These models were created by CapsuleGenerator.x3d (producing X3D source on the console) with 36 numberOfPoints around horizontal perimeter, 10 vertical levels, radius 0.5 and total height of 2. |
created | 13 October 2014 |
modified | 20 October 2019 |
reference | CapsuleGenerator.x3d |
reference | CapsuleGenerator.js |
creator | Don Brutzman |
hint | Compare regular and wireframe rendering for a given browser to see if the polygonal quadrilaterals in the Capsule are further tesselated by the browser. |
Image | CapsuleComparisonRegularRendering.png |
Image | CapsuleComparisonWireframeRendering.png |
reference | https://en.wikipedia.org/wiki/Capsule_(geometry) |
reference | https://en.wiktionary.org/wiki/capsule |
reference | https://en.wikipedia.org/wiki/Platonic_solid |
reference | https://en.wikipedia.org/wiki/Geodesic_grid |
reference | http://www.kjmaclean.com/Geometry/Capsule.html |
reference | http://polyhedra.org/poly/show/4/capsule |
reference | http://www.georgehart.com/virtual-polyhedra/vp.html |
info | Development of this scene added new features to X3D-Edit |
identifier | https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/CapsuleComparison.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
-
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
-
CapsuleComparison
public CapsuleComparison()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:
- CapsuleComparison 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:
-