<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
<X3D profile='Immersive' version='3.3 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation =' https://www.web3d.org/specifications/x3d-3.3.xsd '>
<head>
<meta name='titlecontent='ParallelepipedExamples.x3d'/>
<meta name='descriptioncontent='Example use of external prototype declaration for Parallelepiped, which is a 3D figure formed by six parallelograms.'/>
<meta name='creatorcontent='Don Brutzman'/>
<meta name='createdcontent='25 November 2011'/>
<meta name='modifiedcontent='20 October 2019'/>
<meta name='referencecontent='ParallelepipedPrototype.x3d'/>
<meta name='Imagecontent='ParallelepipedVertexIndices.png'/>
<meta name='drawingcontent='GeometricShapes.vsd'/>
<meta name='referencecontent=' https://en.wikipedia.org/wiki/Parallelepiped '/>
<meta name='referencecontent=' http://upload.wikimedia.org/wikipedia/commons/f/f6/Parallelepiped.svg '/>
<meta name='referencecontent=' http://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/Parallelepiped.svg/500px-Parallelepiped.svg.png '/>
<meta name='subjectcontent='parallelopiped rhomboid geometry polyhedron'/>
<meta name='identifiercontent=' https://x3dgraphics.com/examples/X3dForAdvancedModeling/GeometricShapes/ParallelepipedExamples.x3d '/>
<meta name='referencecontent=' https://www.web3d.org/x3d/content/examples/X3dResources.html '/>
<meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../license.html'/>
</head>
<!--

Index for ExternProtoDeclare definition : Parallelepiped

Index for DEF nodes : BlueAppearance, ParallelepipedBox

Index for Viewpoint image : Viewpoint_1
-->
<Scene>
<WorldInfo title='ParallelepipedExamples.x3d'/>
<ExternProtoDeclare name='Parallelepipedappinfo='Parallelepiped is a 3D figure formed by six parallelograms; also sometimes referred to as a rhomboid'
  url=' "ParallelepipedPrototype.x3d#Parallelepiped" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/GeometricShapes/ParallelepipedPrototype.x3d#Parallelepiped" "ParallelepipedPrototype.wrl#Parallelepiped" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/GeometricShapes/ParallelepipedPrototype.wrl#Parallelepiped" '>
<field name='pointtype='MFVec3faccessType='inputOutput'/>
<field name='colorPerVertextype='SFBoolaccessType='initializeOnly'/>
<field name='normalPerVertextype='SFBoolaccessType='initializeOnly'/>
<field name='colorIndextype='MFInt32accessType='initializeOnly'/>
<field name='normalIndextype='MFInt32accessType='initializeOnly'/>
<field name='texCoordIndextype='MFInt32accessType='initializeOnly'/>
<field name='colortype='SFNodeaccessType='inputOutput'/>
<field name='normaltype='SFNodeaccessType='inputOutput'/>
<field name='texCoordtype='SFNodeaccessType='inputOutput'/>
</ExternProtoDeclare>
<!-- ================================================================================ -->
<Background skyColor='0.905882 1 0.858824'/>
<Viewpoint description='Parellelopiped examplesorientation='1 0 0 -0.46365position='0 5 10'/>
<Transform translation='-4 0 0'>
<Shape>
<ProtoInstance name='ParallelepipedcontainerField='geometry'>
<fieldValue name='pointvalue='-0.5 1 -0.5 0.5 1 -0.5 0.5 1 0.5 -0.5 1 0.5 0 0 0 1 0 0 1 0 1 0 0 1'/>
</ProtoInstance>
<Appearance DEF='BlueAppearance'>
<Material diffuseColor='0 0.698039 1'/>
</Appearance>
</Shape>
</Transform>
<Transform translation='-2 0 0'>
<Shape>
<ProtoInstance name='ParallelepipedcontainerField='geometry'>
<fieldValue name='pointvalue='-0.5 1 0 0.5 1 0 0.5 1 1 -0.5 1 1 0 0 0 1 0 0 1 0 1 0 0 1'/>
</ProtoInstance>
<Appearance USE='BlueAppearance'/>
</Shape>
</Transform>
<Transform>
<Shape>
<ProtoInstance name='ParallelepipedDEF='ParallelepipedBoxcontainerField='geometry'>
<fieldValue name='pointvalue='0 1 0 1 1 0 1 1 1 0 1 1 0 0 0 1 0 0 1 0 1 0 0 1'/>
</ProtoInstance>
<Appearance USE='BlueAppearance'/>
</Shape>
</Transform>
<Transform translation='2 0 0'>
<Shape>
<ProtoInstance name='ParallelepipedcontainerField='geometry'>
<fieldValue name='pointvalue='0.5 1 0 1.5 1 0 1.5 1 1 0.5 1 1 0 0 0 1 0 0 1 0 1 0 0 1'/>
</ProtoInstance>
<Appearance USE='BlueAppearance'/>
</Shape>
</Transform>
<Transform translation='4 0 0'>
<Shape>
<ProtoInstance name='ParallelepipedcontainerField='geometry'>
<fieldValue name='pointvalue='0.5 1 0.5 1.5 1 0.5 1.5 1 1.5 0.5 1 1.5 0 0 0 1 0 0 1 0 1 0 0 1'/>
</ProtoInstance>
<Appearance USE='BlueAppearance'/>
</Shape>
</Transform>
</Scene>
</X3D>
<!--

Index for ExternProtoDeclare definition : Parallelepiped

Index for DEF nodes : BlueAppearance, ParallelepipedBox

Index for Viewpoint image : Viewpoint_1
-->

<!-- Color key: <X3dNode DEF='idName' field='value'/> matches <XmlElement DEF='idName' attribute='value'/>
(Light blue background: behavior node) (Grey background: inserted documentation) (Magenta background: X3D Extensibility)
    <Prototype name='ProtoName'> <field name='fieldName'/> </Prototype> -->

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