package Basic.LatticeXvl;

/*
Copyright (c) 1995-2019 held by the author(s).  All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

    * Redistributions of source code must retain the above copyright
      notice, this list of conditions and the following disclaimer.
    * Redistributions in binary form must reproduce the above copyright
      notice, this list of conditions and the following disclaimer
      in the documentation and/or other materials provided with the
      distribution.
    * Neither the name of the Web3D Consortium (http://www.web3D.org)
      nor the names of its contributors may be used to endorse or
      promote products derived from this software without specific
      prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/

import java.util.*;
import org.web3d.x3d.jsail.Core.*;
import org.web3d.x3d.jsail.fields.*;
import org.web3d.x3d.jsail.Grouping.*;
import org.web3d.x3d.jsail.Rendering.*;
import org.web3d.x3d.jsail.Shape.*;

// Javadoc annotations follow, see below for source.
/**
 * <p> Example XvlShell model. </p>
 <p> Related links: <a href="../../../LatticeXvl/XvlShellModelDolphin.java">XvlShellModelDolphin.java</a> source, <a href="../../../LatticeXvl/XvlShellModelDolphinIndex.html" target="_top">XvlShellModelDolphin catalog page</a>, <a href="http://www.web3d.org/x3d/content/examples/X3dResources.html" target="_blank">X3D Resources</a>, <a href="http://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html" target="_blank">X3D Scene Authoring Hints</a>, and <a href="http://www.web3d.org/x3d/content/X3dTooltips.html" target="_blank">X3D Tooltips</a>. </p>
	<table style="color:black; border:0px solid; border-spacing:10px 0px;" summary="Scene Metadata">
		<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="../../../LatticeXvl/XvlShellModelDolphin.x3d">XvlShellModelDolphin.x3d</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> description </i> </td>
			<td> Example XvlShell model. </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> creator </i> </td>
			<td> Marc Jablonski </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> created </i> </td>
			<td> 24 January 2002 </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> modified </i> </td>
			<td> 20 March 2016 </td>
		</tr>
		<tr style="color:red">
			<td style="text-align:right; vertical-align: text-top;"> <i> error </i> </td>
			<td> Test X3D DTD experimental extensions mechanisms, the XVL nodes are not legal X3D </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> readme.txt </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> <a href="../../../LatticeXvl/docs/LatticeXvl/LatticeXvlOverview.html">docs/LatticeXvl/LatticeXvlOverview.html</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> <a href="http://www.web3d.org/x3d/content/examples/Basic/LatticeXvl/docs/LatticeXvl/LatticeXvlOverview.html" target="_blank">http://www.web3d.org/x3d/content/examples/Basic/LatticeXvl/docs/LatticeXvl/LatticeXvlOverview.html</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> <a href="http://www.xvl3d.com" target="_blank">http://www.xvl3d.com</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> subject </i> </td>
			<td> Lattice XVL parametric geometry X3D VRML </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> identifier </i> </td>
			<td> <a href="http://www.web3d.org/x3d/content/examples/Basic/LatticeXvl/XvlShellModelDolphin.x3d" target="_blank">http://www.web3d.org/x3d/content/examples/Basic/LatticeXvl/XvlShellModelDolphin.x3d</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> generator </i> </td>
			<td> Xvl3ToX3d, <a href="http://www.lattice3d.com" target="_blank">http://www.lattice3d.com</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> license </i> </td>
			<td> <a href="../../../LatticeXvl/../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="http://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="http://www.web3d.org/x3d/stylesheets/X3dToJava.xslt" target="_blank">X3dToJava.xslt</a>
		stylesheet to create Java source code from an <code>.x3d</code> model.
	</p>

	* @author Marc Jablonski
 */

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

	/** Create and initialize the X3D model for this object. */
	public final void initialize()
	{
  x3dModel = new X3DObject().setProfile(X3DObject.PROFILE_IMMERSIVE).setVersion(X3DObject.VERSION_3_0)
  .setHead(new headObject()
    .addMeta(new metaObject().setName(metaObject.NAME_TITLE      ).setContent("XvlShellModelDolphin.x3d"))
    .addMeta(new metaObject().setName(metaObject.NAME_DESCRIPTION).setContent("Example XvlShell model."))
    .addMeta(new metaObject().setName(metaObject.NAME_CREATOR    ).setContent("Marc Jablonski"))
    .addMeta(new metaObject().setName(metaObject.NAME_CREATED    ).setContent("24 January 2002"))
    .addMeta(new metaObject().setName(metaObject.NAME_MODIFIED   ).setContent("20 March 2016"))
    .addMeta(new metaObject().setName(metaObject.NAME_ERROR      ).setContent("Test X3D DTD experimental extensions mechanisms, the XVL nodes are not legal X3D"))
    .addMeta(new metaObject().setName(metaObject.NAME_REFERENCE  ).setContent("readme.txt"))
    .addMeta(new metaObject().setName(metaObject.NAME_REFERENCE  ).setContent("docs/LatticeXvl/LatticeXvlOverview.html"))
    .addMeta(new metaObject().setName(metaObject.NAME_REFERENCE  ).setContent("http://www.web3d.org/x3d/content/examples/Basic/LatticeXvl/docs/LatticeXvl/LatticeXvlOverview.html"))
    .addMeta(new metaObject().setName(metaObject.NAME_REFERENCE  ).setContent("http://www.xvl3d.com"))
    .addMeta(new metaObject().setName(metaObject.NAME_SUBJECT    ).setContent("Lattice XVL parametric geometry X3D VRML"))
    .addMeta(new metaObject().setName(metaObject.NAME_IDENTIFIER ).setContent("http://www.web3d.org/x3d/content/examples/Basic/LatticeXvl/XvlShellModelDolphin.x3d"))
    .addMeta(new metaObject().setName(metaObject.NAME_GENERATOR  ).setContent("Xvl3ToX3d, http://www.lattice3d.com"))
    .addMeta(new metaObject().setName(metaObject.NAME_LICENSE    ).setContent("../license.html")))
  .setScene(new SceneObject()
    .addChild(new GroupObject("_S1")
      .addChild(new ShapeObject()
        .setAppearance(new AppearanceObject()
          .setMaterial(new MaterialObject("SGE_DEF_MATERIAL0").setAmbientIntensity(0f).setDiffuseColor(0.215686f,0.337255f,0.74902f).setShininess(0.37f).setSpecularColor(0.52f,0.52f,0.52f)))
        .setGeometry(new XvlShellObject().setFaceCoordIndex(getXvlShell_5_18_faceCoordIndex()).setShellType("LATTICE_MESH")
          .setCoord(new CoordinateObject("COORD0").setPoint(getCOORD0_6_18_point()))))));
    }
	// end of initialize() method

		/** Define subarrays using type int[] */
		private int[] getXvlShell_5_18_faceCoordIndex_1()
		{
			int[] value = {183,193,192,184,-1,184,192,186,176,-1,169,177,178,167,-1,160,159,167,-1,122,109,84,75,70,126,-1,122,126,145,138,135,-1,124,126,70,73,-1,150,138,145,154,-1,115,80,81,112,-1,124,125,143,140,-1,77,80,115,117,-1,120,146,156,127,-1,152,140,143,153,-1,75,84,81,62,-1,152,170,154,-1,120,127,67,72,-1,80,63,62,81,-1,157,144,150,177,169,-1,159,157,169,-1,169,167,159,-1,154,170,179,177,150,-1,57,62,63,-1,165,160,167,178,-1,137,121,98,97,-1,70,75,62,57,56,-1,63,61,48,51,-1,47,57,63,51,-1,60,74,69,54,-1,147,137,97,89,-1,156,165,178,180,164,-1,177,179,182,180,178,-1,54,58,46,44,-1,67,127,128,68,-1,48,50,42,31,-1,45,29,46,-1,29,44,46,-1,38,33,39,-1,28,38,39,-1,164,174,130,128,-1,45,47,22,21,29,-1,23,22,28,30,-1,31,42,37,19,23,-1,130,174,173,132,-1,162,158,166,172,-1,132,66,65,130,-1,175,142,141,176,-1,141,166,184,176,-1,191,193,183,175,-1,175,176,186,191,-1,192,193,191,186,-1,174,188,187,173,-1,132,119,79,66,-1,35,40,53,94,-1,19,37,27,11,16,-1,94,92,141,142,-1,95,103,102,96,-1,65,66,26,27,-1,90,83,95,96,-1,96,102,105,90,-1,35,16,11,25,-1,79,83,90,87,-1,105,104,87,90,-1,132,173,163,110,-1,79,87,85,66,-1,87,104,110,85,-1,187,171,161,181,-1,25,11,10,24,-1,26,36,15,10,-1,110,163,148,114,-1,163,181,168,148,-1,36,85,99,59,-1,15,36,59,43,-1,161,93,106,151,-1,15,43,55,34,-1,148,168,139,131,-1,198,194,190,197,-1,196,198,197,195,-1,197,190,185,195,-1,196,195,185,189,-1,106,55,71,107,-1,111,131,118,113,-1,131,139,129,118,-1,78,64,76,86,-1,78,14,8,64,-1,18,82,71,13,-1,18,14,78,82,-1,0,1,13,8,-1,8,14,2,0,-1,3,1,0,2,-1,53,40,12,20,-1,17,20,5,7,-1,7,5,4,6,-1,92,52,32,25,-1,115,112,135,134,-1,135,138,134,-1,109,122,135,112,-1,117,136,146,120,-1,149,146,136,-1,117,115,134,136,-1,69,125,124,73,-1,121,125,69,74,98,-1,84,109,112,81,-1,149,136,134,144,-1,150,144,134,138,-1,145,126,124,140,-1,117,120,72,77,-1,154,145,140,152,-1,149,165,156,146,-1,143,125,121,137,-1,152,153,170,-1,157,160,165,149,144,-1,160,157,159,-1,77,61,63,80,-1,143,137,147,153,-1,77,72,50,61,-1,50,48,61,-1,56,58,73,70,-1,69,73,58,54,-1,98,74,60,97,-1,147,155,179,170,153,-1,72,67,42,50,-1,127,156,164,128,-1,45,56,57,47,-1,45,46,58,56,-1,97,60,49,89,-1,60,54,44,49,-1,51,48,31,33,38,-1,147,89,88,155,-1,39,33,30,-1,179,155,162,182,-1,39,30,28,-1,37,42,67,68,-1,47,51,38,28,22,-1,30,33,31,23,-1,164,180,182,188,174,-1,89,49,41,88,-1,21,41,49,44,29,-1,128,130,65,68,-1,88,94,162,155,-1,162,172,188,182,-1,142,158,162,94,-1,16,21,22,23,19,-1,68,65,27,37,-1,183,158,142,175,-1,21,16,35,41,-1,41,35,94,88,-1,119,116,83,79,-1,95,83,116,103,-1,103,116,105,102,-1,172,171,187,188,-1,94,53,52,92,-1,35,25,32,40,-1,52,53,20,17,-1,12,40,32,9,-1,32,52,17,9,-1,20,12,4,5,-1,9,6,4,12,-1,17,7,6,9,-1,119,104,105,116,-1,163,173,187,181,-1,132,110,104,119,-1,92,91,171,172,-1,27,26,10,11,-1,36,26,66,85,-1,92,25,24,91,-1,171,91,93,161,-1,110,114,99,85,-1,24,10,15,34,-1,91,24,34,93,-1,181,161,151,168,-1,34,55,106,93,-1,114,148,131,111,-1,99,114,111,101,-1,139,168,151,133,-1,190,194,139,133,-1,59,99,101,76,-1,189,194,198,196,-1,59,76,64,43,-1,151,106,107,133,-1,55,43,64,71,-1,139,194,189,129,-1,185,190,133,123,-1,101,111,113,100,-1,86,76,101,100,-1,189,185,123,129,-1,133,107,108,123,-1,107,71,82,108,-1,113,118,129,123,108,82,78,86,100,-1,71,64,8,13,-1,13,1,3,18,-1,3,2,14,18,-1,172,166,141,92,-1,183,184,166,158,-1};
			return value;
		}


		/** Define subarrays using type float[] */
		private float[] getCOORD0_6_18_point_1()
		{
			float[] value = {-1.3985f,-0.1221f,-5.0371f,-1.3799f,-0.1754f,-5.0371f,-1.3676f,-0.1187f,-5.2383f,-1.3569f,-0.149f,-5.2383f,-1.0261f,-1.6339f,1.1046f,-0.9782f,-1.6715f,1.1052f,-0.9435f,-1.5376f,0.8884f,-0.8941f,-1.5702f,0.8857f,-0.8754f,0.0827f,-4.3193f,-0.8654f,-1.2336f,1.0619f,-0.8648f,0.0029f,-0.3159f,-0.8648f,0.0029f,0.9802f,-0.8464f,-1.1795f,1.6838f,-0.7921f,-0.1551f,-4.3193f,-0.7874f,0.0805f,-5.0255f,-0.7818f,0.0121f,-1.3204f,-0.7818f,0.0121f,1.9846f,-0.74f,-1.3103f,1.0496f,-0.74f,-0.0549f,-5.0255f,-0.7394f,0.1947f,1.9891f,-0.7197f,-1.2629f,1.6849f,-0.7017f,-0.0191f,2.83f,-0.6824f,0.071f,2.8367f,-0.6795f,0.1816f,2.5447f,-0.638f,-0.6452f,-0.3159f,-0.638f,-0.6452f,0.9802f,-0.638f,0.6509f,-0.3159f,-0.638f,0.6509f,0.9802f,-0.6199f,0.1206f,2.8527f,-0.6193f,-0.0272f,3.1263f,-0.6002f,0.1754f,2.7696f,-0.5979f,0.339f,2.8385f,-0.5941f,-0.7109f,1.1032f,-0.5776f,0.2546f,2.8536f,-0.5765f,-0.5744f,-1.3204f,-0.5765f,-0.5744f,1.9846f,-0.5765f,0.5986f,-1.3204f,-0.5765f,0.5986f,1.9846f,-0.5718f,0.1827f,2.9404f,-0.5627f,0.1837f,2.8556f,-0.5473f,-0.6571f,1.8667f,-0.5426f,-0.5054f,2.8336f,-0.5326f,0.5169f,2.8336f,-0.5101f,0.0531f,-2.7185f,-0.5061f,-0.1157f,3.443f,-0.4953f,-0.0056f,3.4396f,-0.4608f,-0.0675f,3.3951f,-0.4577f,0.1738f,3.4286f,-0.4227f,0.3086f,3.3897f,-0.4054f,-0.4514f,3.4376f,-0.3859f,0.4478f,3.3302f,-0.3777f,0.2082f,3.3918f,-0.3752f,-0.8409f,1.1349f,-0.3752f,-0.7735f,1.8685f,-0.3662f,-0.1431f,3.7161f,-0.3639f,-0.3647f,-2.7185f,-0.3396f,-0.0476f,3.7161f,-0.3205f,0.2111f,3.6086f,-0.3088f,-0.1043f,3.676f,-0.3076f,0.4191f,-2.7035f,-0.2914f,-0.4017f,3.7161f,-0.2886f,0.308f,3.5515f,-0.2648f,0.2359f,3.6811f,-0.249f,0.2448f,3.5653f,-0.2397f,0.1007f,-4.0087f,-0.206f,0.8777f,0.9802f,-0.1998f,0.9898f,-0.0584f,-0.1952f,0.7864f,2.8444f,-0.1855f,0.8039f,1.9846f,-0.1667f,-0.0998f,4.3793f,-0.1572f,-0.0391f,4.3318f,-0.1565f,-0.1371f,-4.0087f,-0.1413f,0.6234f,3.4457f,-0.1365f,-0.0768f,4.2524f,-0.1312f,-0.2175f,4.3793f,-0.1312f,0.0786f,4.3318f,-0.1218f,0.2659f,-4.0504f,-0.101f,0.3449f,3.7098f,-0.1003f,0.1173f,-4.9216f,-0.0952f,1.0858f,-0.2545f,-0.0809f,0.2926f,3.7161f,-0.0617f,0.2716f,3.784f,-0.0529f,-0.0181f,-4.9216f,-0.047f,1.7539f,-1.0567f,-0.0325f,0.1305f,4.3318f,-0.0264f,0.8781f,-1.5779f,-0.0152f,0.1832f,-4.8132f,-0.0097f,1.0018f,-1.398f,0.0035f,-0.6517f,2.8214f,0.0037f,-0.5f,3.4393f,0.008f,1.3386f,-1.3326f,0.01f,-0.872f,-0.3159f,0.01f,-0.872f,0.9802f,0.01f,-0.7797f,-1.3204f,0.01f,-0.7797f,1.9846f,0.0117f,1.7886f,-1.4927f,0.014f,1.7271f,-1.5335f,0.0168f,-0.4467f,3.6994f,0.0168f,-0.2693f,4.3793f,0.019f,0.6172f,-2.7185f};
			return value;
		}
		private float[] getCOORD0_6_18_point_2()
		{
			float[] value = {0.0325f,0.2023f,-4.8133f,0.039f,0.3759f,-4.0602f,0.0478f,1.7271f,-1.5335f,0.0501f,1.7886f,-1.4927f,0.0526f,1.0018f,-1.398f,0.0538f,1.3386f,-1.3326f,0.0539f,-0.511f,-2.7185f,0.0566f,-0.1937f,-4.0602f,0.0566f,-0.0135f,-4.8235f,0.0662f,0.1305f,4.3318f,0.0692f,0.8781f,-1.5779f,0.0743f,0.3759f,-4.0602f,0.0804f,0.2716f,3.784f,0.0808f,0.2023f,-4.8133f,0.0889f,0.6172f,-2.7185f,0.1046f,0.2926f,3.7161f,0.1088f,1.7539f,-1.0567f,0.126f,0.3459f,3.7094f,0.1285f,0.1832f,-4.8132f,0.138f,1.0858f,-0.2545f,0.1489f,0.6232f,3.446f,0.1649f,-0.2175f,4.3793f,0.1649f,0.0786f,4.3318f,0.1662f,-0.0181f,-4.9216f,0.1762f,-0.066f,4.2541f,0.1813f,-0.0998f,4.3793f,0.1908f,-0.0391f,4.3318f,0.2023f,0.7864f,2.8445f,0.2055f,0.8039f,1.9846f,0.2136f,0.1173f,-4.9216f,0.226f,0.8777f,0.9802f,0.2351f,0.2659f,-4.0505f,0.2427f,0.9898f,-0.0584f,0.2698f,-0.1371f,-4.0087f,0.2807f,0.2471f,3.5688f,0.2969f,0.2375f,3.6814f,0.3183f,0.3063f,3.5548f,0.325f,-0.4017f,3.7161f,0.3499f,0.2111f,3.6086f,0.353f,0.1007f,-4.0087f,0.3546f,-0.086f,3.6837f,0.3572f,-0.8409f,1.1349f,0.3572f,-0.7735f,1.8685f,0.3581f,-0.1431f,3.7161f,0.383f,0.2095f,3.3984f,0.3847f,-0.0476f,3.7161f,0.3926f,0.4454f,3.3324f,0.412f,-0.452f,3.44f,0.4151f,0.419f,-2.7054f,0.4398f,0.3079f,3.3918f,0.4664f,0.1732f,3.431f,0.4718f,-0.3647f,-2.7185f,0.4959f,-0.0562f,3.4064f,0.4973f,-0.1155f,3.445f,0.5054f,-0.0058f,3.4413f,0.5297f,-0.5054f,2.8336f,0.5397f,0.5169f,2.8336f,0.5568f,0.1837f,2.9088f,0.5635f,-0.6571f,1.8667f,0.571f,0.1774f,2.8111f,0.5919f,0.2594f,2.8264f,0.5965f,-0.5744f,-1.3204f,0.5965f,-0.5744f,1.9846f,0.5965f,0.5986f,-1.3204f,0.5965f,0.5986f,1.9846f,0.6099f,0.3391f,2.8385f,0.6103f,-0.7109f,1.1032f,0.6172f,0.1895f,2.7476f,0.618f,0.0531f,-2.7185f,0.6342f,0.1255f,2.8255f,0.6348f,-0.0258f,3.1268f,0.6581f,-0.6452f,-0.3159f,0.6581f,-0.6452f,0.9802f,0.6581f,0.6509f,-0.3159f,0.6581f,0.6509f,0.9802f,0.6703f,-1.2842f,1.6855f,0.693f,-1.3316f,1.0502f,0.6945f,0.0713f,2.8366f,0.699f,0.1908f,2.5499f,0.7088f,-0.0187f,2.8298f,0.7697f,0.1942f,1.9897f,0.8018f,0.0121f,-1.3204f,0.8018f,0.0121f,1.9846f,0.8217f,-1.2008f,1.6844f,0.8385f,-1.2549f,1.0625f,0.8533f,-0.0549f,-5.0255f,0.8748f,-1.6537f,0.8973f,0.8849f,0.0029f,-0.3159f,0.8849f,0.0029f,0.9802f,0.9007f,0.0805f,-5.0255f,0.9054f,-0.1551f,-4.3193f,0.925f,-1.7747f,1.1172f,0.9366f,-1.6303f,0.9021f,0.9882f,-1.7461f,1.1184f,0.9887f,0.0827f,-4.3193f,1.5579f,-0.149f,-5.2383f,1.5685f,-0.1187f,-5.2383f,1.5808f,-0.1754f,-5.0371f,1.5995f,-0.1221f,-5.0371f};
			return value;
		}

		/** Large attribute array: XvlShell faceCoordIndex field, scene-graph level=5, element #18, 973 total numbers.
		 * 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 MFInt32Object getXvlShell_5_18_faceCoordIndex()
		{
			MFInt32Object XvlShell_5_18_faceCoordIndex = new MFInt32Object()/*2.finalize*/
				.append(new MFInt32Object(getXvlShell_5_18_faceCoordIndex_1()));
			return XvlShell_5_18_faceCoordIndex;
		}
		/** Large attribute array: Coordinate DEF='COORD0' point field, scene-graph level=6, element #18, 597 total numbers made up of 199 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 MFVec3fObject getCOORD0_6_18_point()
		{
			MFVec3fObject COORD0_6_18_point = new MFVec3fObject()/*2.finalize*/
				.append(new MFVec3fObject(getCOORD0_6_18_point_1()))
				.append(new MFVec3fObject(getCOORD0_6_18_point_2()));
			return COORD0_6_18_point;
		}

	/** The initialized model object, created within initialize() method. */
	private X3DObject 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="http://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/Core/X3DObject.html">X3DObject</a>
	 * @return XvlShellModelDolphin model
	 */
	public X3DObject 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="http://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/Core/X3DObject.html#handleArguments-java.lang.String:A-">X3DObject.handleArguments(args)</a>
	 * @see <a href="http://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/Core/X3DObject.html#validationReport--">X3DObject.validationReport()</a>
     * @see <a href="http://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/CommandLine.html">CommandLine</a>
     * @see <a href="http://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/CommandLine.html#USAGE">CommandLine.USAGE</a>
     * @see <a href="http://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/ConfigurationProperties.html">ConfigurationProperties</a>
     */
    public static void main(String args[])
    {
        X3DObject thisExampleX3dObject = new XvlShellModelDolphin().getX3dModel();

		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(X3DObject.FILE_EXTENSION_X3D) ||
					arg.toLowerCase().endsWith(X3DObject.FILE_EXTENSION_CLASSICVRML) ||
					arg.toLowerCase().endsWith(X3DObject.FILE_EXTENSION_X3DB) ||
					arg.toLowerCase().endsWith(X3DObject.FILE_EXTENSION_VRML97) ||
					arg.toLowerCase().endsWith(X3DObject.FILE_EXTENSION_EXI) ||
					arg.toLowerCase().endsWith(X3DObject.FILE_EXTENSION_GZIP) ||
					arg.toLowerCase().endsWith(X3DObject.FILE_EXTENSION_ZIP) ||
					arg.toLowerCase().endsWith(X3DObject.FILE_EXTENSION_HTML) ||
					arg.toLowerCase().endsWith(X3DObject.FILE_EXTENSION_XHTML))
				{
					argumentsLoadNewModel = true;
					fileName = arg;
				}
			}
		}
		if      (argumentsLoadNewModel)
			System.out.println("WARNING: \"XvlShellModelDolphin\" 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
			thisExampleX3dObject.handleArguments(args);

		if (validate)
		{
			System.out.print("Java program \"XvlShellModelDolphin\" self-validation test results: ");
			String validationResults = thisExampleX3dObject.validationReport();
			System.out.println(validationResults);
		}
    }
}
