package Savage.Robots.UnmannedUnderwaterVehicles;

import org.web3d.x3d.jsail.Core.*;
import org.web3d.x3d.jsail.EnvironmentalEffects.*;
import org.web3d.x3d.jsail.fields.*;
import org.web3d.x3d.jsail.Geometry3D.*;
import org.web3d.x3d.jsail.Grouping.*;
import org.web3d.x3d.jsail.Navigation.*;
import org.web3d.x3d.jsail.Shape.*;

// Javadoc metadata annotations follow, see below for X3DJSAIL Java source code.
/**
 * <p> Solar-Powered Autonomous Unmanned Vehicle by Autonomous Undersea Systems Institute (AUSI) and Falmouth Scientific Inc. </p>
 <p> Related links: Catalog page <a href="../../../../Robots/UnmannedUnderwaterVehicles/SolarAuvIndex.html" target="_blank">SolarAuv</a>,  source <a href="../../../../Robots/UnmannedUnderwaterVehicles/SolarAuv.java">SolarAuv.java</a>, <a href="https://www.web3d.org/x3d/content/examples/X3dResources.html" target="_blank">X3D Resources</a>, <a href="https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html" target="_blank">X3D Scene Authoring Hints</a>, and <a href="https://www.web3d.org/x3d/content/X3dTooltips.html" target="_blank">X3D Tooltips</a>. </p>
	<table style="color:black; border:0px solid; border-spacing:10px 0px;">
        <caption>Scene Meta Information</caption>
		<tr style="background-color:silver; border-color:silver;">
			<td style="text-align:center; padding:10px 0px;"><i>meta tags</i></td>
			<td style="text-align:left;   padding:10px 0px;">&nbsp; Document Metadata </td>
		</tr>

		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> title </i> </td>
			<td> <a href="../../../../Robots/UnmannedUnderwaterVehicles/SolarAuv.x3d">SolarAuv.x3d</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> description </i> </td>
			<td> Solar-Powered Autonomous Unmanned Vehicle by Autonomous Undersea Systems Institute (AUSI) and Falmouth Scientific Inc. </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> creator </i> </td>
			<td> Randy A. Garrido </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> created </i> </td>
			<td> 1 June 2004 </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> modified </i> </td>
			<td> 20 October 2019 </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> subject </i> </td>
			<td> SeaWeb, SolarAUV, Solar-Powered AUV </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> photograph </i> </td>
			<td> SAUVIIBuzzardsBay.jpg </td>
		</tr>
		<tr style="color:burntorange">
			<td style="text-align:right; vertical-align: text-top;"> <i> warning </i> </td>
			<td> TODO: check extrusions ccw true/false </td>
		</tr>
		<tr style="color:burntorange">
			<td style="text-align:right; vertical-align: text-top;"> <i> warning </i> </td>
			<td> TODO: restore ViewpointGroup, Navigation component </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> <a href="http://www.ausi.org" target="_blank">http://www.ausi.org</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> Falmouth Scientific Inc. <a href="http://www.falmouth.com" target="_blank">http://www.falmouth.com</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> identifier </i> </td>
			<td> <a href="https://www.web3d.org/x3d/content/examples/Savage/Robots/UnmannedUnderwaterVehicles/SolarAuv.x3d" target="_blank">https://www.web3d.org/x3d/content/examples/Savage/Robots/UnmannedUnderwaterVehicles/SolarAuv.x3d</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> generator </i> </td>
			<td> X3D-Edit 3.2, <a href="https://www.web3d.org/x3d/tools/X3D-Edit" target="_blank">https://www.web3d.org/x3d/tools/X3D-Edit</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> license </i> </td>
			<td> <a href="../../../../Robots/UnmannedUnderwaterVehicles/../../license.html">../../license.html</a> </td>
		</tr>
		<tr style="background-color:silver; border-color:silver;">
			<td style="text-align:center;" colspan="2">  &nbsp; </td>
		</tr>
	</table>

	<p>
		This program uses the
		<a href="https://www.web3d.org/specifications/java/X3DJSAIL.html" target="_blank">X3D Java Scene Access Interface Library (X3DJSAIL)</a>.
		It has been produced using the 
		<a href="https://www.web3d.org/x3d/stylesheets/X3dToJava.xslt" target="_blank">X3dToJava.xslt</a>
		stylesheet
	       (<a href="https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/stylesheets/X3dToJava.xslt" target="_blank">version control</a>)
                which is used to create Java source code from an original <code>.x3d</code> model.
	</p>

	* @author Randy A. Garrido
 */

public class SolarAuv
{
	/** Default constructor to create this object. */
	public SolarAuv ()
	{
	  initialize();
	}

