package HumanoidAnimation.Skeleton;

import org.web3d.x3d.jsail.Core.*;
import org.web3d.x3d.jsail.fields.*;
import org.web3d.x3d.jsail.Geometry3D.*;
import org.web3d.x3d.jsail.Grouping.*;
import org.web3d.x3d.jsail.PointingDeviceSensor.*;
import org.web3d.x3d.jsail.Rendering.*;
import org.web3d.x3d.jsail.Shape.*;

// Javadoc metadata annotations follow, see below for X3DJSAIL Java source code.
/**
 * <p> intervertebral disc. </p>
 <p> Related links:  source l5disc.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.Skeleton.l5disc&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/Skeleton/l5disc.x3d">l5disc.x3d</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> description </i> </td>
			<td> intervertebral disc </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> creator </i> </td>
			<td> Joe Williams, John Carlson, Damon Hernandez, Don Brutzman </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> translator </i> </td>
			<td> Don Brutzman </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> created </i> </td>
			<td> 5 December 2013 </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> translated </i> </td>
			<td> 5 March 2026 </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> modified </i> </td>
			<td> 8 March 2026 </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/Skeleton/originals/l5disc.x3d">originals/l5disc.x3d</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> <a href="https://en.wikipedia.org/wiki/Intervertebral_disc" target="_blank">https://en.wikipedia.org/wiki/Intervertebral_disc</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> <a href="https://en.wikipedia.org/wiki/List_of_bones_of_the_human_skeleton" target="_blank">https://en.wikipedia.org/wiki/List_of_bones_of_the_human_skeleton</a> </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/Basic/Medical" target="_blank">https://www.web3d.org/x3d/content/examples/Basic/Medical</a> </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/Medical" target="_blank">https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Medical</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> generator </i> </td>
			<td> X3D Tidy, <a href="https://www.web3d.org/x3d/stylesheets/X3dTidy.html" target="_blank">https://www.web3d.org/x3d/stylesheets/X3dTidy.html</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/Skeleton/l5disc.x3d" target="_blank">https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skeleton/l5disc.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/Skeleton/../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 Joe Williams, John Carlson, Damon Hernandez, Don Brutzman
 */

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

	/** Create and initialize the X3D model for this object. */
	public final void initialize()
	{
            try { // catch-all
  x3dModel = new X3D().setProfile(X3D.PROFILE_INTERACTIVE).setVersion(X3D.VERSION_3_3)
  .setHead(new head()
    .addMeta(new meta().setName(meta.NAME_TITLE      ).setContent("l5disc.x3d"))
    .addMeta(new meta().setName(meta.NAME_DESCRIPTION).setContent("intervertebral disc"))
    .addMeta(new meta().setName(meta.NAME_CREATOR    ).setContent("Joe Williams, John Carlson, Damon Hernandez, Don Brutzman"))
    .addMeta(new meta().setName(meta.NAME_TRANSLATOR ).setContent("Don Brutzman"))
    .addMeta(new meta().setName(meta.NAME_CREATED    ).setContent("5 December 2013"))
    .addMeta(new meta().setName(meta.NAME_TRANSLATED ).setContent("5 March 2026"))
    .addMeta(new meta().setName(meta.NAME_MODIFIED   ).setContent("8 March 2026"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("originals/l5disc.x3d"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("https://en.wikipedia.org/wiki/Intervertebral_disc"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("https://en.wikipedia.org/wiki/List_of_bones_of_the_human_skeleton"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("https://www.web3d.org/x3d/content/examples/Basic/Medical"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Medical"))
    .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_GENERATOR  ).setContent("X3D Tidy, https://www.web3d.org/x3d/stylesheets/X3dTidy.html"))
    .addMeta(new meta().setName(meta.NAME_IDENTIFIER ).setContent("https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skeleton/l5disc.x3d"))
    .addMeta(new meta().setName(meta.NAME_LICENSE    ).setContent("../license.html")))
  .setScene(new Scene()
    .addChild(new WorldInfo().setTitle("l5disc.x3d"))
    .addChild(new TouchSensor().setDescription("cartilage l5disc"))
    .addChild(new Transform("l5disc")
      .addChild(new Shape()
        .setAppearance(new Appearance()
          .setMaterial(new Material("CartilageMaterial").setAmbientIntensity(0.965).setDiffuseColor(0.9843,0.949,0.7843).setShininess(0.05).setSpecularColor(0.9647,0.949,0.9098)))
        .setGeometry(new IndexedFaceSet("l5disc_geometry").setDEF("l5disc_geometry").setCreaseAngle(1.571).setCoordIndex(getl5disc_geometry_5_22_coordIndex())
          .setCoord(new Coordinate("l5disc_coordinate").setPoint(getl5disc_coordinate_6_22_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[] getl5disc_geometry_5_22_coordIndex_1()
		{
			int[] value = {0,1,2,-1,3,4,5,-1,6,7,8,-1,9,10,8,-1,11,12,13,-1,14,15,16,-1,17,18,19,-1,20,21,22,-1,23,16,15,-1,24,25,26,-1,27,28,29,-1,30,31,32,-1,12,33,13,-1,34,35,36,-1,37,33,12,-1,38,39,40,-1,41,42,43,-1,44,45,46,-1,47,48,49,-1,50,51,52,-1,53,50,54,-1,55,56,57,-1,55,58,56,-1,59,60,61,-1,58,61,56,-1,62,63,64,-1,60,65,66,-1,67,68,69,-1,70,71,72,-1,73,74,75,-1,76,77,78,-1,79,80,81,-1,82,83,84,-1,85,86,87,-1,88,89,90,-1,91,92,93,-1,94,95,96,-1,95,97,96,-1,98,53,99,-1,92,100,101,-1,102,85,103,-1,81,104,102,-1,105,106,107,-1,108,107,109,-1,110,111,112,-1,113,114,115,-1,114,61,58,-1,116,117,65,-1,67,116,59,-1,118,119,120,-1,98,121,50,-1,122,123,124,-1,54,52,125,-1,48,47,126,-1,127,95,94,-1,128,117,129,-1,42,130,131,-1,39,132,133,-1,134,135,136,-1,34,37,12,-1,137,35,11,-1,138,139,106,-1,140,141,142,-1,143,144,145,-1,26,146,21,-1,23,25,16,-1,147,148,149,-1,141,31,30,-1,7,150,151,-1,152,153,154,-1,155,156,10,-1,157,5,4,-1,158,138,159,-1,160,161,162,-1,163,146,164,-1,165,157,4,-1,156,8,10,-1,166,152,154,-1,151,8,7,-1,141,30,142,-1,30,32,167,-1,168,14,169,-1,147,22,148,-1,25,24,16,-1,146,22,21,-1,169,20,170,-1,144,170,145,-1,140,142,171,-1,39,38,172,-1,137,11,13,-1,34,12,11,-1,130,3,131,-1,173,174,175,-1,176,109,78,-1,127,47,95,-1,48,126,177,-1,54,50,52,-1,122,124,178,-1,98,179,121,-1,118,120,111,-1,180,181,119,-1,58,55,182,-1,67,183,116,-1,60,116,65,-1,113,115,184,-1,110,118,111,-1,108,105,107,-1,185,90,89,-1,102,84,81,-1,102,103,82,-1,98,99,186,-1,95,49,97,-1,94,96,187,-1,90,188,88,-1,85,87,103,-1,84,102,82,-1,104,86,85,-1,189,76,78,-1,181,120,119,-1,66,57,60,-1,63,190,64,-1,59,116,60,-1,191,192,193,-1,104,85,102,-1,53,98,50,-1,50,121,51,-1,47,49,95,-1,194,195,196,-1,42,131,43,-1,133,136,197,-1,38,40,198,-1,37,199,33,-1,34,11,35,-1,137,200,132,-1,158,201,202,-1,202,203,139,-1,204,205,206,-1,207,208,149,-1,26,21,24,-1,209,23,15,-1,210,20,169,-1,20,22,147,-1,210,169,14,-1,8,151,9,-1,156,6,8,-1,5,131,3,-1,211,212,213,-1,152,135,134,-1,135,152,166,-1,214,215,216,-1,214,217,215,-1,218,219,220,-1,218,221,219,-1,2,146,163,-1,2,1,146,-1,23,41,222,-1,41,23,209,-1,223,130,42,-1,130,223,201,-1,213,224,225,-1,213,212,224,-1,226,227,228,-1,226,43,227,-1,212,229,224,-1,212,230,229,-1,231,5,157,-1,231,227,5,-1,154,232,166,-1,232,154,233,-1,234,162,235,-1,162,234,236,-1,237,7,233,-1,7,237,150,-1,238,239,240,-1,238,236,239,-1,241,208,207,-1,208,241,167,-1,242,202,243,-1,202,242,203,-1,244,149,148,-1,149,244,207,-1,22,1,148,-1,146,1,22,-1,145,20,147,-1,20,145,170,-1,208,143,145,-1,245,143,208,-1,32,205,245,-1,32,19,205,-1,29,143,204,-1,143,29,144,-1,27,246,247,-1,248,246,27,-1,139,158,202,-1,158,139,138,-1,249,139,250,-1,139,249,106,-1,17,251,18,-1,17,252,251,-1,253,140,221,-1,140,253,254,-1,255,256,13,-1,255,257,256,-1,258,259,214,-1,258,260,259,-1,261,262,263,-1,262,261,264,-1,265,257,261,-1,256,257,265,-1,133,266,136,-1,133,267,266,-1,268,267,133,-1,269,267,268,-1,39,36,35,-1,36,39,172,-1,2,237,270,-1,2,163,237,-1,226,271,222,-1,271,226,9,-1,272,273,220,-1,272,239,273,-1,274,188,51,-1,274,275,188,-1,276,174,173,-1,276,277,174,-1,185,278,125,-1,278,185,83,-1,279,280,281,-1,279,282,280,-1,99,65,186,-1,66,65,99,-1,82,126,283,-1,126,82,103,-1,103,177,126,-1,177,103,87,-1,284,105,108,-1,105,284,285,-1,286,287,288,-1,289,287,286,-1,289,177,46,-1,289,48,177,-1,54,278,290,-1,54,125,278,-1,124,291,175,-1,123,291,124,-1,292,293,215,-1,294,293,292,-1,122,295,123,-1,296,295,122,-1,297,298,294,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] getl5disc_geometry_5_22_coordIndex_2()
		{
			int[] value = {299,298,297,-1,69,300,301,-1,302,300,69,-1,302,110,300,-1,302,118,110,-1,76,303,77,-1,303,76,304,-1,305,110,112,-1,110,305,306,-1,58,115,114,-1,58,182,115,-1,307,308,309,-1,307,310,308,-1,309,189,307,-1,311,189,309,-1,78,107,189,-1,78,109,107,-1,312,313,314,-1,312,315,313,-1,120,316,111,-1,317,316,120,-1,318,319,320,-1,318,321,319,-1,225,321,318,-1,321,225,44,-1,322,101,174,-1,322,92,101,-1,323,324,325,-1,326,324,323,-1,327,328,323,-1,327,329,328,-1,275,88,188,-1,275,91,88,-1,295,281,330,-1,295,196,281,-1,128,98,186,-1,179,98,128,-1,176,49,286,-1,49,176,97,-1,331,298,299,-1,298,331,332,-1,333,284,288,-1,333,285,284,-1,179,129,334,-1,179,128,129,-1,280,330,281,-1,335,330,280,-1,100,91,275,-1,100,92,91,-1,336,79,93,-1,336,80,79,-1,337,329,327,-1,80,329,337,-1,80,336,329,-1,338,325,324,-1,262,325,338,-1,339,338,324,-1,339,217,338,-1,321,104,319,-1,321,86,104,-1,80,104,81,-1,80,337,104,-1,316,112,111,-1,316,254,112,-1,192,315,251,-1,315,192,313,-1,340,310,307,-1,310,340,314,-1,181,193,120,-1,181,191,193,-1,70,75,71,-1,75,70,73,-1,309,72,182,-1,309,308,72,-1,180,341,181,-1,180,68,341,-1,190,57,66,-1,63,57,190,-1,180,118,302,-1,118,180,119,-1,304,55,62,-1,311,55,304,-1,191,73,192,-1,191,74,73,-1,57,61,60,-1,57,56,61,-1,176,288,284,-1,286,288,176,-1,342,299,297,-1,335,299,342,-1,343,296,122,-1,334,296,343,-1,276,294,292,-1,297,294,276,-1,51,343,274,-1,121,343,51,-1,289,45,287,-1,289,46,45,-1,286,48,289,-1,48,286,49,-1,176,108,109,-1,176,284,108,-1,78,97,176,-1,78,77,97,-1,83,283,278,-1,283,83,82,-1,117,186,65,-1,117,128,186,-1,282,331,280,-1,282,306,331,-1,90,125,52,-1,125,90,185,-1,101,175,174,-1,124,175,101,-1,51,90,52,-1,51,188,90,-1,344,333,345,-1,344,285,333,-1,9,346,271,-1,346,9,151,-1,0,270,347,-1,0,2,270,-1,197,135,348,-1,197,136,135,-1,132,268,133,-1,132,200,268,-1,269,256,265,-1,269,200,256,-1,269,268,200,-1,263,338,259,-1,338,263,262,-1,338,214,259,-1,338,217,214,-1,13,349,255,-1,13,33,349,-1,13,200,137,-1,13,256,200,-1,140,316,141,-1,140,254,316,-1,315,18,251,-1,248,18,315,-1,350,139,203,-1,250,139,350,-1,206,248,27,-1,18,248,206,-1,242,168,351,-1,168,242,14,-1,144,28,168,-1,144,29,28,-1,204,245,205,-1,143,245,204,-1,145,149,208,-1,147,149,145,-1,219,352,353,-1,219,171,352,-1,142,167,241,-1,30,167,142,-1,14,243,15,-1,243,14,242,-1,206,19,18,-1,206,205,19,-1,20,24,21,-1,20,210,24,-1,345,159,344,-1,159,345,354,-1,273,236,234,-1,236,273,239,-1,270,233,154,-1,233,270,237,-1,355,235,216,-1,235,355,234,-1,233,6,232,-1,6,233,7,-1,212,356,230,-1,212,211,356,-1,4,354,356,-1,3,354,4,-1,199,211,213,-1,199,165,211,-1,42,209,223,-1,42,41,209,-1,25,222,271,-1,222,25,23,-1,357,1,0,-1,357,358,1,-1,359,221,218,-1,359,253,221,-1,258,216,235,-1,258,214,216,-1,348,166,232,-1,348,135,166,-1,38,6,156,-1,38,198,6,-1,160,134,161,-1,134,160,152,-1,155,38,156,-1,172,38,155,-1,220,353,272,-1,220,219,353,-1,346,146,26,-1,346,164,146,-1,231,36,360,-1,34,36,231,-1,130,158,159,-1,130,201,158,-1,361,159,138,-1,361,344,159,-1,227,131,5,-1,43,131,227,-1,230,333,229,-1,345,333,230,-1,231,228,227,-1,231,360,228,-1,160,236,238,-1,160,162,236,-1,228,9,226,-1,228,10,9,-1,240,153,238,-1,153,240,347,-1,362,355,293,-1,355,362,363,-1,353,244,358,-1,244,353,352,-1,358,148,1,-1,358,244,148,-1,15,223,209,-1,223,15,243,-1,245,167,32,-1,245,208,167,-1,28,351,168,-1,28,364,351,-1,204,27,29,-1,206,27,204,-1,17,32,31,-1,17,19,32,-1,247,250,350,-1,246,250,247,-1,106,361,138,-1,106,105,361,-1,246,249,250,-1,246,312,249,-1,317,17,31,-1,17,317,252,-1,257,320,365,-1,320,257,255,-1,213,33,199,-1,213,349,33,-1,161,260,258,-1,161,266,260,-1,257,264,261,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=3 */
		private int[] getl5disc_geometry_5_22_coordIndex_3()
		{
			int[] value = {257,365,264,-1,366,261,263,-1,261,366,265,-1,266,366,260,-1,266,267,366,-1,35,132,39,-1,35,137,132,-1,197,39,133,-1,39,197,40,-1,240,272,357,-1,272,240,239,-1,163,150,237,-1,163,164,150,-1,222,43,226,-1,222,41,43,-1,218,362,359,-1,363,362,218,-1,178,275,274,-1,178,100,275,-1,292,277,276,-1,292,339,277,-1,305,359,332,-1,305,253,359,-1,195,281,196,-1,195,279,281,-1,367,66,99,-1,190,66,367,-1,64,96,303,-1,64,187,96,-1,46,87,44,-1,46,177,87,-1,333,287,229,-1,287,333,288,-1,290,283,127,-1,290,278,283,-1,342,175,291,-1,342,173,175,-1,53,290,368,-1,53,54,290,-1,123,330,291,-1,295,330,123,-1,294,362,293,-1,298,362,294,-1,301,282,279,-1,300,282,301,-1,183,279,195,-1,183,301,279,-1,303,62,64,-1,304,62,303,-1,300,306,282,-1,300,110,306,-1,67,113,68,-1,113,67,59,-1,341,75,74,-1,75,341,184,-1,72,115,182,-1,72,71,115,-1,182,311,309,-1,55,311,182,-1,313,73,70,-1,73,313,192,-1,107,307,189,-1,307,107,340,-1,249,314,340,-1,249,312,314,-1,193,317,120,-1,252,317,193,-1,320,369,365,-1,319,369,320,-1,86,44,87,-1,86,321,44,-1,326,174,277,-1,326,322,174,-1,264,369,370,-1,264,365,369,-1,370,323,325,-1,327,323,370,-1,323,322,326,-1,323,328,322,-1,79,84,89,-1,79,81,84,-1,79,91,93,-1,89,91,79,-1,88,91,89,-1,296,196,295,-1,296,194,196,-1,94,367,368,-1,94,187,367,-1,362,332,359,-1,332,362,298,-1,299,280,331,-1,299,335,280,-1,99,368,367,-1,53,368,99,-1,334,194,296,-1,334,129,194,-1,83,89,84,-1,185,89,83,-1,328,336,93,-1,336,328,329,-1,322,93,92,-1,322,328,93,-1,369,327,370,-1,327,369,337,-1,262,370,325,-1,264,370,262,-1,324,277,339,-1,324,326,277,-1,337,319,104,-1,337,369,319,-1,112,253,305,-1,254,253,112,-1,251,193,192,-1,251,252,193,-1,107,249,340,-1,106,249,107,-1,314,70,310,-1,70,314,313,-1,72,310,70,-1,72,308,310,-1,184,71,75,-1,115,71,184,-1,74,181,341,-1,74,191,181,-1,184,68,113,-1,68,184,341,-1,61,113,59,-1,114,113,61,-1,195,116,183,-1,116,195,117,-1,67,301,183,-1,69,301,67,-1,76,311,304,-1,189,311,76,-1,63,55,57,-1,63,62,55,-1,68,302,69,-1,180,302,68,-1,335,291,330,-1,335,342,291,-1,121,334,343,-1,179,334,121,-1,173,297,276,-1,342,297,173,-1,274,122,178,-1,343,122,274,-1,47,283,126,-1,47,127,283,-1,229,45,224,-1,229,287,45,-1,127,368,290,-1,127,94,368,-1,224,44,225,-1,224,45,44,-1,97,303,96,-1,77,303,97,-1,187,190,367,-1,64,190,187,-1,117,194,129,-1,117,195,194,-1,306,332,331,-1,306,305,332,-1,215,339,292,-1,215,217,339,-1,100,124,101,-1,178,124,100,-1,363,220,273,-1,218,220,363,-1,3,159,354,-1,130,159,3,-1,151,164,346,-1,164,151,150,-1,357,347,240,-1,357,0,347,-1,40,348,198,-1,40,197,348,-1,267,265,366,-1,267,269,265,-1,259,366,263,-1,366,259,260,-1,134,266,161,-1,134,136,266,-1,349,225,318,-1,213,225,349,-1,255,318,320,-1,255,349,318,-1,316,31,141,-1,31,316,317,-1,248,312,246,-1,248,315,312,-1,203,351,350,-1,351,203,242,-1,247,28,27,-1,247,364,28,-1,364,350,351,-1,364,247,350,-1,144,169,170,-1,144,168,169,-1,171,221,140,-1,219,221,171,-1,223,202,201,-1,243,202,223,-1,171,241,352,-1,171,142,241,-1,16,210,14,-1,16,24,210,-1,352,207,244,-1,207,352,241,-1,363,234,355,-1,234,363,273,-1,347,154,153,-1,154,347,270,-1,293,216,215,-1,216,293,355,-1,238,152,160,-1,152,238,153,-1,360,10,228,-1,360,155,10,-1,165,356,211,-1,165,4,356,-1,230,354,345,-1,354,230,356,-1,105,344,361,-1,285,344,105,-1,165,37,157,-1,199,37,165,-1,157,34,231,-1,37,34,157,-1,26,271,346,-1,271,26,25,-1,272,358,357,-1,272,353,358,-1,360,172,155,-1,36,172,360,-1,161,235,162,-1,161,258,235,-1,198,232,6,-1,198,348,232,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='l5disc_geometry' coordIndex field, scene-graph level=5, element #22, 2952 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 getl5disc_geometry_5_22_coordIndex()
		{
			MFInt32 l5disc_geometry_5_22_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getl5disc_geometry_5_22_coordIndex_1()))
				.append(new MFInt32(getl5disc_geometry_5_22_coordIndex_2()))
				.append(new MFInt32(getl5disc_geometry_5_22_coordIndex_3()));
			return l5disc_geometry_5_22_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='l5disc_coordinate' point field, scene-graph level=6, element #22, 1113 total numbers made up of 371 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 getl5disc_coordinate_6_22_point()
		{
			MFVec3f l5disc_coordinate_6_22_point = new MFVec3f(new double[] {-0.0241,1.0223,-0.031,-0.0239,1.0225,-0.0311,-0.0242,1.0223,-0.0311,-0.0107,1.0315,-0.0524,-0.0102,1.0289,-0.0531,-0.0133,1.0294,-0.053,-0.026,1.0182,-0.0425,-0.0267,1.02,-0.0401,-0.0265,1.0233,-0.044,-0.0253,1.027,-0.0455,-0.0248,1.025,-0.0468,-0.014,1.0235,-0.0503,-0.0115,1.0235,-0.0512,-0.0093,1.0208,-0.0486,-0.0162,1.0327,-0.0464,-0.0181,1.0324,-0.0482,-0.0209,1.0304,-0.0461,-0.0056,1.0256,-0.0299,-0.0059,1.0282,-0.0329,-0.0082,1.0271,-0.0312,-0.0217,1.0267,-0.0392,-0.0257,1.0261,-0.0401,-0.0245,1.0238,-0.0351,-0.0226,1.0305,-0.0463,-0.0229,1.029,-0.0443,-0.0252,1.0288,-0.0438,-0.0267,1.0264,-0.04,-0.0089,1.0308,-0.037,-0.0123,1.0316,-0.0397,-0.0122,1.0298,-0.0368,-0.0106,1.0225,-0.0278,-0.006,1.0227,-0.0268,-0.0102,1.0246,-0.0289,-0.0088,1.023,-0.0505,-0.0172,1.0258,-0.0528,-0.0171,1.0228,-0.0477,-0.0217,1.0241,-0.0497,-0.0127,1.0265,-0.0535,-0.0251,1.0216,-0.0457,-0.0202,1.0215,-0.045,-0.0219,1.0187,-0.0415,-0.0185,1.0327,-0.0487,-0.0144,1.034,-0.0502,-0.0184,1.0308,-0.0505,0.004,1.0245,-0.0533,0.0039,1.0249,-0.0534,0.004,1.0249,-0.0534,0.0133,1.0294,-0.053,0.0102,1.0289,-0.0531,0.0107,1.0315,-0.0524,0.0265,1.0233,-0.044,0.026,1.0182,-0.0425,0.0254,1.0218,-0.0456,0.0253,1.027,-0.0455,0.0248,1.025,-0.0468,0.0162,1.0327,-0.0464,0.0206,1.0293,-0.0432,0.0229,1.029,-0.0443,0.0184,1.0296,-0.042,0.0215,1.0242,-0.0353,0.0257,1.0261,-0.0401,0.0217,1.0267,-0.0392,0.0181,1.0324,-0.0482,0.0209,1.0304,-0.0461,0.0184,1.0328,-0.0485,0.0267,1.0264,-0.04,0.0252,1.0288,-0.0438,0.0191,1.0222,-0.032,0.0149,1.0238,-0.0319,0.0173,1.0217,-0.0304,0.0089,1.0308,-0.037,0.0122,1.0298,-0.0368,0.0123,1.0316,-0.0397,0.0078,1.0293,-0.0343,0.0094,1.028,-0.0328,0.0108,1.0286,-0.0343,0.0114,1.0335,-0.0506,0.0111,1.0337,-0.051,0.0073,1.0332,-0.0504,0.0173,1.0205,-0.0453,0.0139,1.0195,-0.0458,0.0143,1.0211,-0.0479,0.0172,1.0258,-0.0528,0.0217,1.0241,-0.0497,0.0171,1.0228,-0.0477,0.0115,1.0235,-0.0512,0.0088,1.023,-0.0505,0.0098,1.026,-0.0532,0.0219,1.0187,-0.0415,0.0202,1.0215,-0.045,0.0251,1.0216,-0.0457,0.0213,1.0172,-0.0401,0.0208,1.0157,-0.0388,0.0176,1.0175,-0.0413,0.0184,1.0308,-0.0505,0.014,1.0319,-0.0518,0.0144,1.034,-0.0502,0.0111,1.0337,-0.0513,0.027,1.025,-0.0419,0.0254,1.0287,-0.044,0.0233,1.0133,-0.0381,0.0229,1.0126,-0.0376,0.014,1.0235,-0.0503,0.0127,1.0265,-0.0535,0.0093,1.0208,-0.0486,0.0,1.0334,-0.0495,0.0,1.0322,-0.0468,0.006,1.0324,-0.0475,0.0028,1.0332,-0.0498,0.0055,1.033,-0.05,0.0115,1.0194,-0.0246,0.0064,1.0201,-0.0253,0.0061,1.0195,-0.0234,0.0178,1.0253,-0.0347,0.0185,1.0273,-0.0383,0.0153,1.0295,-0.0372,0.0245,1.0238,-0.0351,0.026,1.024,-0.0352,0.0111,1.0206,-0.0264,0.0106,1.0225,-0.0278,0.006,1.0227,-0.0268,0.0267,1.02,-0.0401,0.0249,1.0165,-0.0358,0.0236,1.0151,-0.0347,0.0231,1.0126,-0.0374,0.0238,1.0231,-0.0478,0.0127,1.0269,-0.0536,0.018,1.0285,-0.0519,0.0263,1.0239,-0.0353,0.0263,1.0239,-0.0352,-0.0111,1.0337,-0.0513,-0.014,1.0319,-0.0518,-0.0173,1.0205,-0.0453,-0.0176,1.0175,-0.0413,-0.0229,1.0126,-0.0376,-0.0233,1.0133,-0.0381,-0.0208,1.0157,-0.0388,-0.0143,1.0211,-0.0479,-0.0055,1.033,-0.05,-0.006,1.0324,-0.0475,-0.0061,1.0195,-0.0234,-0.0064,1.0201,-0.0253,-0.0111,1.0206,-0.0264,-0.0142,1.0275,-0.0343,-0.0153,1.0295,-0.0372,-0.0178,1.0253,-0.0347,-0.026,1.024,-0.0352,-0.0215,1.0242,-0.0353,-0.0218,1.0221,-0.0314,-0.0191,1.0222,-0.032,-0.0267,1.0219,-0.0376,-0.027,1.025,-0.0419,-0.0231,1.0126,-0.0374,-0.0236,1.0151,-0.0347,-0.0249,1.0165,-0.0358,-0.0238,1.0231,-0.0478,-0.0254,1.0218,-0.0456,-0.0127,1.0269,-0.0536,-0.0073,1.0332,-0.0504,-0.0055,1.0329,-0.0504,-0.0188,1.0084,-0.0335,-0.0186,1.0084,-0.0337,-0.0187,1.0084,-0.0335,-0.0263,1.0239,-0.0352,-0.0263,1.0239,-0.0353,-0.0097,1.0263,-0.0533,-0.0235,1.0133,-0.0379,-0.013,1.0229,-0.0297,-0.0157,1.0318,-0.0421,-0.0184,1.0296,-0.042,-0.0185,1.0273,-0.0383,-0.0115,1.0194,-0.0246,-0.0236,1.0229,-0.0477,0.0187,1.0084,-0.0335,0.0186,1.0084,-0.0337,0.0188,1.0084,-0.0335,0.0055,1.0329,-0.0504,0.0097,1.0263,-0.0533,0.0235,1.0133,-0.0379,0.0267,1.0219,-0.0376,0.013,1.0229,-0.0297,0.0102,1.0246,-0.0289,0.0157,1.0318,-0.0421,0.0218,1.0221,-0.0314,0.0142,1.0275,-0.0343,0.0236,1.0229,-0.0477,0.0269,1.0263,-0.0401,0.0185,1.0327,-0.0487,0.0258,1.0181,-0.0426,0.0113,1.0332,-0.0478,0.0226,1.0305,-0.0463,0.0082,1.0271,-0.0312,0.0059,1.0282,-0.0329,0.0056,1.0256,-0.0299,0.0242,1.0223,-0.0311,0.0239,1.0225,-0.0311,0.0241,1.0223,-0.031,-0.0213,1.0172,-0.0401,-0.0258,1.0181,-0.0426,-0.0098,1.026,-0.0532,-0.0139,1.0195,-0.0458,-0.0111,1.0337,-0.051,-0.0114,1.0335,-0.0506,-0.0113,1.0332,-0.0478,-0.0108,1.0286,-0.0343,-0.0094,1.028,-0.0328,-0.0078,1.0293,-0.0343,-0.0173,1.0217,-0.0304,-0.0149,1.0238,-0.0319,-0.0184,1.0328,-0.0485,-0.0206,1.0293,-0.0432,-0.004,1.0249,-0.0534,-0.0039,1.0249,-0.0534,-0.004,1.0245,-0.0533,-0.0068,1.0045,-0.0305,0.0,1.0038,-0.03,-0.0068,1.0045,-0.0302,0.0,1.0038,-0.0302,-0.0063,1.0192,-0.0211,-0.0114,1.0193,-0.0226,-0.0115,1.0191,-0.0225,-0.0063,1.0194,-0.0212,-0.0227,1.0304,-0.0466,-0.0143,1.034,-0.05,0.0,1.0241,-0.053,0.0,1.0238,-0.0528,-0.0228,1.0286,-0.048,-0.018,1.0285,-0.0519,-0.0225,1.0265,-0.0491,0.0,1.0273,-0.0525,-0.0035,1.0278,-0.0528,-0.0173,1.0262,-0.0529,-0.0252,1.0157,-0.0402,-0.0261,1.0183,-0.0385,-0.0128,1.0098,-0.0279,-0.0132,1.0056,-0.0312,-0.0187,1.0119,-0.0304,-0.0264,1.0211,-0.0367,-0.0199,1.0123,-0.0313,-0.0183,1.0157,-0.0276,-0.0207,1.0165,-0.0294,-0.0151,1.0211,-0.0287,-0.014,1.0333,-0.0472,-0.0143,1.0337,-0.0496,-0.0196,1.0212,-0.0293,-0.0124,1.026,-0.0317,-0.006,1.0315,-0.0401,-0.0101,1.0323,-0.0418,-0.0056,1.0304,-0.0369,0.0,1.0318,-0.0426,-0.0061,1.0321,-0.0434,0.0,1.0273,-0.0315,0.0,1.0254,-0.0289,0.0,1.0199,-0.0207,0.0,1.0202,-0.023,-0.0045,1.0198,-0.048,-0.0094,1.0188,-0.046,-0.0048,1.0177,-0.0453,-0.0131,1.0056,-0.0315,-0.0066,1.0082,-0.0328,-0.012,1.0095,-0.0336,-0.0053,1.0147,-0.0415,0.0,1.0107,-0.0363,-0.0056,1.0108,-0.0364,0.0,1.0144,-0.0408,-0.0101,1.0159,-0.042,-0.0168,1.0124,-0.0359,-0.015,1.015,-0.0393,-0.0143,1.0182,-0.0437,-0.0129,1.0173,-0.0428,-0.0247,1.0194,-0.0334,-0.0254,1.0287,-0.044,-0.0176,1.0196,-0.0253,-0.0123,1.0144,-0.0249,0.0252,1.0157,-0.0402,0.0249,1.0157,-0.0403,0.0132,1.0056,-0.0312,0.0131,1.0056,-0.0315,0.0219,1.0244,-0.0498,0.0209,1.021,-0.0279,0.0176,1.0196,-0.0253,0.021,1.0208,-0.0278,0.0175,1.0199,-0.0254,0.0173,1.0262,-0.0529,0.0027,1.0331,-0.0501,0.0,1.0333,-0.0498,0.0049,1.0305,-0.0519,0.0035,1.0278,-0.0528,0.0031,1.0306,-0.0517,0.0044,1.0277,-0.0529,0.0225,1.0265,-0.0491,0.0199,1.0123,-0.0313,0.0068,1.0045,-0.0302,0.0,1.0087,-0.0264,0.0067,1.009,-0.0268,0.0239,1.0186,-0.0325,0.0247,1.0194,-0.0334,0.0128,1.0098,-0.0279,0.0065,1.014,-0.0236,0.0123,1.0144,-0.0249,0.0166,1.02,-0.0268,0.0196,1.0212,-0.0293,0.0151,1.0211,-0.0287,0.0143,1.034,-0.05,0.0143,1.0337,-0.0496,0.0063,1.0194,-0.0212,0.0114,1.0193,-0.0226,0.0104,1.0328,-0.0447,0.0114,1.0323,-0.0416,0.0134,1.0329,-0.0441,0.0101,1.0323,-0.0418,0.014,1.0333,-0.0472,0.0,1.0309,-0.0386,0.0056,1.0304,-0.0369,0.006,1.0315,-0.0401,0.0,1.0302,-0.0367,0.0,1.0208,-0.025,0.0,1.0227,-0.0262,0.0,1.0217,-0.05,0.0045,1.0198,-0.048,0.0,1.0192,-0.0474,0.0043,1.022,-0.0504,0.0168,1.0124,-0.0359,0.0112,1.0123,-0.0377,0.0066,1.0082,-0.0328,0.0056,1.0108,-0.0364,0.012,1.0095,-0.0336,0.0101,1.0159,-0.042,0.015,1.015,-0.0393,0.0129,1.0173,-0.0428,0.0207,1.0165,-0.0294,0.0115,1.0191,-0.0225,0.0063,1.0192,-0.0211,0.0,1.0305,-0.0514,0.0264,1.0211,-0.0367,0.0183,1.0157,-0.0276,0.0143,1.0182,-0.0437,0.0094,1.0188,-0.046,0.0,1.0071,-0.0323,0.0068,1.0045,-0.0305,0.0061,1.0321,-0.0434,0.0124,1.026,-0.0317,0.0187,1.0119,-0.0304,0.0261,1.0183,-0.0385,-0.0027,1.0331,-0.0501,-0.0031,1.0306,-0.0517,-0.0269,1.0263,-0.0401,-0.0239,1.0186,-0.0325,-0.0249,1.0157,-0.0403,-0.0043,1.022,-0.0504,-0.0104,1.0328,-0.0447,-0.0134,1.0329,-0.0441,-0.0166,1.02,-0.0268,-0.0175,1.0199,-0.0254,-0.0049,1.0305,-0.0519,-0.0067,1.009,-0.0268,-0.0044,1.0277,-0.0529,-0.021,1.0208,-0.0278,-0.0209,1.021,-0.0279,0.0,1.0196,-0.0206,-0.0219,1.0244,-0.0498,-0.0028,1.0332,-0.0498,0.0,1.0141,-0.0232,-0.0065,1.014,-0.0236,-0.0114,1.0323,-0.0416,0.0,1.0171,-0.0445,-0.0112,1.0123,-0.0377,0.0227,1.0304,-0.0466,0.0228,1.0286,-0.048,0.0048,1.0177,-0.0453,0.0053,1.0147,-0.0415});
			return l5disc_coordinate_6_22_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 l5disc 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 l5disc().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.Skeleton.l5disc\" 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.Skeleton.l5disc self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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