package HumanoidAnimation.Coveroid;

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.Rendering.*;
import org.web3d.x3d.jsail.Shape.*;

// Javadoc metadata annotations follow, see below for X3DJSAIL Java source code.
/**
 * <p> Example model for coveroid development, originally authored using Rhino 8. </p>
 <p> Related links:  source LargeHelmet.java, <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;">HumanoidAnimation.Coveroid.LargeHelmet&nbsp; Document Metadata </td>
		</tr>

		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> title </i> </td>
			<td> <a href="https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Coveroid/LargeHelmet.x3d">LargeHelmet.x3d</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> creator </i> </td>
			<td> Carol McDonald </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> created </i> </td>
			<td> 24 November 2025 </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> modified </i> </td>
			<td> 7 March 2026 </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> description </i> </td>
			<td> Example model for coveroid development, originally authored using Rhino 8. </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> source </i> </td>
			<td> originals/Large helmet.x3dv </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> <a href="https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Coveroid/LargeHelmetWithNormals.x3d">LargeHelmetWithNormals.x3d</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> contributor </i> </td>
			<td> Don Brutzman </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> generator </i> </td>
			<td> Rhino3D, <a href="https://www.rhino3d.com" target="_blank">https://www.rhino3d.com</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> generator </i> </td>
			<td> castle-model-converter, <a href="https://castle-engine.io/castle-model-converter" target="_blank">https://castle-engine.io/castle-model-converter</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> generator </i> </td>
			<td> X3D-Edit 4.0, <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> identifier </i> </td>
			<td> <a href="https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Coveroid/LargeHelmet.x3d" target="_blank">https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Coveroid/LargeHelmet.x3d</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> license </i> </td>
			<td> <a href="https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Coveroid/../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 Carol McDonald
 */

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

	/** Create and initialize the X3D model for this object. */
	public final void initialize()
	{
            try { // catch-all
  x3dModel = new X3D().setProfile(X3D.PROFILE_INTERCHANGE).setVersion(X3D.VERSION_4_0)
  .setHead(new head()
    .addMeta(new meta().setName(meta.NAME_TITLE      ).setContent("LargeHelmet.x3d"))
    .addMeta(new meta().setName(meta.NAME_CREATOR    ).setContent("Carol McDonald"))
    .addMeta(new meta().setName(meta.NAME_CREATED    ).setContent("24 November 2025"))
    .addMeta(new meta().setName(meta.NAME_MODIFIED   ).setContent("7 March 2026"))
    .addMeta(new meta().setName(meta.NAME_DESCRIPTION).setContent("Example model for coveroid development, originally authored using Rhino 8."))
    .addMeta(new meta().setName(meta.NAME_SOURCE     ).setContent("originals/Large helmet.x3dv"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("LargeHelmetWithNormals.x3d"))
    .addMeta(new meta().setName(meta.NAME_CONTRIBUTOR).setContent("Don Brutzman"))
    .addMeta(new meta().setName(meta.NAME_GENERATOR  ).setContent("Rhino3D, https://www.rhino3d.com"))
    .addMeta(new meta().setName(meta.NAME_GENERATOR  ).setContent("castle-model-converter, https://castle-engine.io/castle-model-converter"))
    .addMeta(new meta().setName(meta.NAME_GENERATOR  ).setContent("X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit"))
    .addMeta(new meta().setName(meta.NAME_IDENTIFIER ).setContent("https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Coveroid/LargeHelmet.x3d"))
    .addMeta(new meta().setName(meta.NAME_LICENSE    ).setContent("../license.html")))
  .setScene(new Scene()
    .addChild(new WorldInfo().setTitle("LargeHelmet.x3d"))
    .addChild(new Background().setSkyColor(new MFColor(new double[] {0.9,0.9,1.0})))
    .addChild(new Shape()
      .setAppearance(new Appearance()
        .setMaterial(new Material().setAmbientIntensity(0).setDiffuseColor(0.0,0.0,0.0).setShininess(1)))
      .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(getIndexedFaceSet_4_19_coordIndex())
        .setCoord(new Coordinate().setPoint(getCoordinate_5_19_point())))));
            }
            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


		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=1 */
		private int[] getIndexedFaceSet_4_19_coordIndex_1()
		{
			int[] value = {0,2,1,-1,0,3,2,-1,0,4,3,-1,0,5,4,-1,0,6,5,-1,0,7,6,-1,0,8,7,-1,0,9,8,-1,0,10,9,-1,0,11,10,-1,0,12,11,-1,0,13,12,-1,0,14,13,-1,0,15,14,-1,0,16,15,-1,0,17,16,-1,0,18,17,-1,0,19,18,-1,0,20,19,-1,0,1,20,-1,1,2,21,-1,2,3,22,-1,3,4,23,-1,4,5,24,-1,5,6,25,-1,6,7,27,-1,7,8,28,-1,8,9,29,-1,9,10,30,-1,10,11,31,-1,11,12,31,-1,12,13,32,-1,13,14,33,-1,14,15,34,-1,15,16,35,-1,16,17,37,-1,17,18,38,-1,18,19,39,-1,19,20,40,-1,20,1,21,-1,21,22,41,-1,22,23,42,-1,23,24,43,-1,24,25,44,-1,25,26,45,-1,26,27,47,-1,27,28,48,-1,28,29,49,-1,29,30,50,-1,30,31,51,-1,31,32,51,-1,32,33,52,-1,33,34,53,-1,34,35,54,-1,35,36,55,-1,36,37,57,-1,37,38,58,-1,38,39,59,-1,39,40,60,-1,40,21,41,-1,41,42,61,-1,42,43,62,-1,43,44,63,-1,44,45,64,-1,45,46,65,-1,46,47,67,-1,47,48,68,-1,48,49,69,-1,49,50,70,-1,50,51,71,-1,51,52,71,-1,52,53,72,-1,53,54,73,-1,54,55,74,-1,55,56,75,-1,56,57,77,-1,57,58,78,-1,58,59,79,-1,59,60,80,-1,60,41,61,-1,61,62,81,-1,62,63,82,-1,63,64,83,-1,64,65,84,-1,65,66,85,-1,66,67,87,-1,67,68,88,-1,68,69,89,-1,69,70,90,-1,70,71,91,-1,71,72,91,-1,72,73,92,-1,73,74,93,-1,74,75,94,-1,75,76,95,-1,76,77,97,-1,77,78,98,-1,78,79,99,-1,79,80,100,-1,80,61,81,-1,81,82,102,-1,82,83,102,-1,83,84,103,-1,84,85,104,-1,85,86,105,-1,86,87,107,-1,87,88,108,-1,88,89,109,-1,89,90,110,-1,90,91,110,-1,91,92,111,-1,92,93,112,-1,93,94,113,-1,94,95,114,-1,95,96,115,-1,96,97,117,-1,97,98,118,-1,98,99,119,-1,99,100,120,-1,100,81,101,-1,101,102,122,-1,102,103,122,-1,103,104,123,-1,104,105,124,-1,105,106,125,-1,106,107,127,-1,107,108,128,-1,108,109,129,-1,109,110,130,-1,110,111,130,-1,111,112,131,-1,112,113,132,-1,113,114,133,-1,114,115,134,-1,115,116,135,-1,116,117,137,-1,117,118,138,-1,118,119,139,-1,119,120,140,-1,120,101,121,-1,121,122,142,-1,122,123,142,-1,123,124,143,-1,124,125,144,-1,125,126,145,-1,126,127,147,-1,127,128,148,-1,128,129,149,-1,129,130,150,-1,130,131,150,-1,131,132,151,-1,132,133,152,-1,133,134,153,-1,134,135,154,-1,135,136,155,-1,136,137,157,-1,137,138,158,-1,138,139,159,-1,139,140,160,-1,140,121,141,-1,141,142,162,-1,142,143,163,-1,143,144,163,-1,144,145,164,-1,147,148,168,-1,148,149,169,-1,149,150,169,-1,150,151,170,-1,151,152,171,-1,152,153,172,-1,153,154,173,-1,154,155,174,-1,155,156,175,-1,156,157,177,-1,157,158,178,-1,158,159,179,-1,159,160,180,-1,160,141,161,-1,172,173,183,-1,173,174,184,-1,174,175,185,-1,175,176,186,-1,176,177,188,-1,177,178,189,-1,178,179,190,-1,179,180,191,-1,166,145,146,-1,165,145,166,-1,147,166,146,-1,166,147,167,-1,162,193,161,-1,193,162,194,-1,195,181,161,-1,163,196,162,-1,196,163,197,-1,196,198,162,-1,199,163,200,-1,164,200,163,-1,164,201,200,-1,203,202,163,-1,205,164,165,-1,204,164,205,-1,205,165,206,-1,207,165,166,-1,208,166,167,-1,168,209,167,-1,209,168,210,-1,211,208,167,-1,169,212,168,-1,169,213,212,-1,214,210,168,-1,215,169,170,-1,213,169,215,-1,217,216,170,-1,182,170,171,-1,182,218,170,-1,182,171,183,-1,181,180,161,-1,191,180,181,-1,182,183,219,-1,221,220,183,-1,223,222,183,-1,184,223,183,-1,224,223,184,-1,185,225,184,-1,185,226,225,-1,184,228,227,-1,184,229,228,-1,186,230,185,-1,186,231,230,-1,233,232,185,-1,192,186,187,-1,192,231,186,-1,188,234,187,-1,234,188,235,-1,236,192,187,-1,189,237,188,-1,237,189,238,-1,240,239,188,-1,190,241,189,-1,241,190,242,-1,244,243,189,-1,191,245,190,-1,191,246,245,-1,247,242,190,-1,181,248,191,-1,248,249,191,-1,171,172,183,-1,2,22,21,-1,3,23,22,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] getIndexedFaceSet_4_19_coordIndex_2()
		{
			int[] value = {4,24,23,-1,5,25,24,-1,6,26,25,-1,6,27,26,-1,7,28,27,-1,8,29,28,-1,9,30,29,-1,10,31,30,-1,12,32,31,-1,13,33,32,-1,14,34,33,-1,15,35,34,-1,16,36,35,-1,16,37,36,-1,17,38,37,-1,18,39,38,-1,19,40,39,-1,20,21,40,-1,22,42,41,-1,23,43,42,-1,24,44,43,-1,25,45,44,-1,26,46,45,-1,26,47,46,-1,27,48,47,-1,28,49,48,-1,29,50,49,-1,30,51,50,-1,32,52,51,-1,33,53,52,-1,34,54,53,-1,35,55,54,-1,36,56,55,-1,36,57,56,-1,37,58,57,-1,38,59,58,-1,39,60,59,-1,40,41,60,-1,42,62,61,-1,43,63,62,-1,44,64,63,-1,45,65,64,-1,46,66,65,-1,46,67,66,-1,47,68,67,-1,48,69,68,-1,49,70,69,-1,50,71,70,-1,52,72,71,-1,53,73,72,-1,54,74,73,-1,55,75,74,-1,56,76,75,-1,56,77,76,-1,57,78,77,-1,58,79,78,-1,59,80,79,-1,60,61,80,-1,62,82,81,-1,63,83,82,-1,64,84,83,-1,65,85,84,-1,66,86,85,-1,66,87,86,-1,67,88,87,-1,68,89,88,-1,69,90,89,-1,70,91,90,-1,72,92,91,-1,73,93,92,-1,74,94,93,-1,75,95,94,-1,76,96,95,-1,76,97,96,-1,77,98,97,-1,78,99,98,-1,79,100,99,-1,80,81,100,-1,81,102,101,-1,83,103,102,-1,84,104,103,-1,85,105,104,-1,86,106,105,-1,86,107,106,-1,87,108,107,-1,88,109,108,-1,89,110,109,-1,91,111,110,-1,92,112,111,-1,93,113,112,-1,94,114,113,-1,95,115,114,-1,96,116,115,-1,96,117,116,-1,97,118,117,-1,98,119,118,-1,99,120,119,-1,100,101,120,-1,101,122,121,-1,103,123,122,-1,104,124,123,-1,105,125,124,-1,106,126,125,-1,106,127,126,-1,107,128,127,-1,108,129,128,-1,109,130,129,-1,111,131,130,-1,112,132,131,-1,113,133,132,-1,114,134,133,-1,115,135,134,-1,116,136,135,-1,116,137,136,-1,117,138,137,-1,118,139,138,-1,119,140,139,-1,120,121,140,-1,121,142,141,-1,123,143,142,-1,124,144,143,-1,125,145,144,-1,126,146,145,-1,126,147,146,-1,127,148,147,-1,128,149,148,-1,129,150,149,-1,131,151,150,-1,132,152,151,-1,133,153,152,-1,134,154,153,-1,135,155,154,-1,136,156,155,-1,136,157,156,-1,137,158,157,-1,138,159,158,-1,139,160,159,-1,140,141,160,-1,141,162,161,-1,142,163,162,-1,144,164,163,-1,145,165,164,-1,147,168,167,-1,148,169,168,-1,150,170,169,-1,151,171,170,-1,152,172,171,-1,153,173,172,-1,154,174,173,-1,155,175,174,-1,156,176,175,-1,156,177,176,-1,157,178,177,-1,158,179,178,-1,159,180,179,-1,160,161,180,-1,173,184,183,-1,174,185,184,-1,175,186,185,-1,176,187,186,-1,176,188,187,-1,177,189,188,-1,178,190,189,-1,179,191,190,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet coordIndex field, scene-graph level=4, element #19, 1656 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 MFInt32 getIndexedFaceSet_4_19_coordIndex()
		{
			MFInt32 IndexedFaceSet_4_19_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getIndexedFaceSet_4_19_coordIndex_1()))
				.append(new MFInt32(getIndexedFaceSet_4_19_coordIndex_2()));
			return IndexedFaceSet_4_19_coordIndex;
		}
		/** Large attribute array: Coordinate point field, scene-graph level=5, element #19, 750 total numbers made up of 250 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 getCoordinate_5_19_point()
		{
			MFVec3f Coordinate_5_19_point = new MFVec3f(new double[] {0.0,71.5339,-1.1485,1.0288,71.4508,-1.1513,0.9784,71.4618,-0.7567,0.8323,71.4718,-0.4007,0.6047,71.4798,-0.1182,0.3179,71.4849,0.0632,0.0,71.4866,0.1257,-0.3179,71.4849,0.0632,-0.6047,71.4798,-0.1182,-0.8323,71.4718,-0.4007,-0.9784,71.4618,-0.7567,-1.0288,71.4508,-1.1513,-0.9784,71.4397,-1.546,-0.8323,71.4297,-1.902,-0.6047,71.4217,-2.1845,-0.3179,71.4166,-2.3659,0.0,71.4149,-2.4284,0.3179,71.4166,-2.3659,0.6047,71.4217,-2.1845,0.8323,71.4297,-1.902,0.9784,71.4397,-1.546,2.0322,71.2034,-1.1597,1.9328,71.2253,-0.3802,1.6441,71.2451,0.3231,1.1945,71.2607,0.8812,0.628,71.2708,1.2395,0.0,71.2743,1.363,-0.628,71.2708,1.2395,-1.1945,71.2607,0.8812,-1.6441,71.2451,0.3231,-1.9328,71.2253,-0.3802,-2.0322,71.2034,-1.1597,-1.9328,71.1815,-1.9393,-1.6441,71.1618,-2.6426,-1.1945,71.1461,-3.2007,-0.628,71.136,-3.559,0.0,71.1326,-3.6825,0.628,71.136,-3.559,1.1945,71.1461,-3.2007,1.6441,71.1618,-2.6426,1.9328,71.1815,-1.9393,2.9856,70.798,-1.1735,2.8395,70.8301,-0.0282,2.4154,70.8591,1.005,1.7549,70.8822,1.8249,0.9226,70.897,2.3513,0.0,70.9021,2.5327,-0.9226,70.897,2.3513,-1.7549,70.8822,1.8249,-2.4154,70.8591,1.005,-2.8395,70.8301,-0.0282,-2.9856,70.798,-1.1735,-2.8395,70.7658,-2.3188,-2.4154,70.7368,-3.352,-1.7549,70.7137,-4.1719,-0.9226,70.6989,-4.6984,0.0,70.6938,-4.8797,0.9226,70.6989,-4.6984,1.7549,70.7137,-4.1719,2.4154,70.7368,-3.352,2.8395,70.7658,-2.3188,3.8655,70.2444,-1.1923,3.6763,70.286,0.2905,3.1273,70.3236,1.6282,2.2721,70.3534,2.6897,1.1945,70.3725,3.3713,0.0,70.3791,3.6062,-1.1945,70.3725,3.3713,-2.2721,70.3534,2.6897,-3.1273,70.3236,1.6282,-3.6763,70.286,0.2905,-3.8655,70.2444,-1.1923,-3.6763,70.2027,-2.6751,-3.1273,70.1651,-4.0128,-2.2721,70.1353,-5.0744,-1.1945,70.1162,-5.756,0.0,70.1096,-5.9908,1.1945,70.1162,-5.756,2.2721,70.1353,-5.0744,3.1273,70.1651,-4.0128,3.6763,70.2027,-2.6751,4.6502,69.5562,-1.2157,4.4226,69.6064,0.5681,3.7621,69.6516,2.1774,2.7333,69.6874,3.4544,1.437,69.7105,4.2744,0.0,69.7184,4.5569,-1.437,69.7105,4.2744,-2.7333,69.6874,3.4544,-3.7621,69.6516,2.1774,-4.4226,69.6064,0.5681,-4.6502,69.5562,-1.2157,-4.4226,69.5061,-2.9995,-3.7621,69.4609,-4.6087,-2.7333,69.4251,-5.8858,-1.437,69.402,-6.7057,0.0,69.3941,-6.9883,1.437,69.402,-6.7057,2.7333,69.4251,-5.8858,3.7621,69.4609,-4.6087,4.4226,69.5061,-2.9995,5.3204,68.7506,-1.2431,5.06,68.8079,0.7979,4.3043,68.8596,2.639,3.1273,68.9007,4.1001,1.6441,68.927,5.0383,0.0,68.9361,5.3615,-1.6441,68.927,5.0383,-3.1273,68.9007,4.1001,-4.3043,68.8596,2.639,-5.06,68.8079,0.7979,-5.3204,68.7506,-1.2431,-5.06,68.6932,-3.284,-4.3043,68.6415,-5.1251,-3.1273,68.6005,-6.5862,-1.6441,68.5741,-7.5244,0.0,68.565,-7.8476,1.6441,68.5741,-7.5244,3.1273,68.6005,-6.5862,4.3043,68.6415,-5.1251,5.06,68.6932,-3.284,5.8596,67.8472,-1.2737,5.5728,67.9103,0.974,4.7405,67.9673,3.0018,3.4442,68.0125,4.611,1.8107,68.0415,5.6441,0.0,68.0515,6.0002,-1.8107,68.0415,5.6441,-3.4442,68.0125,4.611,-4.7405,67.9673,3.0018,-5.5728,67.9103,0.974,-5.8596,67.8472,-1.2737,-5.5728,67.784,-3.5215,-4.7405,67.7271,-5.5492,-3.4442,67.6819,-7.1584,-1.8107,67.6528,-8.1916,0.0,67.6428,-8.5476,1.8107,67.6528,-8.1916,3.4442,67.6819,-7.1584,4.7405,67.7271,-5.5492,5.5728,67.784,-3.5215,6.2545,66.8683,-1.307,5.9484,66.9357,1.0923,5.06,66.9965,3.2567,3.6763,67.0447,4.9743,1.9328,67.0757,6.0771,0.0,67.0864,6.4571,-1.9328,67.0757,6.0771,-3.6763,67.0447,4.9743,-5.06,66.9965,3.2567,-5.9484,66.9357,1.0923,-6.2545,66.8683,-1.307,-5.9484,66.8009,-3.7062,-5.06,66.7401,-5.8706,-3.6763,66.6918,-7.5883,-1.9328,66.6609,-8.6911,0.0,66.6502,-9.0711,1.9328,66.6609,-8.6911,3.6763,66.6918,-7.5883,5.06,66.7401,-5.8706,5.9484,66.8009,-3.7062,6.4954,65.838,-1.342,6.1775,65.908,1.1497,5.2549,65.9712,3.3974,3.8179,66.0213,5.1813,2.0072,66.0535,6.3266,0.0,66.0645,6.7212,-2.0072,66.0535,6.3266,-3.8179,66.0213,5.1813,-5.2549,65.9712,3.3974,-6.1775,65.908,1.1497,-6.4954,65.838,-1.342,-6.1775,65.768,-3.8336,-5.2549,65.7049,-6.0814,-3.8179,65.6548,-7.8652,-2.0072,65.6226,-9.0105,0.0,65.6115,-9.4051,2.0072,65.6226,-9.0105,3.8179,65.6548,-7.8652,5.2549,65.7049,-6.0814,6.1775,65.768,-3.8336,6.5764,64.7818,-1.3778,-6.5764,64.7818,-1.3778,-6.2545,64.7109,-3.9006,-5.3204,64.647,-6.1763,-3.8655,64.5962,-7.9824,-2.0322,64.5637,-9.142,0.0,64.5525,-9.5415,2.0322,64.5637,-9.142,3.8655,64.5962,-7.9824,5.3204,64.647,-6.1763,6.2545,64.7109,-3.9006,0.0,63.499,-9.4769,6.3119,65.0875,0.5522,6.2305,65.1816,1.1464,6.3119,65.0875,0.5522,5.717,65.3753,2.3698,5.2817,65.5396,3.4069,6.2305,65.1816,1.1464,4.7898,65.6351,4.0098,4.2731,65.7354,4.6431,3.8269,65.822,5.1899,5.2817,65.5396,3.4069,4.7898,65.6351,4.0098,3.8269,65.822,5.1899,2.112,65.9922,6.2645,2.0084,66.0025,6.3295,2.0084,66.0025,6.3295,-2.0084,66.0025,6.3295,-2.112,65.9922,6.2645,-3.8269,65.822,5.1899,-2.112,65.9922,6.2645,-4.183,65.7529,4.7535,-5.2817,65.5396,3.4069,-4.183,65.7529,4.7535,-5.717,65.3753,2.3698,-5.717,65.3753,2.3698,-6.2305,65.1816,1.1464,-6.2305,65.1816,1.1464,-6.3119,64.4761,-3.3079,-6.3119,64.4761,-3.3079,-6.2305,64.382,-3.9021,-6.2305,64.382,-3.9021,-5.717,64.1882,-5.1255,-5.2817,64.0239,-6.1626,-4.183,63.8107,-7.5092,-3.8269,63.7416,-7.9455,-5.2817,64.0239,-6.1626,-4.2731,63.8282,-7.3987,-4.183,63.8107,-7.5092,-2.112,63.5713,-9.0202,-2.0084,63.5611,-9.0851,-3.8269,63.7416,-7.9455,-2.112,63.5713,-9.0202,1.9146,63.5582,-9.1034,2.0084,63.5611,-9.0851,1.9146,63.5582,-9.1034,3.5224,63.7113,-8.1364,3.8269,63.7416,-7.9455,2.0084,63.5611,-9.0851,3.5224,63.7113,-8.1364,4.7898,63.9284,-6.7655,5.2817,64.0239,-6.1626,3.8269,63.7416,-7.9455,4.7898,63.9284,-6.7655,5.717,64.1882,-5.1255,6.2305,64.382,-3.9021,5.717,64.1882,-5.1255,6.3119,64.4761,-3.3079,6.2305,64.382,-3.9021});
			return Coordinate_5_19_point;
		}

	/** 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 LargeHelmet 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 LargeHelmet().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: \"HumanoidAnimation.Coveroid.LargeHelmet\" 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("HumanoidAnimation.Coveroid.LargeHelmet self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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