<?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='Interchange' 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 content='RoundedRectangle2D.x3d' name='title'/>
    <meta content='RoundedRectangle2D shows and IndexedFaceSet shape for a flat RoundedRectangle.' name='description'/>
    <meta content='8 November 2014' name='created'/>
    <meta content='20 October 2019' name='modified'/>
    <meta content='RoundedRectanglePrimitives.x3d' name='reference'/>
    <meta content='RoundedRectangleComparison.x3d' name='reference'/>
    <meta content='RoundedRectangleDesign.vsd' name='reference'/>
    <meta content='RoundedRectangleDesign.png' name='reference'/>
    <meta content='RoundedRectangleDesign.svg' name='reference'/>
    <meta content='Don Brutzman' name='creator'/>
    <meta content='https://en.wikipedia.org/wiki/Squircle' name='reference'/>
    <meta content='https://en.wiktionary.org/wiki/roundrect' name='reference'/>
    <meta content='Development of this scene added new features to X3D-Edit.' name='info'/>
    <meta content='https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/RoundedRectangle2D.x3d' name='identifier'/>
    <meta content='X3D-Edit 3.3, https://www.web3d.org/x3d/tools/X3D-Edit' name='generator'/>
    <meta content='../license.html' name='license'/>
  </head>
  <Scene>
    <WorldInfo title='RoundedRectangle2D.x3d'/>
    <Background skyColor='0.95 1 0.6'/>
    <Viewpoint description='RoundedRectangle2D example' position='0 0 4'/>
    <Shape>
      <!-- RoundedRectangle2D with 44 perimeter points + 4 internal points -->
      <IndexedFaceSet 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' creaseAngle='6.28' solid='false'>
        <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'/>
      </IndexedFaceSet>
      <Appearance>
        <Material diffuseColor='0.2 0.5 0.8'/>
      </Appearance>
    </Shape>
  </Scene>
</X3D>