	/** Create and initialize the X3D model for this object. */
	public final void initialize()
	{
            try { // catch-all
  x3dModel = new X3D().setProfile(X3D.PROFILE_IMMERSIVE).setVersion(X3D.VERSION_3_2)
  .setHead(new head()
    .addComponent(new component().setName("Navigation").setLevel(3))
    .addMeta(new meta().setName(meta.NAME_TITLE      ).setContent("SolarAuv.x3d"))
    .addMeta(new meta().setName(meta.NAME_DESCRIPTION).setContent("Solar-Powered Autonomous Unmanned Vehicle by Autonomous Undersea Systems Institute (AUSI) and Falmouth Scientific Inc."))
    .addMeta(new meta().setName(meta.NAME_CREATOR    ).setContent("Randy A. Garrido"))
    .addMeta(new meta().setName(meta.NAME_CREATED    ).setContent("1 June 2004"))
    .addMeta(new meta().setName(meta.NAME_MODIFIED   ).setContent("20 October 2019"))
    .addMeta(new meta().setName(meta.NAME_SUBJECT    ).setContent("SeaWeb, SolarAUV, Solar-Powered AUV"))
    .addMeta(new meta().setName(meta.NAME_PHOTOGRAPH ).setContent("SAUVIIBuzzardsBay.jpg"))
    .addMeta(new meta().setName(meta.NAME_WARNING    ).setContent("TODO: check extrusions ccw true/false"))
    .addMeta(new meta().setName(meta.NAME_WARNING    ).setContent("TODO: restore ViewpointGroup, Navigation component"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("http://www.ausi.org"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("Falmouth Scientific Inc. http://www.falmouth.com"))
    .addMeta(new meta().setName(meta.NAME_IDENTIFIER ).setContent("https://www.web3d.org/x3d/content/examples/Savage/Robots/UnmannedUnderwaterVehicles/SolarAuv.x3d"))
    .addMeta(new meta().setName(meta.NAME_GENERATOR  ).setContent("X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit"))
    .addMeta(new meta().setName(meta.NAME_LICENSE    ).setContent("../../license.html")))
  .setScene(new Scene()
    .addChild(new Background("Background").setGroundColor(new MFColor(new double[] {0.0,0.0,.8})).setSkyColor(new MFColor(new double[] {0.2,0.2,.8})))
    .addChild(new Viewpoint().setDescription("Solar Autonomous Unmanned Vehicle (AUV)").setOrientation(1.0,0.0,0.0,-.35).setPosition(0.0,1.25,3.25))
    .addComments(" <ViewpointGroup description='Solar AUV View Points' size='100 100 100'> </ViewpointGroup> ")
    .addChild(new Viewpoint().setDescription("SolarAUV view from rear, 5m").setOrientation(0.0,1.0,0.0,-1.57).setPosition(-5.0,1.0,0.0))
    .addChild(new Viewpoint().setDescription("SolarAUV side view, 5m").setOrientation(0.0,1.0,0.0,3.141592653).setPosition(0.0,0.0,-5.0))
    .addChild(new Viewpoint().setDescription("SolarAUV view from above, 5m").setOrientation(1.0,0.0,0.0,-1.57).setPosition(0.0,5.0,0.0))
    .addChild(new Viewpoint().setDescription("SolarAUV oblique view").setOrientation(-.814,.581,-.007,1.25).setPosition(2.0,2.875,1.3))
    .addChild(new LOD().setRange(new double[] {100.0,1000.0})
      .addChild(new Transform()
        .addChild(new Group("SolarPanel")
          .addChild(new Transform("SquarePanelYellow").setTranslation(0.020625,-0.04,0.0)
            .addChild(new Shape("SquarePanel")
              .setAppearance(new Appearance()
                .setMaterial(new Material().setDiffuseColor(1.0,1.0,.4)))
              .setGeometry(new Box().setSize(1.20625,.02,1.0))))
          .addChild(new Transform("MainSolarPanel").setTranslation(0.020625,-0.01,0.0)
            .addChild(new Shape()
              .setAppearance(new Appearance()
                .setMaterial(new Material().setDiffuseColor(1.0,1.0,1.0)))
              .setGeometry(new Box().setSize(1.175,.02,0.975))))
          .addChild(new Transform("SolarCells")
            .addChild(new Transform()
              .addChild(new Shape("Cell1")
                .setAppearance(new Appearance()
                  .setMaterial(new Material().setDiffuseColor(0.0,0.0,0.0).setShininess(1).setSpecularColor(0.7,0.7,0.7)))
                .setGeometry(new Extrusion().setCrossSection(new MFVec2f(new double[] {0.0645,0.0400,0.0645,-0.0400,0.0450,-0.0595,-0.0450,-0.0595,-0.0645,-0.0400,-0.0645,0.0400,-0.0450,0.0595,0.0450,0.0595,0.0645,0.0400})).setSolid(false).setSpine(new MFVec3f(new double[] {-0.495375,0.0,-0.4230,-0.495375,0.001,-0.4230}))))
              .addChild(new Transform().setTranslation(0.0,0.0,0.1195)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.0,0.0,0.239)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.0,0.0,0.3585)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.0,0.0,0.488)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.0,0.0,0.6075)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.0,0.0,0.727)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.0,0.0,0.8465)
                .addChild(new Shape().setUSE("Cell1"))))
            .addChild(new Transform()
              .addChild(new Transform().setTranslation(0.1295,0.0,0.0)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.1295,0.0,0.1195)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.1295,0.0,0.239)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.1295,0.0,0.3585)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.1295,0.0,0.488)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.1295,0.0,0.6075)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.1295,0.0,0.727)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.1295,0.0,0.8465)
                .addChild(new Shape().setUSE("Cell1"))))
            .addChild(new Transform()
              .addChild(new Transform().setTranslation(0.259,0.0,0.0)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.259,0.0,0.1195)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.259,0.0,0.239)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.259,0.0,0.3585)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.259,0.0,0.488)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.259,0.0,0.6075)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.259,0.0,0.727)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.259,0.0,0.8465)
                .addChild(new Shape().setUSE("Cell1"))))
            .addChild(new Transform()
              .addChild(new Transform().setTranslation(0.3885,0.0,0.0)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.3885,0.0,0.1195)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.3885,0.0,0.239)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.3885,0.0,0.3585)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.3885,0.0,0.488)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.3885,0.0,0.6075)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.3885,0.0,0.727)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.3885,0.0,0.8465)
                .addChild(new Shape().setUSE("Cell1"))))
            .addChild(new Transform()
              .addChild(new Transform().setTranslation(0.518,0.0,0.0)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.518,0.0,0.1195)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.518,0.0,0.239)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.518,0.0,0.3585)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.518,0.0,0.488)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.518,0.0,0.6075)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.518,0.0,0.727)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.518,0.0,0.8465)
                .addChild(new Shape().setUSE("Cell1"))))
            .addChild(new Transform()
              .addChild(new Transform().setTranslation(0.6475,0.0,0.0)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.6475,0.0,0.1195)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.6475,0.0,0.239)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.6475,0.0,0.3585)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.6475,0.0,0.488)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.6475,0.0,0.6075)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.6475,0.0,0.727)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.6475,0.0,0.8465)
                .addChild(new Shape().setUSE("Cell1"))))
            .addChild(new Transform()
              .addChild(new Transform().setTranslation(0.777,0.0,0.0)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.777,0.0,0.1195)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.777,0.0,0.239)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.777,0.0,0.3585)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.777,0.0,0.488)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.777,0.0,0.6075)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.777,0.0,0.727)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.777,0.0,0.8465)
                .addChild(new Shape().setUSE("Cell1"))))
            .addChild(new Transform()
              .addChild(new Transform().setTranslation(0.9065,0.0,0.0)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.9065,0.0,0.1195)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.9065,0.0,0.239)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.9065,0.0,0.3585)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.9065,0.0,0.488)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.9065,0.0,0.6075)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.9065,0.0,0.727)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(0.9065,0.0,0.8465)
                .addChild(new Shape().setUSE("Cell1"))))
            .addChild(new Transform()
              .addChild(new Transform().setTranslation(1.036,0.0,0.0)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(1.036,0.0,0.1195)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(1.036,0.0,0.239)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(1.036,0.0,0.3585)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(1.036,0.0,0.488)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(1.036,0.0,0.6075)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(1.036,0.0,0.727)
                .addChild(new Shape().setUSE("Cell1")))
              .addChild(new Transform().setTranslation(1.036,0.0,0.8465)
                .addChild(new Shape().setUSE("Cell1")))))
          .addChild(new Group("CurvedEdges")
            .addChild(new Group("TailEndCurvedEdge")
              .addChild(new Transform("RightTailCornerCurvedEdge").setRotation(0.0,0.0,1.0,1.57).setTranslation(-0.8,-0.025,0.0125)
                .addChild(new Shape()
                  .setAppearance(new Appearance()
                    .setMaterial(new Material().setDiffuseColor(1.0,1.0,.4)))
                  .setGeometry(new Extrusion().setConvex(false).setCreaseAngle(0.5).setCrossSection(new MFVec2f(new double[] {-0.01250,0.02500,0.02500,0.02500,0.02657,0.02490,0.02811,0.02461,0.02960,0.02412,0.03102,0.02345,0.03235,0.02261,0.03356,0.02161,0.03463,0.02047,0.03555,0.01920,0.03631,0.01782,0.03689,0.01636,0.03728,0.01484,0.03748,0.01328,0.03750,0.01250,0.03750,-0.01250,0.03748,-0.01328,0.03728,-0.01484,0.03689,-0.01636,0.03631,-0.01782,0.03555,-0.01920,0.03463,-0.02047,0.03356,-0.02161,0.03235,-0.02261,0.03102,-0.02345,0.02960,-0.02412,0.02811,-0.02461,0.02657,-0.02490,0.02500,-0.02500,-0.01250,-0.02500})).setSolid(false).setSpine(new MFVec3f(new double[] {0.0,0.00386,0.01189,0.0,0.00532,0.01131,0.0,0.00670,0.01055,0.0,0.00797,0.00963,0.0,0.00911,0.00856,0.0,0.01011,0.00735,0.0,0.01095,0.00602,0.0,0.01162,0.00460,0.0,0.01211,0.00311,0.0,0.01240,0.00157,0.0,0.01250,0.00000,0.0,0.01240,-0.00157})))))
              .addChild(new Transform("LeftTailCornerCurvedEdge").setRotation(0.0,0.0,1.0,1.57).setTranslation(-0.8,-0.025,-0.0125)
                .addChild(new Shape()
                  .setAppearance(new Appearance()
                    .setMaterial(new Material().setDiffuseColor(1.0,1.0,.4)))
                  .setGeometry(new Extrusion().setConvex(false).setCreaseAngle(0.5).setCrossSection(new MFVec2f(new double[] {-0.01250,0.02500,0.02500,0.02500,0.02657,0.02490,0.02811,0.02461,0.02960,0.02412,0.03102,0.02345,0.03235,0.02261,0.03356,0.02161,0.03463,0.02047,0.03555,0.01920,0.03631,0.01782,0.03689,0.01636,0.03728,0.01484,0.03748,0.01328,0.03750,0.01250,0.03750,-0.01250,0.03748,-0.01328,0.03728,-0.01484,0.03689,-0.01636,0.03631,-0.01782,0.03555,-0.01920,0.03463,-0.02047,0.03356,-0.02161,0.03235,-0.02261,0.03102,-0.02345,0.02960,-0.02412,0.02811,-0.02461,0.02657,-0.02490,0.02500,-0.02500,-0.01250,-0.02500})).setSolid(false).setSpine(new MFVec3f(new double[] {0.0,0.01240,0.00157,0.0,0.01250,0.00000,0.0,0.01240,-0.00157,0.0,0.01211,-0.00311,0.0,0.01162,-0.00460,0.0,0.01095,-0.00602,0.0,0.01011,-0.00735,0.0,0.00911,-0.00856,0.0,0.00797,-0.00963,0.0,0.00670,-0.01055,0.0,0.00532,-0.01131,0.0,0.00386,-0.01189})))))
              .addChild(new Transform("TailRearSideCurvedEdge").setRotation(0.0,0.0,1.0,1.57).setTranslation(-0.8,-0.025,0.0)
                .addChild(new Shape()
                  .setAppearance(new Appearance()
                    .setMaterial(new Material().setDiffuseColor(1.0,1.0,.4)))
                  .setGeometry(new Extrusion().setConvex(false).setCreaseAngle(0.5).setCrossSection(new MFVec2f(new double[] {-0.02500,0.00000,-0.02500,0.03750,-0.02490,0.03907,-0.02461,0.04061,-0.02412,0.04210,-0.02345,0.04352,-0.02261,0.04485,-0.02161,0.04606,-0.02047,0.04713,-0.01920,0.04805,-0.01782,0.04881,-0.01636,0.04939,-0.01484,0.04978,-0.01328,0.04998,0.01328,0.04998,0.01484,0.04978,0.01636,0.04939,0.01782,0.04881,0.01920,0.04805,0.02047,0.04713,0.02161,0.04606,0.02261,0.04485,0.02345,0.04352,0.02412,0.04210,0.02461,0.04061,0.02490,0.03907,0.02500,0.03750,0.02500,0.00000,-0.02500,0.0})).setSolid(false).setSpine(new MFVec3f(new double[] {0.0,0.0,0.0125,0.0,0.0,-0.0125})))))
              .addChild(new Transform("TailRightSideCurvedEdge").setRotation(0.0,1.0,0.0,-0.18875).setTranslation(-0.6,-0.025,0.0499125)
                .addChild(new Shape()
                  .setAppearance(new Appearance()
                    .setMaterial(new Material().setDiffuseColor(1.0,1.0,.4)))
                  .setGeometry(new Extrusion().setConvex(false).setCreaseAngle(0.5).setCrossSection(new MFVec2f(new double[] {-0.02500,0.00000,-0.02500,0.03750,-0.02490,0.03907,-0.02461,0.04061,-0.02412,0.04210,-0.02345,0.04352,-0.02261,0.04485,-0.02161,0.04606,-0.02047,0.04713,-0.01920,0.04805,-0.01782,0.04881,-0.01636,0.04939,-0.01484,0.04978,-0.01328,0.04998,0.01328,0.04998,0.01484,0.04978,0.01636,0.04939,0.01782,0.04881,0.01920,0.04805,0.02047,0.04713,0.02161,0.04606,0.02261,0.04485,0.02345,0.04352,0.02412,0.04210,0.02461,0.04061,0.02490,0.03907,0.02500,0.03750,0.02500,0.0})).setSolid(false).setSpine(new MFVec3f(new double[] {-0.2125,0.0,0.0,0.0,0.0,0.0})))))
              .addChild(new Transform("TailLeftSideCurvedEdge").setRotation(0.0,1.0,0.0,0.18875).setTranslation(-0.6,-0.025,-0.0499125)
                .addChild(new Shape()
                  .setAppearance(new Appearance()
                    .setMaterial(new Material().setDiffuseColor(1.0,1.0,.4)))
                  .setGeometry(new Extrusion().setConvex(false).setCreaseAngle(0.5).setCrossSection(new MFVec2f(new double[] {0.02500,0.00000,0.02500,-0.03750,0.02490,-0.03907,0.02461,-0.04061,0.02412,-0.04210,0.02345,-0.04352,0.02261,-0.04485,0.02161,-0.04606,0.02047,-0.04713,0.01920,-0.04805,0.01782,-0.04881,0.01636,-0.04939,0.01484,-0.04978,0.01328,-0.04998,-0.01328,-0.04998,-0.01484,-0.04978,-0.01636,-0.04939,-0.01782,-0.04881,-0.01920,-0.04805,-0.02047,-0.04713,-0.02161,-0.04606,-0.02261,-0.04485,-0.02345,-0.04352,-0.02412,-0.04210,-0.02461,-0.04061,-0.02490,-0.03907,-0.02500,-0.03750,-0.02500,0.00000,0.02500,0.0})).setSolid(false).setSpine(new MFVec3f(new double[] {0.0,0.0,0.0,-0.2125,0.0,0.0})))))
              .addChild(new Transform("RearShape")
                .addChild(new Shape()
                  .setAppearance(new Appearance()
                    .setMaterial(new Material().setDiffuseColor(1.0,1.0,.4)))
                  .setGeometry(new Extrusion().setCrossSection(new MFVec2f(new double[] {0.0,.05,.20,.025,.20,-.025,0.0,-.05})).setSolid(false).setSpine(new MFVec3f(new double[] {-0.6,0.0,0.0,-0.6,-0.05,0.0}))))))
            .addChild(new Group("SolarPanelArea")
              .addChild(new Transform("RightSideCurvedEdge")
                .addChild(new Shape()
                  .setAppearance(new Appearance()
                    .setMaterial(new Material().setDiffuseColor(1.0,1.0,.4)))
                  .setGeometry(new Extrusion().setConvex(false).setCreaseAngle(0.5).setCrossSection(new MFVec2f(new double[] {-0.02500,0.00000,-0.02500,0.03750,-0.02490,0.03907,-0.02461,0.04061,-0.02412,0.04210,-0.02345,0.04352,-0.02261,0.04485,-0.02161,0.04606,-0.02047,0.04713,-0.01920,0.04805,-0.01782,0.04881,-0.01636,0.04939,-0.01484,0.04978,-0.01328,0.04998,0.01328,0.04998,0.01484,0.04978,0.01636,0.04939,0.01782,0.04881,0.01920,0.04805,0.02047,0.04713,0.02161,0.04606,0.02261,0.04485,0.02345,0.04352,0.02412,0.04210,0.02461,0.04061,0.02490,0.03907,0.02500,0.03750,0.02500,0.00000,-0.02500,0.0})).setOrientation(new MFRotation(new double[] {1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0})).setSolid(false).setSpine(new MFVec3f(new double[] {0.61825,-0.025,0.5,-0.58125,-0.025,0.5})))))
              .addChild(new Transform("LeftSideCurvedEdge")
                .addChild(new Shape()
                  .setAppearance(new Appearance()
                    .setMaterial(new Material().setDiffuseColor(1.0,1.0,.4)))
                  .setGeometry(new Extrusion().setConvex(false).setCreaseAngle(0.5).setCrossSection(new MFVec2f(new double[] {0.02500,0.00000,0.02500,-0.03750,0.02490,-0.03907,0.02461,-0.04061,0.02412,-0.04210,0.02345,-0.04352,0.02261,-0.04485,0.02161,-0.04606,0.02047,-0.04713,0.01920,-0.04805,0.01782,-0.04881,0.01636,-0.04939,0.01484,-0.04978,0.01328,-0.04998,-0.01328,-0.04998,-0.01484,-0.04978,-0.01636,-0.04939,-0.01782,-0.04881,-0.01920,-0.04805,-0.02047,-0.04713,-0.02161,-0.04606,-0.02261,-0.04485,-0.02345,-0.04352,-0.02412,-0.04210,-0.02461,-0.04061,-0.02490,-0.03907,-0.02500,-0.03750,-0.02500,0.00000,0.02500,0.0})).setOrientation(new MFRotation(new double[] {1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0})).setSolid(false).setSpine(new MFVec3f(new double[] {-0.58125,-0.025,-0.5,0.61825,-0.025,-0.5})))))
              .addChild(new Transform("RearSideCurvedEdge").setRotation(0.0,0.0,1.0,1.57).setTranslation(-0.58125,-0.025,0.0)
                .addChild(new Shape()
                  .setAppearance(new Appearance()
                    .setMaterial(new Material().setDiffuseColor(1.0,1.0,.4)))
                  .setGeometry(new Extrusion().setConvex(false).setCreaseAngle(0.5).setCrossSection(new MFVec2f(new double[] {-0.02500,0.00000,-0.02500,0.03750,-0.02490,0.03907,-0.02461,0.04061,-0.02412,0.04210,-0.02345,0.04352,-0.02261,0.04485,-0.02161,0.04606,-0.02047,0.04713,-0.01920,0.04805,-0.01782,0.04881,-0.01636,0.04939,-0.01484,0.04978,-0.01328,0.04998,0.01328,0.04998,0.01484,0.04978,0.01636,0.04939,0.01782,0.04881,0.01920,0.04805,0.02047,0.04713,0.02161,0.04606,0.02261,0.04485,0.02345,0.04352,0.02412,0.04210,0.02461,0.04061,0.02490,0.03907,0.02500,0.03750,0.02500,0.00000,-0.02500,0.0})).setSolid(false).setSpine(new MFVec3f(new double[] {0.0,0.0,0.5,0.0,0.0,-0.5})))))
              .addChild(new Transform("RightRearCornerCurvedEdge").setRotation(0.0,0.0,1.0,1.57).setTranslation(-0.58125,-0.025,0.5)
                .addChild(new Shape()
                  .setAppearance(new Appearance()
                    .setMaterial(new Material().setDiffuseColor(1.0,1.0,.4)))
                  .setGeometry(new Extrusion().setConvex(false).setCreaseAngle(0.5).setCrossSection(new MFVec2f(new double[] {-0.01250,0.02500,0.02500,0.02500,0.02657,0.02490,0.02811,0.02461,0.02960,0.02412,0.03102,0.02345,0.03235,0.02261,0.03356,0.02161,0.03463,0.02047,0.03555,0.01920,0.03631,0.01782,0.03689,0.01636,0.03728,0.01484,0.03748,0.01328,0.03750,0.01250,0.03750,-0.01250,0.03748,-0.01328,0.03728,-0.01484,0.03689,-0.01636,0.03631,-0.01782,0.03555,-0.01920,0.03463,-0.02047,0.03356,-0.02161,0.03235,-0.02261,0.03102,-0.02345,0.02960,-0.02412,0.02811,-0.02461,0.02657,-0.02490,0.02500,-0.02500,-0.01250,-0.02500})).setSolid(false).setSpine(new MFVec3f(new double[] {0.0,-0.00078,0.01248,0.0,0.0,0.01250,0.0,0.00078,0.01248,0.0,0.00234,0.01228,0.0,0.00386,0.01189,0.0,0.00532,0.01131,0.0,0.00670,0.01055,0.0,0.00797,0.00963,0.0,0.00911,0.00856,0.0,0.01011,0.00735,0.0,0.01095,0.00602,0.0,0.01162,0.00460,0.0,0.01211,0.00311,0.0,0.01240,0.00157,0.0,0.01250,0.00000,0.0,0.01240,-0.00157})))))
              .addChild(new Transform("LeftRearCornerCurvedEdge").setRotation(0.0,0.0,1.0,1.57).setTranslation(-0.58125,-0.025,-0.5)
                .addChild(new Shape()
                  .setAppearance(new Appearance()
                    .setMaterial(new Material().setDiffuseColor(1.0,1.0,.4)))
                  .setGeometry(new Extrusion().setConvex(false).setCreaseAngle(0.5).setCrossSection(new MFVec2f(new double[] {-0.01250,0.02500,0.02500,0.02500,0.02657,0.02490,0.02811,0.02461,0.02960,0.02412,0.03102,0.02345,0.03235,0.02261,0.03356,0.02161,0.03463,0.02047,0.03555,0.01920,0.03631,0.01782,0.03689,0.01636,0.03728,0.01484,0.03748,0.01328,0.03750,0.01250,0.03750,-0.01250,0.03748,-0.01328,0.03728,-0.01484,0.03689,-0.01636,0.03631,-0.01782,0.03555,-0.01920,0.03463,-0.02047,0.03356,-0.02161,0.03235,-0.02261,0.03102,-0.02345,0.02960,-0.02412,0.02811,-0.02461,0.02657,-0.02490,0.02500,-0.02500,-0.01250,-0.02500})).setSolid(false).setSpine(new MFVec3f(new double[] {0.0,0.01240,0.00157,0.0,0.01250,0.00000,0.0,0.01240,-0.00157,0.0,0.01211,-0.00311,0.0,0.01162,-0.00460,0.0,0.01095,-0.00602,0.0,0.01011,-0.00735,0.0,0.00911,-0.00856,0.0,0.00797,-0.00963,0.0,0.00670,-0.01055,0.0,0.00532,-0.01131,0.0,0.00386,-0.01189,0.0,0.00234,-0.01228,0.0,0.00078,-0.01248,0.0,-0.00078,-0.01248})))))
              .addChild(new Transform("RightFrontCornerCurvedEdge").setRotation(0.0,0.0,1.0,1.57).setTranslation(0.61825,-0.025,0.5)
                .addChild(new Shape()
                  .setAppearance(new Appearance()
                    .setMaterial(new Material().setDiffuseColor(1.0,1.0,.4)))
                  .setGeometry(new Extrusion().setConvex(false).setCreaseAngle(0.5).setCrossSection(new MFVec2f(new double[] {-0.01250,0.02500,0.02500,0.02500,0.02657,0.02490,0.02811,0.02461,0.02960,0.02412,0.03102,0.02345,0.03235,0.02261,0.03356,0.02161,0.03463,0.02047,0.03555,0.01920,0.03631,0.01782,0.03689,0.01636,0.03728,0.01484,0.03748,0.01328,0.03750,0.01250,0.03750,-0.01250,0.03748,-0.01328,0.03728,-0.01484,0.03689,-0.01636,0.03631,-0.01782,0.03555,-0.01920,0.03463,-0.02047,0.03356,-0.02161,0.03235,-0.02261,0.03102,-0.02345,0.02960,-0.02412,0.02811,-0.02461,0.02657,-0.02490,0.02500,-0.02500,-0.01250,-0.02500})).setSolid(false).setSpine(new MFVec3f(new double[] {0.0,-0.00670,0.01055,0.0,-0.00532,0.01131,0.0,-0.00386,0.01189,0.0,-0.00234,0.01228,0.0,-0.00078,0.01248,0.0,0.00078,0.01248})))))
              .addChild(new Transform("LeftFrontCornerCurvedEdge").setRotation(0.0,0.0,1.0,1.57).setTranslation(0.61825,-0.025,-0.5)
                .addChild(new Shape()
                  .setAppearance(new Appearance()
                    .setMaterial(new Material().setDiffuseColor(1.0,1.0,.4)))
                  .setGeometry(new Extrusion().setConvex(false).setCreaseAngle(0.5).setCrossSection(new MFVec2f(new double[] {-0.01250,0.02500,0.02500,0.02500,0.02657,0.02490,0.02811,0.02461,0.02960,0.02412,0.03102,0.02345,0.03235,0.02261,0.03356,0.02161,0.03463,0.02047,0.03555,0.01920,0.03631,0.01782,0.03689,0.01636,0.03728,0.01484,0.03748,0.01328,0.03750,0.01250,0.03750,-0.01250,0.03748,-0.01328,0.03728,-0.01484,0.03689,-0.01636,0.03631,-0.01782,0.03555,-0.01920,0.03463,-0.02047,0.03356,-0.02161,0.03235,-0.02261,0.03102,-0.02345,0.02960,-0.02412,0.02811,-0.02461,0.02657,-0.02490,0.02500,-0.02500,-0.01250,-0.02500})).setSolid(false).setSpine(new MFVec3f(new double[] {0.0,0.00078,-0.01248,0.0,-0.00078,-0.01248,0.0,-0.00234,-0.01228,0.0,-0.00386,-0.01189,0.0,-0.00532,-0.01131,0.0,-0.00670,-0.01055}))))))
            .addChild(new Group("FrontTriangularShape")
              .addChild(new Transform("FrontTriangularShapeFiller")
                .addChild(new Shape()
                  .setAppearance(new Appearance()
                    .setMaterial(new Material().setDiffuseColor(1.0,1.0,.4)))
                  .setGeometry(new Extrusion().setCrossSection(new MFVec2f(new double[] {0.0,-0.5205,-.4,-0.125,-.4,0.125,0.0,0.5205,0.0,-0.5205})).setSolid(false).setSpine(new MFVec3f(new double[] {.61875,0.0,0.0,.61875,-.05,0.0})))))
              .addChild(new Transform("FrontTriangleRightSideCurvedEdge").setRotation(0.0,1.0,0.0,0.785).setTranslation(0.79725,-0.025,0.3188)
                .addChild(new Shape()
                  .setAppearance(new Appearance()
                    .setMaterial(new Material().setDiffuseColor(1.0,1.0,.4)))
                  .setGeometry(new Extrusion().setConvex(false).setCreaseAngle(0.5).setCrossSection(new MFVec2f(new double[] {-0.02500,0.00000,-0.02500,0.03750,-0.02490,0.03907,-0.02461,0.04061,-0.02412,0.04210,-0.02345,0.04352,-0.02261,0.04485,-0.02161,0.04606,-0.02047,0.04713,-0.01920,0.04805,-0.01782,0.04881,-0.01636,0.04939,-0.01484,0.04978,-0.01328,0.04998,0.01328,0.04998,0.01484,0.04978,0.01636,0.04939,0.01782,0.04881,0.01920,0.04805,0.02047,0.04713,0.02161,0.04606,0.02261,0.04485,0.02345,0.04352,0.02412,0.04210,0.02461,0.04061,0.02490,0.03907,0.02500,0.03750,0.02500,0.00000,-0.02500,0.0})).setSolid(false).setSpine(new MFVec3f(new double[] {-0.2675,0.0,0.0,0.2675,0.0,0.0})))))
              .addChild(new Transform("FrontTriangleLeftSideCurvedEdge").setRotation(0.0,1.0,0.0,-0.785).setTranslation(0.79725,-0.025,-0.3188)
                .addChild(new Shape()
                  .setAppearance(new Appearance()
                    .setMaterial(new Material().setDiffuseColor(1.0,1.0,.4)))
                  .setGeometry(new Extrusion().setConvex(false).setCreaseAngle(0.5).setCrossSection(new MFVec2f(new double[] {0.02500,0.00000,0.02500,-0.03750,0.02490,-0.03907,0.02461,-0.04061,0.02412,-0.04210,0.02345,-0.04352,0.02261,-0.04485,0.02161,-0.04606,0.02047,-0.04713,0.01920,-0.04805,0.01782,-0.04881,0.01636,-0.04939,0.01484,-0.04978,0.01328,-0.04998,-0.01328,-0.04998,-0.01484,-0.04978,-0.01636,-0.04939,-0.01782,-0.04881,-0.01920,-0.04805,-0.02047,-0.04713,-0.02161,-0.04606,-0.02261,-0.04485,-0.02345,-0.04352,-0.02412,-0.04210,-0.02461,-0.04061,-0.02490,-0.03907,-0.02500,-0.03750,-0.02500,0.00000,0.02500,0.0})).setOrientation(new MFRotation(new double[] {1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0})).setSolid(false).setSpine(new MFVec3f(new double[] {-0.2675,0.0,0.0,0.2675,0.0,0.0})))))
              .addChild(new Transform("DrapedOverTorpedoHeadCurvedEdge").setTranslation(1.0,0.0,0.0)
                .addChild(new Shape()
                  .setAppearance(new Appearance()
                    .setMaterial(new Material().setDiffuseColor(1.0,1.0,0.4)))
                  .setGeometry(new Extrusion().setConvex(false).setCreaseAngle(2.355).setCrossSection(new MFVec2f(new double[] {0.0,0.1612500,0.001,0.1612500,0.001,-0.1612500,0.0,-0.1612500,0.0,0.1612500})).setScale(new MFVec2f(new double[] {1.0,1.00000,1.0,1.00000,1.0,1.00000,1.0,1.00000,1.0,1.00000,1.0,1.00000,1.0,1.00000,1.0,1.00000,1.0,1.00000,1.0,1.00000,1.0,1.00000,1.0,1.00000,1.0,1.00000,1.0,1.00000,1.0,1.00000,1.0,1.00000,1.0,1.00000,1.0,1.00000,1.0,1.00000,1.0,1.00000,1.0,1.00000,1.0,1.00000,1.0,1.00000,1.0,1.00000,1.0,1.00000,1.0,1.00000,1.0,1.00000,1.0,1.00000,1.0,1.00000,1.0,1.00000,1.0,1.000000,1.0,0.937857,1.0,0.880714,1.0,0.823571,1.0,0.766429,1.0,0.709286,1.0,0.652143,1.0,0.537857,1.0,0.480714,1.0,0.423571,1.0,0.366429,1.0,0.309286,1.0,0.252143,1.0,0.195000,1.0,0.137857,1.0,0.080714,1.0,0.023571})).setSolid(false).setSpine(new MFVec3f(new double[] {0.0,0.0,0.0,0.00100,0.0,0.0,0.00200,0.0,0.0,0.00300,0.0,0.0,0.00400,0.0,0.0,0.00500,0.0,0.0,0.00600,0.0,0.0,0.00700,0.0,0.0,0.00800,0.0,0.0,0.00900,0.0,0.0,0.01000,0.0,0.0,0.01100,0.0,0.0,0.01200,0.0,0.0,0.01300,0.0,0.0,0.01400,0.0,0.0,0.01500,0.0,0.0,0.01600,0.0,0.0,0.01700,0.0,0.0,0.01800,0.0,0.0,0.01900,0.0,0.0,0.02000,0.0,0.0,0.02500,0.0,0.0,0.03000,0.0,0.0,0.03500,0.0,0.0,0.04000,0.0,0.0,0.04500,0.0,0.0,0.05000,0.0,0.0,0.10000,-0.003437500,0.0,0.15000,-0.006875000,0.0,0.20000,-0.016227943,0.0,0.28330,-0.047485323,0.0,0.31606,-0.059778153,0.0,0.33997,-0.068750000,0.0,0.35908,-0.075920928,0.0,0.37496,-0.083120264,0.0,0.38844,-0.086937950,0.0,0.40000,-0.091275718,0.0,0.40996,-0.095013078,0.0,0.41853,-0.098228873,0.0,0.42588,-0.100986875,0.0,0.43212,-0.103328390,0.0,0.43733,-0.105283365,0.0,0.44159,-0.106881885,0.0,0.44495,-0.108142705,0.0,0.44744,-0.109077045,0.0,0.44908,-0.109692440,0.0,0.44990,-0.110000000,0.0}))))))))
        .addChild(new Group("CowlingSection")
          .addChild(new Transform("TorpedoSolarPanelConnector")
            .addChild(new Shape()
              .setAppearance(new Appearance()
                .setMaterial(new Material().setDiffuseColor(1.0,1.0,.4).setSpecularColor(0.16,0.16,0.16)))
              .setGeometry(new Extrusion().setConvex(false).setCreaseAngle(0.5).setCrossSection(new MFVec2f(new double[] {0.0,0.00000,-0.02500,0.00000,-0.02500,0.27500,-0.01250,0.27500,-0.01172,0.27498,-0.01016,0.27478,-0.00864,0.27439,-0.00718,0.27381,-0.00580,0.27305,-0.00453,0.27213,-0.00339,0.27106,-0.00239,0.26985,-0.00155,0.26852,-0.00088,0.26710,-0.00039,0.26561,-0.00010,0.26307,0.0,0.26250,0.0,0.0})).setScale(new MFVec2f(new double[] {0.10000,0.8500000,1.0,0.8500000,1.0,0.8500000,1.0,1.0000000,1.0,1.0000000,1.0,0.98750000,1.0,0.97500000,1.0,0.9409893,1.0,0.8273261,1.0,0.7826249,1.0,0.7500000,1.0,0.7239239,1.0,0.7022555,1.0,0.6838620,1.0,0.6680883,1.0,0.6544979,1.0,0.6428041,1.0,0.6327750,1.0,0.6242604,1.0,0.6171514,1.0,0.6113386,1.0,0.6067538,1.0,0.6033562,1.0,0.6011184,1.0,0.6000000,1.0,0.6000000,1.0,0.6011184,1.0,0.6033562,1.0,0.6067538,1.0,0.6113386,1.0,0.6171514,1.0,0.6242604,1.0,0.6327750,1.0,0.6428041,1.0,0.6544979,1.0,0.6680883,1.0,0.6838620,1.0,0.7022555,1.0,0.7239239,1.0,0.7500000,1.0,0.7826249,1.0,0.8273261,1.0,0.9409893,1.0,0.97500000,1.0,0.98750000,1.0,1.0000000,1.0,1.0000000,1.0,0.8500000,1.0,0.8500000,0.10000,0.8500000})).setSolid(false).setSpine(getExtrusion_8_281_spine()))))
          .addChild(new Transform("TorpedoBody")
            .addChild(new Shape()
              .setAppearance(new Appearance()
                .setMaterial(new Material().setDiffuseColor(1.0,1.0,.4).setSpecularColor(0.16,0.16,0.16)))
              .setGeometry(new Extrusion().setConvex(false).setCreaseAngle(0.5).setCrossSection(new MFVec2f(new double[] {-0.07500,1.45000,-0.08000,1.44990,-0.09000,1.44908,-0.10000,1.44744,-0.11000,1.44495,-0.12000,1.44159,-0.13000,1.43733,-0.14000,1.43212,-0.15000,1.42588,-0.16000,1.41853,-0.17000,1.40996,-0.18000,1.40000,-0.19000,1.38844,-0.20000,1.37496,-0.21000,1.35908,-0.22000,1.33997,-0.23000,1.31606,-0.24000,1.28330,-0.25000,1.20000,-0.25000,1.15000,-0.25000,-0.248125,-0.17500,-0.585000,-0.07500,-0.585000})).setSolid(false).setSpine(getExtrusion_8_286_spine())))))
        .addChild(new Group("Propeller")
          .addChild(new Transform("PropellerConePart")
            .addChild(new Shape()
              .setAppearance(new Appearance()
                .setMaterial(new Material().setDiffuseColor(0.0,0.0,0.0).setShininess(0.5).setSpecularColor(0.7,0.7,0.7)))
              .setGeometry(new Extrusion().setConvex(false).setCreaseAngle(0.5).setCrossSection(new MFVec2f(new double[] {-0.025,0.000,-0.025,0.215,0.075,0.215,0.0,0.000,-0.025,0.0})).setSolid(false).setSpine(getExtrusion_8_292_spine()))))
          .addChild(new Transform("PropellerHollowCylinderPart")
            .addChild(new Shape()
              .setAppearance(new Appearance()
                .setMaterial(new Material().setDiffuseColor(0.0,0.0,0.0).setShininess(0.5).setSpecularColor(0.7,0.7,0.7)))
              .setGeometry(new Extrusion().setConvex(false).setCreaseAngle(0.5).setCrossSection(new MFVec2f(new double[] {0.0245,0.050,0.025,0.050,0.005,0.00,0.0,0.00,0.0245,0.050})).setSolid(false).setSpine(getExtrusion_8_297_spine()))))))
      .addChild(new WorldInfo())
      .addChild(new WorldInfo())));
            }
            catch (Exception ex)
            {       
                System.err.println ("*** Further hints on X3DJSAIL errors and exceptions at");
                System.err.println ("*** https://www.web3d.org/specifications/java/X3DJSAIL.html");
                throw (ex);
            }
	}
	// end of initialize() method




		/** Large attribute array: Extrusion spine field, scene-graph level=8, element #281, 150 total numbers made up of 50 3-tuple values.
		 * Reassemble split array as single method to improve readability and runnability.
		 * Provide large array values via separate methods, hoping to avoid 'code too large' Java compilation errors. 
		 * Individual Java methods (including aggregated initializations) are limited to 64KB.
		 * @see https://stackoverflow.com/questions/2407912/code-too-large-compilation-error-in-java
		 * @see https://stackoverflow.com/questions/11437905/java-too-many-constants-jvm-error
		 */
		private MFVec3f getExtrusion_8_281_spine()
		{
			MFVec3f Extrusion_8_281_spine = new MFVec3f(new double[] {-0.585000,-0.275,0.00000,-0.248125,-0.275,0.17500,0.900000,-0.275,0.17500,1.000000,-0.275,0.17500,1.050000,-0.275,0.17500,1.100000,-0.275,0.17500,1.150000,-0.275,0.17500,1.200000,-0.275,0.17500,1.283300,-0.275,0.16500,1.316060,-0.275,0.15500,1.33997,-0.275,0.14500,1.35908,-0.275,0.13500,1.37496,-0.275,0.12500,1.38844,-0.275,0.11500,1.40000,-0.275,0.10500,1.40996,-0.275,0.09500,1.41853,-0.275,0.08500,1.42588,-0.275,0.07500,1.43212,-0.275,0.06500,1.43733,-0.275,0.05500,1.44159,-0.275,0.04500,1.44495,-0.275,0.03500,1.44744,-0.275,0.02500,1.44908,-0.275,0.01500,1.44990,-0.275,0.00500,1.44990,-0.275,-0.00500,1.44908,-0.275,-0.01500,1.44744,-0.275,-0.02500,1.44495,-0.275,-0.03500,1.44159,-0.275,-0.04500,1.43733,-0.275,-0.05500,1.43212,-0.275,-0.06500,1.42588,-0.275,-0.07500,1.41853,-0.275,-0.08500,1.40996,-0.275,-0.09500,1.40000,-0.275,-0.10500,1.38844,-0.275,-0.11500,1.37496,-0.275,-0.12500,1.35908,-0.275,-0.13500,1.33997,-0.275,-0.14500,1.31606,-0.275,-0.15500,1.28330,-0.275,-0.16500,1.20000,-0.275,-0.17500,1.15000,-0.275,-0.17500,1.10000,-0.275,-0.17500,1.05000,-0.275,-0.17500,1.0,-0.275,-0.17500,0.900000,-0.275,-0.17500,-0.248125,-0.275,-0.17500,-0.585000,-0.275,-0.0});
			return Extrusion_8_281_spine;
		}
		/** Large attribute array: Extrusion spine field, scene-graph level=8, element #286, 153 total numbers made up of 51 3-tuple values.
		 * Reassemble split array as single method to improve readability and runnability.
		 * Provide large array values via separate methods, hoping to avoid 'code too large' Java compilation errors. 
		 * Individual Java methods (including aggregated initializations) are limited to 64KB.
		 * @see https://stackoverflow.com/questions/2407912/code-too-large-compilation-error-in-java
		 * @see https://stackoverflow.com/questions/11437905/java-too-many-constants-jvm-error
		 */
		private MFVec3f getExtrusion_8_286_spine()
		{
			MFVec3f Extrusion_8_286_spine = new MFVec3f(new double[] {0.0,-0.20000,0.00000,0.0,-0.20059,0.00940,0.0,-0.20236,0.01865,0.0,-0.20527,0.02761,0.0,-0.20928,0.03613,0.0,-0.21432,0.04408,0.0,-0.22033,0.05134,0.0,-0.22719,0.05779,0.0,-0.23481,0.06332,0.0,-0.24307,0.06786,0.0,-0.25182,0.07133,0.0,-0.26095,0.07367,0.0,-0.27029,0.07485,0.0,-0.27971,0.07485,0.0,-0.28905,0.07367,0.0,-0.29818,0.07133,0.0,-0.30693,0.06786,0.0,-0.31519,0.06332,0.0,-0.32281,0.05779,0.0,-0.32967,0.05134,0.0,-0.33568,0.04408,0.0,-0.34072,0.03613,0.0,-0.34473,0.02761,0.0,-0.34764,0.01865,0.0,-0.34941,0.00940,0.0,-0.35000,0.00000,0.0,-0.34941,-0.00940,0.0,-0.34764,-0.01865,0.0,-0.34473,-0.02761,0.0,-0.34072,-0.03613,0.0,-0.33568,-0.04408,0.0,-0.32967,-0.05134,0.0,-0.32281,-0.05779,0.0,-0.31519,-0.06332,0.0,-0.30693,-0.06786,0.0,-0.29818,-0.07133,0.0,-0.28905,-0.07367,0.0,-0.27971,-0.07485,0.0,-0.27029,-0.07485,0.0,-0.26095,-0.07367,0.0,-0.25182,-0.07133,0.0,-0.24307,-0.06786,0.0,-0.23481,-0.06332,0.0,-0.22719,-0.05779,0.0,-0.22033,-0.05134,0.0,-0.21432,-0.04408,0.0,-0.20928,-0.03613,0.0,-0.20527,-0.02761,0.0,-0.20236,-0.01865,0.0,-0.20059,-0.00940,0.0,-0.20000,-0.00000});
			return Extrusion_8_286_spine;
		}
		/** Large attribute array: Extrusion spine field, scene-graph level=8, element #292, 153 total numbers made up of 51 3-tuple values.
		 * Reassemble split array as single method to improve readability and runnability.
		 * Provide large array values via separate methods, hoping to avoid 'code too large' Java compilation errors. 
		 * Individual Java methods (including aggregated initializations) are limited to 64KB.
		 * @see https://stackoverflow.com/questions/2407912/code-too-large-compilation-error-in-java
		 * @see https://stackoverflow.com/questions/11437905/java-too-many-constants-jvm-error
		 */
		private MFVec3f getExtrusion_8_292_spine()
		{
			MFVec3f Extrusion_8_292_spine = new MFVec3f(new double[] {-0.80,-0.25000,0.00000,-0.80,-0.25020,0.00313,-0.80,-0.25079,0.00622,-0.80,-0.25176,0.00920,-0.80,-0.25309,0.01204,-0.80,-0.25477,0.01469,-0.80,-0.25678,0.01711,-0.80,-0.25906,0.01926,-0.80,-0.26160,0.02111,-0.80,-0.26436,0.02262,-0.80,-0.26727,0.02378,-0.80,-0.27032,0.02456,-0.80,-0.27343,0.02495,-0.80,-0.27657,0.02495,-0.80,-0.27968,0.02456,-0.80,-0.28273,0.02378,-0.80,-0.28564,0.02262,-0.80,-0.28840,0.02111,-0.80,-0.29094,0.01926,-0.80,-0.29322,0.01711,-0.80,-0.29523,0.01469,-0.80,-0.29691,0.01204,-0.80,-0.29824,0.00920,-0.80,-0.29921,0.00622,-0.80,-0.29980,0.00313,-0.80,-0.30000,0.00000,-0.80,-0.29980,-0.00313,-0.80,-0.29921,-0.00622,-0.80,-0.29824,-0.00920,-0.80,-0.29691,-0.01204,-0.80,-0.29523,-0.01469,-0.80,-0.29322,-0.01711,-0.80,-0.29094,-0.01926,-0.80,-0.28840,-0.02111,-0.80,-0.28564,-0.02262,-0.80,-0.28273,-0.02378,-0.80,-0.27968,-0.02456,-0.80,-0.27657,-0.02495,-0.80,-0.27343,-0.02495,-0.80,-0.27032,-0.02456,-0.80,-0.26727,-0.02378,-0.80,-0.26436,-0.02262,-0.80,-0.26160,-0.02111,-0.80,-0.25906,-0.01926,-0.80,-0.25678,-0.01711,-0.80,-0.25477,-0.01469,-0.80,-0.25309,-0.01204,-0.80,-0.25176,-0.00920,-0.80,-0.25079,-0.00622,-0.80,-0.25020,-0.00313,-0.80,-0.25000,-0.0});
			return Extrusion_8_292_spine;
		}
		/** Large attribute array: Extrusion spine field, scene-graph level=8, element #297, 153 total numbers made up of 51 3-tuple values.
		 * Reassemble split array as single method to improve readability and runnability.
		 * Provide large array values via separate methods, hoping to avoid 'code too large' Java compilation errors. 
		 * Individual Java methods (including aggregated initializations) are limited to 64KB.
		 * @see https://stackoverflow.com/questions/2407912/code-too-large-compilation-error-in-java
		 * @see https://stackoverflow.com/questions/11437905/java-too-many-constants-jvm-error
		 */
		private MFVec3f getExtrusion_8_297_spine()
		{
			MFVec3f Extrusion_8_297_spine = new MFVec3f(new double[] {-0.8,-0.20000,0.00000,-0.8,-0.20059,0.00940,-0.8,-0.20236,0.01865,-0.8,-0.20527,0.02761,-0.8,-0.20928,0.03613,-0.8,-0.21432,0.04408,-0.8,-0.22033,0.05134,-0.8,-0.22719,0.05779,-0.8,-0.23481,0.06332,-0.8,-0.24307,0.06786,-0.8,-0.25182,0.07133,-0.8,-0.26095,0.07367,-0.8,-0.27029,0.07485,-0.8,-0.27971,0.07485,-0.8,-0.28905,0.07367,-0.8,-0.29818,0.07133,-0.8,-0.30693,0.06786,-0.8,-0.31519,0.06332,-0.8,-0.32281,0.05779,-0.8,-0.32967,0.05134,-0.8,-0.33568,0.04408,-0.8,-0.34072,0.03613,-0.8,-0.34473,0.02761,-0.8,-0.34764,0.01865,-0.8,-0.34941,0.00940,-0.8,-0.35000,0.00000,-0.8,-0.34941,-0.00940,-0.8,-0.34764,-0.01865,-0.8,-0.34473,-0.02761,-0.8,-0.34072,-0.03613,-0.8,-0.33568,-0.04408,-0.8,-0.32967,-0.05134,-0.8,-0.32281,-0.05779,-0.8,-0.31519,-0.06332,-0.8,-0.30693,-0.06786,-0.8,-0.29818,-0.07133,-0.8,-0.28905,-0.07367,-0.8,-0.27971,-0.07485,-0.8,-0.27029,-0.07485,-0.8,-0.26095,-0.07367,-0.8,-0.25182,-0.07133,-0.8,-0.24307,-0.06786,-0.8,-0.23481,-0.06332,-0.8,-0.22719,-0.05779,-0.8,-0.22033,-0.05134,-0.8,-0.21432,-0.04408,-0.8,-0.20928,-0.03613,-0.8,-0.20527,-0.02761,-0.8,-0.20236,-0.01865,-0.8,-0.20059,-0.00940,-0.8,-0.20000,-0.0});
			return Extrusion_8_297_spine;
		}

	/** The initialized model object, created within initialize() method. */
	private X3D x3dModel;

	/** 
	 * Provide a 
	 * <a href="https://dzone.com/articles/java-copy-shallow-vs-deep-in-which-you-will-swim" target="_blank">shallow copy</a>
	 * of the X3D model.
	 * @see <a href="https://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/Core/X3D.html">X3D</a>
	 * @return SolarAuv model
	 */
	public X3D getX3dModel()
	{	  
		return x3dModel;
	}
	   
    /** 
     * Default main() method provided for test purposes, uses CommandLine to set global ConfigurationProperties for this object.
     * @param args array of input parameters, provided as arguments
     * @see <a href="https://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/Core/X3D.html#handleArguments-java.lang.String:A-">X3D.handleArguments(args)</a>
     * @see <a href="https://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/Core/X3D.html#validationReport--">X3D.validationReport()</a>
     * @see <a href="https://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/CommandLine.html">CommandLine</a>
     * @see <a href="https://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/CommandLine.html#USAGE">CommandLine.USAGE</a>
     * @see <a href="https://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/ConfigurationProperties.html">ConfigurationProperties</a>
     */
    public static void main(String args[])
    {
        System.out.println("Build this X3D model, showing validation diagnostics...");
        X3D thisExampleX3dModel = new SolarAuv().getX3dModel();
//      System.out.println("X3D model construction complete.");
	
        // next handle command line arguments
        boolean hasArguments = (args != null) && (args.length > 0);
        boolean validate = true; // default
        boolean argumentsLoadNewModel = false;
        String  fileName = new String();

        if (args != null)
        {
                for (String arg : args)
                {
                        if (arg.toLowerCase().startsWith("-v") || arg.toLowerCase().contains("validate"))
                        {
                                validate = true; // making sure
                        }
                        if (arg.toLowerCase().endsWith(X3D.FILE_EXTENSION_X3D) ||
                                arg.toLowerCase().endsWith(X3D.FILE_EXTENSION_CLASSICVRML) ||
                                arg.toLowerCase().endsWith(X3D.FILE_EXTENSION_X3DB) ||
                                arg.toLowerCase().endsWith(X3D.FILE_EXTENSION_VRML97) ||
                                arg.toLowerCase().endsWith(X3D.FILE_EXTENSION_EXI) ||
                                arg.toLowerCase().endsWith(X3D.FILE_EXTENSION_GZIP) ||
                                arg.toLowerCase().endsWith(X3D.FILE_EXTENSION_ZIP) ||
                                arg.toLowerCase().endsWith(X3D.FILE_EXTENSION_HTML) ||
                                arg.toLowerCase().endsWith(X3D.FILE_EXTENSION_XHTML))
                        {
                                argumentsLoadNewModel = true;
                                fileName = arg;
                        }
                }
        }
        if      (argumentsLoadNewModel)
                System.out.println("WARNING: \"Savage.Robots.UnmannedUnderwaterVehicles.SolarAuv\" model invocation is attempting to load file \"" + fileName + "\" instead of simply validating itself... file loading ignored.");
        else if (hasArguments) // if no arguments provided, this method produces usage warning
                thisExampleX3dModel.handleArguments(args);
	
        if (validate)
        {
            //  System.out.println("--- TODO fix duplicated outputs ---"); // omit when duplicated outputs problem is solved/refactored
		String validationResults = thisExampleX3dModel.validationReport();
            //  System.out.println("-----------------------------------"); // omit when duplicated outputs problem is solved/refactored
                System.out.print("Savage.Robots.UnmannedUnderwaterVehicles.SolarAuv self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

                // experimental: test X3DJSAIL output files
                // Robots/UnmannedUnderwaterVehicles/SolarAuv_JavaExport.* file validation is checked when building X3D Example Archives
                String filenameX3D  = "Robots/UnmannedUnderwaterVehicles/SolarAuv_JavaExport.x3d"; 
                String filenameX3DV = "Robots/UnmannedUnderwaterVehicles/SolarAuv_JavaExport.x3dv"; 
                String filenameJSON = "Robots/UnmannedUnderwaterVehicles/SolarAuv_JavaExport.json";
                thisExampleX3dModel.toFileX3D        (filenameX3D);
                thisExampleX3dModel.toFileClassicVRML(filenameX3DV);
// TODO         thisExampleX3dModel.toFileJSON       (filenameJSON);
        }
    }
}
