<?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>
<component level='2name='Geometry2D'/>
<meta name='titlecontent=' Rectangle2dExample.x3d '/>
<meta name='descriptioncontent='Example of Rectangle2D showing two simple polygonal shapes.'/>
<meta name='creatorcontent='Leonard Daly and Don Brutzman'/>
<meta name='createdcontent='17 April 2006'/>
<meta name='modifiedcontent='18 December 2023'/>
<meta name='referencecontent=' https://X3dGraphics.com '/>
<meta name='referencecontent=' https://www.web3d.org/x3d/content/examples/X3dResources.html '/>
<meta name='rightscontent='Copyright 2006, Daly Realism and Don Brutzman'/>
<meta name='subjectcontent=' X3D book, X3D graphics, X3D-Edit, http://www.x3dGraphics.com '/>
<meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter10Geometry2D/Rectangle2dExample.x3d '/>
<meta name='generatorcontent='X3D-Edit 4.0, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../license.html'/>
</head>
<!--

to top <!-- Index for DEF node: MagentaAppearance

Index for Viewpoint node: Viewpoint_1
-->
<Scene>
<WorldInfo title='Rectangle2dExample.x3d'/>
<Background skyColor='1 1 1'/>
<Viewpoint description='Rectangle2D exampleorientation='0.981 0.178 -0.08 0.01position='-1.52 -0.17 8.11'/>
<Transform translation='-2.5 1 0'>
<Shape>
<Rectangle2D size='2.00 2.00'/>
<Appearance DEF='MagentaAppearance'>
<Material diffuseColor='1 0 0emissiveColor='0 0 1specularColor='0 .8 0'/>
</Appearance>
</Shape>
</Transform>
<Transform translation='-1 -1.5 0'>
<Shape>
<Rectangle2D size='2 1'/>
<Appearance USE=' MagentaAppearance'/>
</Shape>
</Transform>
</Scene>
</X3D>
<!--

to top <!-- Index for DEF node: MagentaAppearance

Index for Viewpoint node: Viewpoint_1
-->
-->

<!-- Online at
https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter10Geometry2D/Rectangle2dExampleIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter10Geometry2D/Rectangle2dExample.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. -->