Class CapsuleGenerator

java.lang.Object
X3dForAdvancedModeling.GeometricShapes.CapsuleGenerator

public class CapsuleGenerator extends Object

Capsule has top and bottom hemispheres with connected sides, with adjustable parameters in the contained Script fields. A Script node computes all coordIndex and Coordinate point values. X3D source for the produced capsule also appears on the player console.

Related links: Catalog page CapsuleGenerator, source CapsuleGenerator.java, X3D Resources, X3D Scene Authoring Hints, and X3D Tooltips.

Scene Meta Information
meta tags   Document Metadata
title CapsuleGenerator.x3d
description Capsule has top and bottom hemispheres with connected sides, with adjustable parameters in the contained Script fields. A Script node computes all coordIndex and Coordinate point values. X3D source for the produced capsule also appears on the player console.
created 13 October 2014
modified 20 October 2019
creator Don Brutzman
reference CapsuleGenerator.log.txt
reference CapsuleComparison.x3d
info InstantReality and BSContact work
TODO H3DViewer: missing Script appinfo and new SFInt32 when running CapsuleGenerator.js; got bugtracker?
reference https://en.wikipedia.org/wiki/Capsule_(geometry)
reference https://en.wiktionary.org/wiki/capsule
info This tessellation is not geodesic because the polygons are computed using rectangular quadrilaterals and vertical levels rather than triangulated shortest paths.
reference https://en.wiktionary.org/wiki/geodesic
reference https://en.wiktionary.org/wiki/geodesic_dome
reference https://en.wikipedia.org/wiki/Geodesic
reference https://en.wikipedia.org/wiki/Geodesic_grid
reference https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/tools/X3dEdit3.3/X3D/src/org/web3d/x3d/NsidedPolygon.java
reference https://savage.nps.edu/Savage/CommunicationsAndSensors/HalfDome/HemisphereExample.x3d
reference https://savage.nps.edu/Savage/CommunicationsAndSensors/HalfDome/HemispherePrototype.x3d
identifier https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/CapsuleGenerator.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.