X3D Model Documentation: RoundedRectangle2D.x3d

  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='titlecontent='RoundedRectangle2D.x3d'/>
  6            <meta name='descriptioncontent='RoundedRectangle2D shows and IndexedFaceSet shape for a flat RoundedRectangle.'/>
  7            <meta name='createdcontent='8 November 2014'/>
  8            <meta name='modifiedcontent='20 October 2019'/>
  9            <meta name='referencecontent='RoundedRectanglePrimitives.x3d'/>
 10            <meta name='referencecontent='RoundedRectangleComparison.x3d'/>
 11            <meta name='referencecontent='RoundedRectangleDesign.vsd'/>
 12            <meta name='referencecontent='RoundedRectangleDesign.png'/>
 13            <meta name='referencecontent='RoundedRectangleDesign.svg'/>
 14            <meta name='creatorcontent='Don Brutzman'/>
 15            <meta name='referencecontent='https://en.wikipedia.org/wiki/Squircle'/>
 16            <meta name='referencecontent='https://en.wiktionary.org/wiki/roundrect'/>
 17            <meta name='infocontent='Development of this scene added new features to X3D-Edit.'/>
 18            <meta name='identifiercontent='https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/RoundedRectangle2D.x3d'/>
 19            <meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
 20            <meta name='licensecontent='../license.html'/>
 21       </head>
<!--

<!-- to top Index for DEF node: Index for Viewpoint node: Viewpoint_1
-->
 22       <Scene>
 23            <WorldInfo title='RoundedRectangle2D.x3d'/>
 24            <Background skyColor='0.95 1 0.6'/>
 25            <Viewpoint description='RoundedRectangle2D exampleposition='0 0 4'/>
 26            <Shape>
 27                 <!-- RoundedRectangle2D with 44 perimeter points + 4 internal points -->
 28                 <IndexedFaceSet creaseAngle='6.28solid='falsecoordIndex='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>
<!--

<!-- to top Index for DEF node: Index for Viewpoint node: Viewpoint_1
-->
X3D Tooltips element index: Appearance, Background, Coordinate, head, IndexedFaceSet, Material, meta, Scene, Shape, Viewpoint, WorldInfo, X3D, accessType and type, XML data types, field types

-->
<!-- Online at
https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/RoundedRectangle2DIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/RoundedRectangle2D.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)
-->

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