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='Immersive' 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 | <component level='2' name='Geometry2D'/> |
6 | <meta name='title' content='Summary2D.x3d'/> |
7 | <meta name='description' content='Example of all of the Geometry2D nodes for the X3D Book.'/> |
8 | <meta name='creator' content='Leonard Daly and Don Brutzman'/> |
9 | <meta name='created' content='17 April 2006'/> |
10 | <meta name='modified' content='20 October 2019'/> |
11 | <meta name='reference' content='https://X3dGraphics.com'/> |
12 | <meta name='reference' content='https://www.web3d.org/x3d/content/examples/X3dResources.html'/> |
13 | <meta name='rights' content='Copyright 2006, Daly Realism and Don Brutzman'/> |
14 | <meta name='subject' content='X3D book, X3D graphics, X3D-Edit, http://www.x3dGraphics.com'/> |
15 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter10Geometry2D/Summary2D.x3d'/> |
16 | <meta name='generator' content='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/> |
17 | <meta name='license' content='../license.html'/> |
18 | </head> |
19 | <Scene> |
20 | <WorldInfo title='Summary2D.x3d'/> |
21 | <Background skyColor='1 1 1'/> |
22 | <Viewpoint description='Summary 2D example'/> |
23 | <Group> |
24 | <Shape> |
25 | <Polypoint2D point='-3 2 -3 0 -1 0 -3 -1 -2 -2 0 -2 0 -1 -2 -1 3 -1.5 3 1.5 2 -1 .5 3 -.5 1.5 1.5 1.5'/> |
26 | |
27 | <Material diffuseColor='1 0 0' emissiveColor='0 0 1' specularColor='0 .8 0'/> |
28 | </Appearance> |
29 | </Shape> |
30 | <Shape> |
31 | <Polyline2D lineSegments='-3 2 -3 0 -2 -2 3 -1.5 3 1.5 .5 3 -3 2'/> |
32 | <Appearance USE='MagentaAppearance'/> |
33 | </Shape> |
34 | <Shape> |
35 | <TriangleSet2D vertices='3 -1.5 3 1.5 2 -1 .5 3 -.5 1.5 1.5 1.5'/> |
36 | <Appearance USE='MagentaAppearance'/> |
37 | </Shape> |
38 | <Transform translation='-2.5 1 0'> |
39 | <Shape> |
40 | <Rectangle2D/> |
41 | <Appearance USE='MagentaAppearance'/> |
42 | </Shape> |
43 | <Shape> |
44 | <Circle2D/> |
45 | <Appearance USE='MagentaAppearance'/> |
46 | </Shape> |
47 | <Shape> |
48 | <Disk2D/> |
49 | <Appearance USE='MagentaAppearance'/> |
50 | </Shape> |
51 | <Shape> |
52 | <Arc2D endAngle='0' radius='3' startAngle='4.5'/> |
53 | <Appearance USE='MagentaAppearance'/> |
54 | </Shape> |
55 | <Shape> |
56 | <ArcClose2D closureType='PIE' endAngle='0' radius='3' startAngle='4.5'/> |
57 | <Appearance USE='MagentaAppearance'/> |
58 | </Shape> |
59 | </Transform> |
60 | <Transform translation='-1 -1.5 0'> |
61 | <Shape> |
62 | <Rectangle2D size='2 1'/> |
63 | <Appearance USE='MagentaAppearance'/> |
64 | </Shape> |
65 | <Shape> |
66 | <Circle2D radius='2'/> |
67 | <Appearance USE='MagentaAppearance'/> |
68 | </Shape> |
69 | <Shape> |
70 | <Disk2D innerRadius='1.5' outerRadius='2'/> |
71 | <Appearance USE='MagentaAppearance'/> |
72 | </Shape> |
73 | <Shape> |
74 | <Arc2D endAngle='.78' radius='1.5' startAngle='6'/> |
75 | <Appearance USE='MagentaAppearance'/> |
76 | </Shape> |
77 | <Shape> |
78 | <ArcClose2D closureType='CHORD' endAngle='.78' radius='1.5' startAngle='6'/> |
79 | <Appearance USE='MagentaAppearance'/> |
80 | </Shape> |
81 | </Transform> |
82 | </Group> |
83 | </Scene> |
84 | </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)
-->
<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->