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 l3disc.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.l3disc&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/l3disc.x3d">l3disc.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/l3disk.x3d">originals/l3disk.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/l3disc.x3d" target="_blank">https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skeleton/l3disc.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 l3disc
{
	/** Default constructor to create this object. */
	public l3disc ()
	{
	  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("l3disc.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/l3disk.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/l3disc.x3d"))
    .addMeta(new meta().setName(meta.NAME_LICENSE    ).setContent("../license.html")))
  .setScene(new Scene()
    .addChild(new WorldInfo().setTitle("l3disc.x3d"))
    .addChild(new TouchSensor().setDescription("cartilage l3disc"))
    .addChild(new Transform("l3disc")
      .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("l3disc_geometry").setDEF("l3disc_geometry").setCreaseAngle(1.571).setCoordIndex(getl3disc_geometry_5_22_coordIndex())
          .setCoord(new Coordinate("l3disc_coordinate").setPoint(getl3disc_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[] getl3disc_geometry_5_22_coordIndex_1()
		{
			int[] value = {0,1,2,-1,3,4,5,-1,6,7,8,-1,9,10,11,-1,12,13,14,-1,15,16,17,-1,13,12,18,-1,19,20,21,-1,22,23,24,-1,25,26,27,-1,28,29,30,-1,31,32,33,-1,34,25,35,-1,36,37,38,-1,39,7,40,-1,41,42,43,-1,44,45,46,-1,43,47,48,-1,49,50,51,-1,48,52,37,-1,53,54,55,-1,56,57,4,-1,58,59,60,-1,49,36,61,-1,62,63,64,-1,65,66,67,-1,68,69,23,-1,70,71,72,-1,73,74,75,-1,76,77,78,-1,77,79,80,-1,81,82,83,-1,84,85,86,-1,87,88,89,-1,90,91,92,-1,93,63,94,-1,94,12,95,-1,96,90,92,-1,92,97,96,-1,98,99,100,-1,101,102,103,-1,104,105,103,-1,90,106,91,-1,107,84,108,-1,106,90,99,-1,109,110,111,-1,112,105,104,-1,113,114,115,-1,100,99,90,-1,97,116,95,-1,97,92,116,-1,12,63,62,-1,63,93,89,-1,117,75,83,-1,80,83,82,-1,78,118,119,-1,118,120,119,-1,118,78,121,-1,122,123,98,-1,71,74,73,-1,68,124,72,-1,68,67,66,-1,70,81,74,-1,125,65,17,-1,126,127,128,-1,49,129,50,-1,128,55,130,-1,131,132,133,-1,55,134,135,-1,136,61,36,-1,137,37,36,-1,138,139,140,-1,141,69,142,-1,143,144,145,-1,146,62,138,-1,147,148,149,-1,150,57,2,-1,151,40,7,-1,7,6,151,-1,152,40,151,-1,153,154,155,-1,156,87,157,-1,17,158,35,-1,139,31,140,-1,43,159,47,-1,160,7,39,-1,161,162,45,-1,137,36,49,-1,38,136,36,-1,55,135,130,-1,163,58,164,-1,133,59,131,-1,128,53,55,-1,49,126,129,-1,126,61,127,-1,54,53,56,-1,158,67,23,-1,17,16,125,-1,81,66,82,-1,72,69,68,-1,71,70,74,-1,122,75,123,-1,118,165,166,-1,78,119,76,-1,81,83,74,-1,167,19,87,-1,91,116,92,-1,12,94,63,-1,100,90,96,-1,167,168,115,-1,113,109,104,-1,111,169,109,-1,106,110,91,-1,107,85,84,-1,106,99,170,-1,110,106,111,-1,104,103,113,-1,105,171,103,-1,114,113,103,-1,98,123,99,-1,95,116,94,-1,110,93,91,-1,89,167,87,-1,86,172,84,-1,75,74,83,-1,77,80,82,-1,76,119,173,-1,174,121,78,-1,174,175,125,-1,73,75,122,-1,72,124,70,-1,23,67,68,-1,70,124,81,-1,16,144,125,-1,49,61,126,-1,176,160,39,-1,48,37,137,-1,51,137,49,-1,177,43,48,-1,177,41,43,-1,40,52,39,-1,37,178,38,-1,35,22,34,-1,31,33,140,-1,179,28,30,-1,25,34,26,-1,180,16,15,-1,64,88,139,-1,17,35,15,-1,95,12,14,-1,181,182,183,-1,1,0,184,-1,5,185,3,-1,57,0,2,-1,38,186,136,-1,38,187,186,-1,8,160,188,-1,7,160,8,-1,154,189,155,-1,154,190,189,-1,191,192,193,-1,191,194,192,-1,195,196,197,-1,198,196,195,-1,148,11,10,-1,148,147,11,-1,138,64,139,-1,62,64,138,-1,199,200,201,-1,199,102,200,-1,202,203,204,-1,202,205,203,-1,206,165,179,-1,166,165,206,-1,141,23,69,-1,23,141,24,-1,73,207,208,-1,73,122,207,-1,209,210,211,-1,209,195,210,-1,9,212,213,-1,9,214,212,-1,215,32,149,-1,215,33,32,-1,216,157,21,-1,157,216,217,-1,218,219,220,-1,219,218,221,-1,222,223,224,-1,222,225,223,-1,226,227,228,-1,226,229,227,-1,230,231,232,-1,230,233,231,-1,234,33,235,-1,234,140,33,-1,150,231,236,-1,150,2,231,-1,187,223,186,-1,187,237,223,-1,6,227,151,-1,6,238,227,-1,188,239,8,-1,188,240,239,-1,241,242,243,-1,241,244,242,-1,245,246,29,-1,245,247,246,-1,27,183,248,-1,181,183,27,-1,15,249,180,-1,15,250,249,-1,251,217,252,-1,251,253,217,-1,141,254,24,-1,141,255,254,-1,256,257,211,-1,258,257,256,-1,259,260,261,-1,259,212,260,-1,262,14,13,-1,14,262,233,-1,207,263,264,-1,207,265,263,-1,246,155,189,-1,155,246,247,-1,244,192,242,-1,193,192,244,-1,266,267,268,-1,266,269,267,-1,270,271,162,-1,272,271,270,-1,50,268,51,-1,266,268,50,-1,190,44,46,-1,190,154,44,-1,273,274,275,-1,274,273,276,-1,39,159,176,-1,39,47,159,-1,277,278,182,-1,277,279,278,-1,58,280,281,-1,58,60,280,-1,282,59,283,-1,60,59,282,-1,283,284,285,-1,283,286,284,-1,198,132,196,-1,132,198,133,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] getl3disc_geometry_5_22_coordIndex_2()
		{
			int[] value = {54,134,55,-1,54,287,134,-1,53,127,56,-1,128,127,53,-1,288,174,143,-1,121,174,288,-1,125,143,174,-1,125,144,143,-1,77,66,175,-1,82,66,77,-1,165,121,288,-1,121,165,118,-1,83,86,117,-1,83,80,86,-1,289,119,120,-1,290,119,289,-1,290,291,292,-1,290,293,291,-1,109,115,168,-1,113,115,109,-1,112,109,169,-1,109,112,104,-1,107,169,111,-1,108,169,107,-1,294,295,202,-1,295,294,171,-1,84,296,108,-1,84,291,296,-1,99,297,170,-1,99,123,297,-1,298,202,295,-1,298,205,202,-1,112,108,296,-1,112,169,108,-1,103,294,101,-1,103,171,294,-1,20,167,115,-1,20,19,167,-1,115,199,20,-1,199,115,114,-1,85,117,86,-1,85,297,117,-1,298,290,289,-1,298,293,290,-1,119,292,173,-1,292,119,290,-1,65,175,66,-1,125,175,65,-1,299,300,148,-1,299,287,300,-1,54,4,3,-1,56,4,54,-1,196,131,301,-1,132,131,196,-1,164,302,163,-1,164,10,302,-1,303,50,129,-1,50,303,266,-1,133,283,59,-1,283,133,286,-1,281,164,58,-1,281,299,164,-1,304,266,303,-1,304,269,266,-1,176,279,277,-1,279,176,159,-1,48,51,177,-1,48,137,51,-1,46,275,190,-1,275,46,273,-1,272,305,194,-1,305,272,284,-1,267,306,307,-1,269,306,267,-1,177,268,41,-1,51,268,177,-1,45,273,46,-1,45,162,273,-1,279,308,278,-1,279,42,308,-1,178,52,40,-1,37,52,178,-1,41,267,309,-1,41,268,267,-1,310,244,311,-1,310,193,244,-1,249,248,312,-1,250,248,249,-1,313,314,228,-1,315,314,313,-1,316,233,230,-1,316,14,233,-1,251,31,253,-1,251,32,31,-1,317,261,221,-1,317,259,261,-1,208,228,314,-1,208,226,228,-1,13,318,262,-1,13,18,318,-1,34,24,254,-1,22,24,34,-1,180,245,145,-1,180,249,245,-1,145,29,28,-1,145,245,29,-1,319,243,320,-1,319,241,243,-1,321,244,241,-1,321,311,244,-1,240,322,323,-1,188,322,240,-1,26,254,323,-1,34,254,26,-1,229,151,227,-1,152,151,229,-1,225,186,223,-1,184,186,225,-1,236,5,150,-1,5,236,324,-1,235,318,234,-1,318,235,324,-1,237,224,223,-1,263,224,237,-1,238,228,227,-1,313,228,238,-1,258,320,243,-1,203,320,258,-1,221,200,219,-1,200,221,261,-1,217,156,157,-1,156,217,253,-1,214,11,252,-1,9,11,214,-1,210,197,317,-1,195,197,210,-1,98,207,122,-1,98,265,207,-1,315,69,72,-1,69,315,142,-1,145,16,180,-1,144,16,145,-1,319,166,206,-1,325,166,319,-1,294,204,220,-1,294,202,204,-1,20,201,21,-1,20,199,201,-1,62,18,12,-1,62,146,18,-1,176,188,160,-1,188,176,322,-1,213,10,9,-1,302,10,213,-1,209,198,195,-1,326,198,209,-1,274,193,310,-1,274,191,193,-1,153,182,154,-1,182,153,183,-1,327,38,178,-1,38,327,187,-1,4,150,5,-1,4,57,150,-1,184,136,186,-1,0,136,184,-1,277,322,176,-1,277,328,322,-1,329,190,275,-1,190,329,189,-1,194,330,192,-1,194,305,330,-1,197,301,331,-1,196,301,197,-1,148,215,149,-1,148,300,215,-1,316,95,14,-1,97,95,316,-1,88,156,139,-1,88,87,156,-1,102,219,200,-1,102,101,219,-1,203,332,320,-1,205,332,203,-1,179,288,28,-1,165,288,179,-1,158,22,35,-1,158,23,22,-1,314,73,208,-1,71,73,314,-1,333,96,334,-1,100,96,333,-1,211,330,209,-1,330,211,257,-1,259,213,212,-1,331,213,259,-1,147,32,251,-1,147,149,32,-1,260,21,201,-1,21,260,216,-1,256,220,204,-1,220,256,218,-1,232,222,230,-1,222,232,225,-1,335,226,264,-1,226,335,229,-1,236,233,262,-1,233,236,231,-1,235,215,185,-1,215,235,33,-1,232,2,1,-1,2,232,231,-1,335,187,327,-1,187,335,237,-1,238,8,239,-1,6,8,238,-1,240,336,239,-1,255,336,240,-1,27,328,181,-1,328,27,26,-1,29,337,30,-1,29,246,337,-1,179,321,206,-1,179,30,321,-1,312,183,153,-1,183,312,248,-1,35,250,15,-1,35,25,250,-1,249,247,245,-1,247,249,312,-1,230,334,316,-1,334,230,222,-1,211,218,256,-1,211,210,218,-1,212,216,260,-1,212,214,216,-1,234,18,146,-1,18,234,318,-1,263,333,224,-1,265,333,263,-1,255,142,336,-1,141,142,255,-1,337,189,329,-1,189,337,246,-1,257,243,242,-1,243,257,258,-1,309,45,308,-1,309,161,45,-1,162,307,270,-1,307,162,161,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=3 */
		private int[] getl3disc_geometry_5_22_coordIndex_3()
		{
			int[] value = {284,270,285,-1,284,272,270,-1,276,191,274,-1,271,191,276,-1,42,159,43,-1,42,279,159,-1,52,47,39,-1,47,52,48,-1,134,280,135,-1,281,280,134,-1,127,57,56,-1,0,57,127,-1,280,282,304,-1,280,60,282,-1,283,306,282,-1,283,285,306,-1,326,133,198,-1,286,133,326,-1,10,299,148,-1,299,10,164,-1,65,158,17,-1,67,158,65,-1,174,77,175,-1,77,174,78,-1,77,173,79,-1,76,173,77,-1,79,86,80,-1,86,79,172,-1,289,325,332,-1,120,325,289,-1,292,84,172,-1,292,291,84,-1,116,93,94,-1,91,93,116,-1,93,109,168,-1,109,93,110,-1,114,102,199,-1,103,102,114,-1,107,106,170,-1,107,111,106,-1,105,295,171,-1,295,105,338,-1,291,338,296,-1,291,293,338,-1,170,85,107,-1,170,297,85,-1,338,298,295,-1,338,293,298,-1,296,105,112,-1,338,105,296,-1,168,89,93,-1,89,168,167,-1,64,89,88,-1,89,64,63,-1,297,75,117,-1,297,123,75,-1,332,298,289,-1,332,205,298,-1,172,173,292,-1,172,79,173,-1,325,118,166,-1,325,120,118,-1,66,124,68,-1,124,66,81,-1,287,3,300,-1,54,3,287,-1,129,128,130,-1,129,126,128,-1,301,163,302,-1,131,163,301,-1,305,286,326,-1,284,286,305,-1,306,304,282,-1,304,306,269,-1,303,130,135,-1,130,303,129,-1,131,58,163,-1,131,59,58,-1,281,287,299,-1,281,134,287,-1,127,136,0,-1,136,127,61,-1,304,135,280,-1,304,303,135,-1,278,154,182,-1,44,154,278,-1,271,194,191,-1,194,271,272,-1,306,270,307,-1,306,285,270,-1,307,309,267,-1,307,161,309,-1,162,276,273,-1,162,271,276,-1,44,308,45,-1,44,278,308,-1,309,42,41,-1,42,309,308,-1,311,329,310,-1,329,311,337,-1,315,336,142,-1,315,313,336,-1,334,224,333,-1,334,222,224,-1,214,217,216,-1,214,252,217,-1,210,221,218,-1,210,317,221,-1,264,208,207,-1,208,264,226,-1,146,140,234,-1,146,138,140,-1,25,248,250,-1,248,25,27,-1,153,247,312,-1,153,155,247,-1,206,241,319,-1,206,321,241,-1,30,311,321,-1,30,337,311,-1,328,323,322,-1,328,26,323,-1,255,323,254,-1,255,240,323,-1,327,229,335,-1,327,152,229,-1,1,225,232,-1,1,184,225,-1,185,324,235,-1,185,5,324,-1,262,324,236,-1,262,318,324,-1,264,237,335,-1,264,263,237,-1,313,239,336,-1,313,238,239,-1,204,258,256,-1,204,203,258,-1,261,201,200,-1,201,261,260,-1,253,139,156,-1,139,253,31,-1,147,252,11,-1,147,251,252,-1,331,317,197,-1,331,259,317,-1,330,242,192,-1,330,257,242,-1,333,98,100,-1,98,333,265,-1,72,314,315,-1,72,71,314,-1,28,143,145,-1,288,143,28,-1,320,325,319,-1,332,325,320,-1,101,220,219,-1,101,294,220,-1,87,21,157,-1,87,19,21,-1,96,316,334,-1,96,97,316,-1,331,302,213,-1,301,302,331,-1,330,326,209,-1,305,326,330,-1,275,310,329,-1,275,274,310,-1,328,182,181,-1,277,182,328,-1,178,152,327,-1,178,40,152,-1,185,300,3,-1,300,185,215,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='l3disc_geometry' coordIndex field, scene-graph level=5, element #22, 2696 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 getl3disc_geometry_5_22_coordIndex()
		{
			MFInt32 l3disc_geometry_5_22_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getl3disc_geometry_5_22_coordIndex_1()))
				.append(new MFInt32(getl3disc_geometry_5_22_coordIndex_2()))
				.append(new MFInt32(getl3disc_geometry_5_22_coordIndex_3()));
			return l3disc_geometry_5_22_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='l3disc_coordinate' point field, scene-graph level=6, element #22, 1017 total numbers made up of 339 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 getl3disc_coordinate_6_22_point()
		{
			MFVec3f l3disc_coordinate_6_22_point = new MFVec3f(new double[] {0.0097,1.0911,-0.0432,0.0098,1.0912,-0.0433,0.0149,1.0925,-0.0422,0.0198,1.0914,-0.0375,0.0193,1.0916,-0.038,0.0199,1.0915,-0.0376,-0.0149,1.0925,-0.0422,-0.0148,1.0924,-0.0421,-0.0149,1.0924,-0.0421,0.023,1.09,-0.0222,0.0228,1.0899,-0.0222,0.023,1.09,-0.0222,0.0201,1.0985,-0.0398,0.0201,1.0985,-0.04,0.0169,1.0986,-0.0421,-0.0263,1.0988,-0.0284,-0.0262,1.0989,-0.0284,-0.0259,1.0983,-0.0319,0.0202,1.0985,-0.0399,0.024,1.0995,-0.024,0.0239,1.0996,-0.0238,0.024,1.0995,-0.0237,-0.0238,1.0982,-0.0368,-0.0237,1.0982,-0.0368,-0.0238,1.0982,-0.0369,-0.0257,1.0954,-0.0307,-0.0236,1.0934,-0.035,-0.0249,1.0928,-0.0294,-0.0212,1.1002,-0.0188,-0.0214,1.0967,-0.0184,-0.0186,1.097,-0.0149,0.0257,1.0954,-0.0307,0.0249,1.0928,-0.0294,0.0236,1.0934,-0.035,-0.0239,1.0957,-0.036,-0.026,1.0981,-0.0319,0.0,1.092,-0.0403,-0.0047,1.0921,-0.0408,0.0,1.0912,-0.0421,-0.0153,1.0929,-0.0411,-0.0097,1.0911,-0.0432,-0.0101,1.0897,-0.0305,-0.0138,1.0895,-0.0298,-0.0111,1.0895,-0.0327,-0.0185,1.0901,-0.0223,-0.0121,1.0896,-0.0223,-0.0174,1.0901,-0.0197,-0.0134,1.091,-0.037,-0.0099,1.0913,-0.0378,0.0,1.0909,-0.0376,0.0,1.0903,-0.0343,-0.0051,1.0905,-0.0342,-0.0095,1.0923,-0.0411,0.0134,1.091,-0.037,0.0157,1.0905,-0.0347,0.0111,1.0895,-0.0327,0.0153,1.0929,-0.0411,0.0148,1.0924,-0.0421,0.0121,1.0896,-0.0223,0.0102,1.0897,-0.02,0.0102,1.0899,-0.0224,0.0047,1.0921,-0.0408,0.0237,1.0982,-0.0368,0.0229,1.0977,-0.0362,0.0258,1.0982,-0.0323,-0.0235,1.0987,-0.0326,-0.0173,1.0999,-0.0328,-0.0229,1.0977,-0.0362,-0.0188,1.0981,-0.0391,-0.0201,1.0985,-0.0398,-0.0123,1.0989,-0.0422,-0.0122,1.0989,-0.0433,-0.0169,1.0987,-0.042,-0.0087,1.0983,-0.0437,-0.0098,1.0988,-0.0426,-0.0038,1.0988,-0.0413,-0.0127,1.1016,-0.0245,-0.0148,1.1017,-0.0289,-0.0141,1.1011,-0.0247,-0.0088,1.1019,-0.0286,-0.0091,1.1019,-0.0328,-0.0148,1.0999,-0.0388,-0.014,1.101,-0.0331,-0.0091,1.1003,-0.0384,0.0,1.1023,-0.0283,0.0,1.1014,-0.0327,-0.0045,1.1017,-0.033,0.0262,1.0989,-0.0284,0.0259,1.0983,-0.0319,0.0235,1.0987,-0.0326,0.0098,1.0988,-0.0426,0.0148,1.0999,-0.0388,0.0123,1.0989,-0.0422,0.0173,1.0999,-0.0328,0.0188,1.0981,-0.0391,0.0169,1.0987,-0.042,0.0087,1.0983,-0.0437,0.0122,1.0989,-0.0433,0.0,1.0987,-0.0422,0.0038,1.0988,-0.0413,0.0033,1.0991,-0.0427,0.0149,1.1011,-0.0133,0.0181,1.1007,-0.0159,0.0143,1.1007,-0.0197,0.0127,1.1016,-0.0245,0.0096,1.1018,-0.0214,0.0091,1.1003,-0.0384,0.0045,1.1017,-0.033,0.0049,1.1019,-0.0288,0.0148,1.1017,-0.0289,0.014,1.101,-0.0331,0.0091,1.1019,-0.0328,0.0097,1.1019,-0.0248,0.0141,1.1011,-0.0247,0.0173,1.1003,-0.0219,0.0184,1.1,-0.0241,0.016,1.0992,-0.0414,-0.004,1.1001,-0.038,-0.0143,1.1007,-0.0197,-0.0096,1.1018,-0.0214,-0.0102,1.101,-0.017,-0.0173,1.1003,-0.0219,-0.0033,1.0991,-0.0427,0.0,1.0989,-0.0409,-0.016,1.0992,-0.0414,-0.024,1.0988,-0.0284,0.0052,1.0916,-0.0376,0.0095,1.0923,-0.0411,0.0099,1.0913,-0.0378,0.0051,1.0905,-0.0342,0.01,1.09,-0.0333,0.0147,1.0904,-0.0177,0.0123,1.0904,-0.0163,0.01,1.0904,-0.0153,0.0138,1.0895,-0.0298,0.0101,1.0897,-0.0305,0.0049,1.091,-0.0426,-0.0052,1.0916,-0.0376,0.0238,1.0982,-0.0368,0.026,1.0981,-0.0319,0.0239,1.0957,-0.036,-0.0202,1.0985,-0.0399,-0.0201,1.0985,-0.04,-0.0239,1.0996,-0.0238,-0.024,1.0995,-0.024,-0.024,1.0995,-0.0237,0.0238,1.0982,-0.0369,0.0236,1.0904,-0.028,0.0235,1.0903,-0.028,0.0236,1.0904,-0.028,0.0149,1.0924,-0.0421,-0.0098,1.0912,-0.0433,-0.0097,1.0912,-0.0433,-0.023,1.09,-0.0222,-0.0228,1.0899,-0.0222,-0.023,1.09,-0.0222,0.0263,1.0988,-0.0284,0.0263,1.0989,-0.0283,-0.0258,1.0982,-0.0323,-0.0157,1.0905,-0.0347,-0.0193,1.0916,-0.038,-0.0102,1.0899,-0.0224,-0.0102,1.0897,-0.02,0.0174,1.0901,-0.0197,0.0185,1.0901,-0.0223,-0.0181,1.1007,-0.0159,-0.0149,1.1011,-0.0133,0.024,1.0988,-0.0284,0.0198,1.1,-0.0287,0.0088,1.1019,-0.0286,0.004,1.1001,-0.038,0.0102,1.101,-0.017,-0.0049,1.1019,-0.0288,-0.0097,1.1019,-0.0248,-0.0184,1.1,-0.0241,-0.0198,1.1,-0.0287,-0.0198,1.0914,-0.0375,-0.01,1.09,-0.0333,-0.0049,1.091,-0.0426,-0.0181,1.1005,-0.0158,-0.0263,1.0989,-0.0283,-0.0236,1.0904,-0.028,-0.0235,1.0903,-0.028,-0.0236,1.0904,-0.028,0.0097,1.0912,-0.0433,0.02,1.0915,-0.0375,0.0049,1.0911,-0.0427,0.0,1.0913,-0.0422,-0.0199,1.0915,-0.0376,-0.0206,1.0896,-0.0185,-0.0205,1.0896,-0.0186,-0.0112,1.0899,-0.0112,-0.0057,1.09,-0.0096,-0.0112,1.09,-0.0111,-0.0057,1.0899,-0.0097,0.0112,1.09,-0.0111,0.0144,1.0899,-0.013,0.0145,1.0899,-0.0129,0.0112,1.0899,-0.0112,0.0211,1.1003,-0.0189,0.0181,1.1005,-0.0158,0.0212,1.1002,-0.0188,0.0043,1.1016,-0.0093,0.0,1.1015,-0.0089,0.0043,1.1015,-0.0092,0.0,1.1016,-0.009,-0.0149,1.101,-0.0132,-0.0033,1.099,-0.0428,-0.0087,1.0982,-0.0439,0.0057,1.09,-0.0096,0.0112,1.0937,-0.0101,0.0054,1.0938,-0.0086,0.0215,1.0931,-0.0181,0.0206,1.0896,-0.0185,0.0239,1.0931,-0.0224,0.0229,1.0913,-0.0337,0.0242,1.0963,-0.0229,0.0257,1.0959,-0.0262,0.0109,1.0975,-0.01,0.0149,1.101,-0.0132,0.0102,1.1012,-0.0106,0.0153,1.0974,-0.0123,0.009,1.0958,-0.0442,0.0043,1.0936,-0.0432,0.0038,1.0963,-0.0433,0.0094,1.0934,-0.044,-0.009,1.0958,-0.0442,-0.0107,1.0936,-0.0438,-0.0115,1.0962,-0.0439,-0.0094,1.0934,-0.044,0.0115,1.0962,-0.0439,0.0158,1.0944,-0.0426,0.0107,1.0936,-0.0438,0.0164,1.0965,-0.0426,0.0229,1.0959,-0.0374,0.0216,1.0936,-0.0377,0.0169,1.0943,-0.0418,0.0,1.0936,-0.0427,-0.0158,1.0944,-0.0426,-0.0169,1.0943,-0.0418,-0.0203,1.0937,-0.0387,-0.0109,1.0975,-0.01,-0.0054,1.0938,-0.0086,-0.0049,1.0977,-0.0084,-0.0112,1.0937,-0.0101,-0.0242,1.0963,-0.0229,-0.0212,1.0931,-0.0183,-0.0239,1.0931,-0.0224,-0.0251,1.093,-0.0281,-0.0257,1.0959,-0.0262,-0.026,1.0959,-0.0282,0.0251,1.093,-0.0281,0.0246,1.0928,-0.0241,0.026,1.0959,-0.0282,-0.0229,1.0959,-0.0374,-0.0204,1.0961,-0.0395,0.0049,1.0977,-0.0084,0.0,1.0937,-0.0084,0.0,1.0977,-0.0082,0.0185,1.0934,-0.0148,0.0217,1.0967,-0.0181,0.0186,1.097,-0.015,0.0187,1.0964,-0.0411,0.0,1.0962,-0.0428,-0.0038,1.0963,-0.0433,0.0,1.0986,-0.0424,0.0,1.09,-0.0307,-0.0049,1.0893,-0.0272,-0.005,1.0899,-0.0307,0.0,1.0894,-0.0271,-0.0051,1.0895,-0.0183,-0.01,1.0904,-0.0153,-0.005,1.0902,-0.0132,-0.0147,1.0904,-0.0177,-0.0144,1.0899,-0.013,-0.0177,1.0898,-0.0153,-0.0123,1.0904,-0.0163,-0.0227,1.0912,-0.0337,-0.0182,1.0899,-0.0275,-0.0181,1.09,-0.0314,0.0102,1.0894,-0.0272,0.0137,1.0893,-0.0271,0.0052,1.0896,-0.0222,0.0051,1.0895,-0.0183,0.0,1.09,-0.013,0.0,1.0893,-0.0172,0.005,1.0902,-0.0132,0.0181,1.09,-0.0314,-0.0211,1.1003,-0.0189,-0.0049,1.101,-0.0137,-0.0046,1.1021,-0.0199,0.0,1.1021,-0.0241,-0.0047,1.1019,-0.0242,0.0,1.1019,-0.0192,0.0102,1.1013,-0.0108,0.0049,1.101,-0.0137,0.0047,1.1019,-0.0242,0.0,1.0997,-0.0382,0.0,1.101,-0.0135,0.0182,1.0899,-0.0275,0.0227,1.0912,-0.0337,0.0177,1.0898,-0.0153,0.0205,1.0896,-0.0186,0.005,1.0899,-0.0307,0.0049,1.0893,-0.0272,0.0,1.0898,-0.0097,0.0,1.0893,-0.022,-0.0052,1.0896,-0.0222,-0.0137,1.0893,-0.0271,-0.0102,1.0894,-0.0272,-0.0145,1.0899,-0.0129,-0.0151,1.0936,-0.0122,-0.0246,1.0928,-0.0241,-0.0164,1.0965,-0.0426,-0.0122,1.0988,-0.0434,-0.0169,1.0986,-0.0421,0.0122,1.0988,-0.0434,0.0151,1.0936,-0.0122,0.0204,1.0961,-0.0395,-0.0102,1.1012,-0.0106,-0.0043,1.1015,-0.0092,-0.0153,1.0974,-0.0123,-0.02,1.0915,-0.0375,-0.0216,1.0936,-0.0377,0.0203,1.0937,-0.0387,-0.0102,1.1013,-0.0108,0.0057,1.0899,-0.0097,-0.0049,1.0911,-0.0427,-0.0229,1.0913,-0.0337,-0.0178,1.0899,-0.0152,0.0,1.0899,-0.0095,0.0178,1.0899,-0.0152,-0.0043,1.1016,-0.0093,0.0033,1.099,-0.0428,0.0087,1.0982,-0.0439,-0.0043,1.0936,-0.0432,-0.0187,1.0964,-0.0411,-0.0185,1.0934,-0.0147,0.0046,1.1021,-0.0199});
			return l3disc_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 l3disc 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 l3disc().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.l3disc\" 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.l3disc self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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