<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "http://www.web3d.org/specifications/x3d-3.0.dtd">
<X3D profile='Immersive' version='3.0' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='http://www.web3d.org/specifications/x3d-3.0.xsd'>
  <head>
    <meta content='Figure05.03bCylinderTranslationWithAxes.x3d' name='title'/>
    <meta content='Figure 5.3b, The VRML 2.0 Sourcebook, Copyright [1997] By Andrea L. Ames, David R. Nadeau, and John L. Moreland' name='creator'/>
    <meta content='http://www.wiley.com/legacy/compbooks/vrml2sbk/ch05/05fig03b.htm' name='reference'/>
    <meta content='Don Brutzman' name='translator'/>
    <meta content='8 August 2000' name='created'/>
    <meta content='14 January 2011' name='modified'/>
    <meta content='Translating +2 units along the X axis, 1 unit along Y axis, and building a cylinder, with coordinate axes superimposed to show X3D/VRML directions' name='description'/>
    <meta content='http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter05-PositioningShapes/Figure05.03bCylinderTranslationWithAxes.x3d' name='identifier'/>
    <meta content='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit' name='generator'/>
    <meta content='../../license.html' name='license'/>
  </head>
  <Scene>
    <!-- The large coordinate axes are centered and aligned at the default (0 0 0) X3D origin of the scene -->
    <Transform scale='4 4 4'>
      <Inline DEF='CoordinateAxes' url='"../../X3dForWebAuthors/Chapter03-Grouping/CoordinateAxes.x3d" "http://X3dGraphics.com/examples/X3dForWebAuthors/Chapter03-Grouping/CoordinateAxes.x3d" "https://savage.nps.edu/Savage/Tools/Authoring/CoordinateAxes.x3d" "../../X3dForWebAuthors/Chapter03-Grouping/CoordinateAxes.wrl" "http://X3dGraphics.com/examples/X3dForWebAuthors/Chapter03-Grouping/CoordinateAxes.wrl" "https://savage.nps.edu/Savage/Tools/Authoring/CoordinateAxes.wrl"'/>
    </Transform>
    <!-- The following nodes will _all_ be shifted relative to the origin coordinate system -->
    <Group>
      <Transform translation='2 1 0'>
        <!-- _all_ children of this Transform are in the translated coordinate frame -->
        <Shape>
          <Appearance>
            <Material diffuseColor='.2 .8 .2'/>
          </Appearance>
          <Cylinder/>
        </Shape>
        <!-- Add another smaller set of CoordinateAxes within this shifted coordinate reference frame, as an indication of the local (i.e. transformed) origin. Also scale by 2:1 for viewability. -->
        <Transform scale='1.9 1.9 1.9'>
          <Inline USE='CoordinateAxes'/>
        </Transform>
      </Transform>
    </Group>
  </Scene>
</X3D>