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='title' content='RoundedRectangle2D.x3d'/> |
6 | <meta name='description' content='RoundedRectangle2D shows and IndexedFaceSet shape for a flat RoundedRectangle.'/> |
7 | <meta name='created' content='8 November 2014'/> |
8 | <meta name='modified' content='20 October 2019'/> |
9 | <meta name='reference' content='RoundedRectanglePrimitives.x3d'/> |
10 | <meta name='reference' content='RoundedRectangleComparison.x3d'/> |
11 | <meta name='reference' content='RoundedRectangleDesign.vsd'/> |
12 | <meta name='reference' content='RoundedRectangleDesign.png'/> |
13 | <meta name='reference' content='RoundedRectangleDesign.svg'/> |
14 | <meta name='creator' content='Don Brutzman'/> |
15 | <meta name='reference' content='https://en.wikipedia.org/wiki/Squircle'/> |
16 | <meta name='reference' content='https://en.wiktionary.org/wiki/roundrect'/> |
17 | <meta name='info' content='Development of this scene added new features to X3D-Edit.'/> |
18 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/RoundedRectangle2D.x3d'/> |
19 | <meta name='generator' content='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/> |
20 | <meta name='license' content='../license.html'/> |
21 | </head> |
22 | <Scene> |
23 | <WorldInfo title='RoundedRectangle2D.x3d'/> |
24 | <Background skyColor='0.95 1 0.6'/> |
25 | <Viewpoint description='RoundedRectangle2D example' position='0 0 4'/> |
26 | <Shape> |
27 | <!-- RoundedRectangle2D with 44 perimeter points + 4 internal points --> |
28 | <IndexedFaceSet creaseAngle='6.28' solid='false' coordIndex='0 1 2 3 0 -1 0 14 15 1 0 -1 1 25 26 2 1 -1 2 36 37 3 2 -1 3 47 4 0 3 -1 0 4 5 6 7 8 9 10 11 12 13 14 0 -1 1 15 16 17 18 19 20 21 22 23 24 25 1 -1 2 26 27 28 29 30 31 32 33 34 35 36 2 -1 3 37 38 39 40 41 42 43 44 45 46 47 3 -1'> |
29 | <Coordinate point='0.450 0.900 0.000 0.450 -0.900 0.000 -0.450 -0.900 0.000 -0.450 0.900 0.000 0.450 1.000 0.000 0.466 0.999 0.000 0.481 0.995 0.000 0.495 0.989 0.000 0.509 0.981 0.000 0.521 0.971 0.000 0.531 0.959 0.000 0.539 0.945 0.000 0.545 0.931 0.000 0.549 0.916 0.000 0.550 0.900 0.000 0.550 -0.900 0.000 0.549 -0.916 0.000 0.545 -0.931 0.000 0.539 -0.945 0.000 0.531 -0.959 0.000 0.521 -0.971 0.000 0.509 -0.981 0.000 0.495 -0.989 0.000 0.481 -0.995 0.000 0.466 -0.999 0.000 0.450 -1.000 0.000 -0.450 -1.000 0.000 -0.466 -0.999 0.000 -0.481 -0.995 0.000 -0.495 -0.989 0.000 -0.509 -0.981 0.000 -0.521 -0.971 0.000 -0.531 -0.959 0.000 -0.539 -0.945 0.000 -0.545 -0.931 0.000 -0.549 -0.916 0.000 -0.550 -0.900 0.000 -0.550 0.900 0.000 -0.549 0.916 0.000 -0.545 0.931 0.000 -0.539 0.945 0.000 -0.531 0.959 0.000 -0.521 0.971 0.000 -0.509 0.981 0.000 -0.495 0.989 0.000 -0.481 0.995 0.000 -0.466 0.999 0.000 -0.450 1.000 0.000'/> |
30 | </IndexedFaceSet> |
31 | <Appearance> |
32 | <Material diffuseColor='0.2 0.5 0.8'/> |
33 | </Appearance> |
34 | </Shape> |
35 | </Scene> |
36 | </X3D> |
<!--
Color legend: X3D terminology
<X3dNode
field='value'/>
matches XML terminology
<XmlElement
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. -->