X3D Model Documentation: Tetrahedron.x3d

  1  <?xml version="1.0" encoding="UTF-8"?>
  2  <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
  3  <X3D profile='Interchange' version='3.3 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.3.xsd'>
  4       <head>
  5            <meta name='titlecontent='Tetrahedron.x3d'/>
  6            <meta name='descriptioncontent='Tetrahedron is an 8-sided pyramidal polyhedron with 4 vertices, 4 triangular faces and 6 edges. A regular tetrahedron contains equilateral triangles and is a Platonic solid. Tetrahedron is the simplest of all the ordinary convex polyhedra and the only one that has fewer than 5 faces. Tetrahedron is also known as a triangular pyramid.'/>
  7            <meta name='createdcontent='27 September 2014'/>
  8            <meta name='modifiedcontent='20 October 2019'/>
  9            <meta name='creatorcontent='Don Brutzman'/>
 10            <meta name='referencecontent='Tetrahedron.ply'/>
 11            <meta name='referencecontent='https://en.wikipedia.org/wiki/Tetrahedron'/>
 12            <meta name='referencecontent='https://en.wiktionary.org/wiki/tetrahedron'/>
 13            <meta name='referencecontent='https://en.wikipedia.org/wiki/Platonic_solid'/>
 14            <meta name='referencecontent='https://en.wikipedia.org/wiki/Pyramid_(geometry)'/>
 15            <meta name='referencecontent='http://polyhedra.org/poly/show/0/tetrahedron'/>
 16            <meta name='referencecontent='http://www.mathsisfun.com/geometry/tetrahedron.html'/>
 17            <meta name='referencecontent='http://www.kjmaclean.com/Geometry/Tetrahedron.html'/>
 18            <meta name='referencecontent='http://www.georgehart.com/virtual-polyhedra/vp.html'/>
 19            <meta name='referencecontent='http://www.georgehart.com/virtual-polyhedra/vrml/tetrahedron.wrl'/>
 20            <meta name='identifiercontent='https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/Tetrahedron.x3d'/>
 21            <meta name='generatorcontent='Meshlab X3D Exported, http://meshlab.sourceforge.net'/>
 22            <meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
 23            <meta name='licensecontent='../license.html'/>
 24       </head>
<!--

<!-- -->

<!-- to top Index for DEF nodes: CoordinateAxesAdjustedScale, Tetrahedron

Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2, Viewpoint_3
-->
 25       <Scene>
 26            <WorldInfo title='Tetrahedron.x3d'/>
 27            <Background skyColor='0.5 1 0.9'/>
 28            <Viewpoint description='Tetrahedron from Z axisposition='0 0 6'/>
 29            <Viewpoint description='Tetrahedron from X axisorientation='0 1 0 1.570796position='6 0 0'/>
 30            <Viewpoint description='Tetrahedron from aboveorientation='1 0 0 -1.570796position='0 6 0'/>
 31            <Shape DEF='Tetrahedron'>
 32                 <IndexedFaceSet solid='falsecoordIndex='0 1 2 -1 0 2 3 -1 0 3 1 -1 3 2 1 -1'>
 33                      <Coordinate point='1 1 1 -1 1 -1 -1 -1 1 1 -1 -1'/>
 34                 </IndexedFaceSet>
 35                 <Appearance>
 36                      <Material diffuseColor='0.2 0.5 0.8'/>
 37                 </Appearance>
 38            </Shape>
 39            <!-- Authoring hint #1: add a semitransparent Shape with a unit Sphere here to see relative Tetrahedron size -->
 40            <!-- Authoring hint #2: these axes are aligned within local coordinate system, be sure to set X3D profile='Immersive' if uncommented and activated -->
 41            <Transform DEF='CoordinateAxesAdjustedScalescale='2 2 2'>
 42                 <!-- <Inline DEF='CoordinateAxes' "url='../../X3dForWebAuthors/Chapter03Grouping/CoordinateAxes.x3d" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter03Grouping/CoordinateAxes.x3d" "https://savage.nps.edu/Savage/Tools/Authoring/CoordinateAxes.x3d" "../../X3dForWebAuthors/Chapter03Grouping/CoordinateAxes.wrl" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter03Grouping/CoordinateAxes.wrl" "https://savage.nps.edu/Savage/Tools/Authoring/CoordinateAxes.wrl'/>" -->
 43            </Transform>
 44       </Scene>
 45  </X3D>
<!--

<!-- -->

<!-- to top Index for DEF nodes: CoordinateAxesAdjustedScale, Tetrahedron

Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2, Viewpoint_3
-->
X3D Tooltips element index: Appearance, Background, Coordinate, head, IndexedFaceSet, Material, meta, Scene, Shape, Transform, Viewpoint, WorldInfo, X3D, accessType and type, XML data types, field types

-->
<!-- Online at
https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/TetrahedronIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/Tetrahedron.x3d -->

<!-- Color legend: X3D terminology <X3dNode DEF='idName' field='value'/> matches XML terminology <XmlElement DEF='idName' attribute='value'/>
(Light-blue background: event-based behavior node or statement) (Grey background inside box: inserted documentation) (Magenta background: X3D Extensibility)
-->

to top <!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->