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

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] gett6disc_geometry_5_22_coordIndex_2()
		{
			int[] value = {290,73,116,-1,290,74,73,-1,89,291,292,-1,89,220,291,-1,119,92,91,-1,92,119,118,-1,293,203,294,-1,203,293,164,-1,97,295,98,-1,296,295,97,-1,297,298,127,-1,265,298,297,-1,299,300,301,-1,299,302,300,-1,302,303,222,-1,303,302,304,-1,219,305,126,-1,305,219,306,-1,90,159,156,-1,159,90,204,-1,307,308,309,-1,308,307,310,-1,311,74,290,-1,74,311,310,-1,155,312,154,-1,312,155,204,-1,299,221,202,-1,221,299,301,-1,146,164,293,-1,145,164,146,-1,151,152,94,-1,313,152,151,-1,314,315,316,-1,314,142,315,-1,317,205,318,-1,205,317,148,-1,319,147,149,-1,319,316,147,-1,206,320,207,-1,320,206,321,-1,258,314,322,-1,260,314,258,-1,100,102,101,-1,103,102,100,-1,323,208,131,-1,324,208,323,-1,109,112,133,-1,109,111,112,-1,217,292,291,-1,215,292,217,-1,217,325,326,-1,217,218,325,-1,107,120,324,-1,120,107,133,-1,138,325,214,-1,138,327,325,-1,328,216,326,-1,329,216,328,-1,112,138,137,-1,112,330,138,-1,330,112,113,-1,329,331,213,-1,331,329,332,-1,331,333,334,-1,331,335,333,-1,336,337,330,-1,336,338,337,-1,131,289,323,-1,289,131,339,-1,78,340,309,-1,78,77,340,-1,86,341,342,-1,86,157,341,-1,158,128,343,-1,158,129,128,-1,157,296,341,-1,157,156,296,-1,203,308,344,-1,203,163,308,-1,81,221,301,-1,211,221,81,-1,122,323,289,-1,124,323,122,-1,338,345,337,-1,338,246,345,-1,334,346,117,-1,334,333,346,-1,328,332,329,-1,332,328,345,-1,326,327,328,-1,326,325,327,-1,105,324,120,-1,208,324,105,-1,214,218,347,-1,325,218,214,-1,348,215,212,-1,348,292,215,-1,106,349,115,-1,106,347,349,-1,210,136,121,-1,210,137,136,-1,124,324,323,-1,107,324,124,-1,141,347,218,-1,141,349,347,-1,316,144,147,-1,315,144,316,-1,143,314,260,-1,143,142,314,-1,95,319,149,-1,153,319,95,-1,316,322,314,-1,322,316,319,-1,350,321,206,-1,321,350,262,-1,162,77,76,-1,77,162,340,-1,92,306,219,-1,92,351,306,-1,352,88,87,-1,352,220,88,-1,310,72,74,-1,72,310,307,-1,344,310,311,-1,344,308,310,-1,126,93,219,-1,126,129,93,-1,353,303,304,-1,354,303,353,-1,82,301,300,-1,81,301,82,-1,127,355,128,-1,127,298,355,-1,296,317,341,-1,296,97,317,-1,75,211,125,-1,211,75,101,-1,118,351,92,-1,118,356,351,-1,292,312,89,-1,312,292,348,-1,290,140,357,-1,290,116,140,-1,289,83,160,-1,83,289,339,-1,354,10,130,-1,354,288,10,-1,70,169,71,-1,169,70,358,-1,233,175,286,-1,176,175,233,-1,272,359,52,-1,272,285,359,-1,196,65,39,-1,196,66,65,-1,63,270,237,-1,63,50,270,-1,284,179,194,-1,284,187,179,-1,263,297,189,-1,263,265,297,-1,282,241,360,-1,241,282,281,-1,288,281,166,-1,288,283,281,-1,305,280,188,-1,305,306,280,-1,239,274,238,-1,239,195,274,-1,69,278,198,-1,69,276,278,-1,287,54,53,-1,287,56,54,-1,280,273,170,-1,361,273,280,-1,196,241,66,-1,196,360,241,-1,50,227,270,-1,50,45,227,-1,43,266,180,-1,43,269,266,-1,362,257,363,-1,181,257,362,-1,47,261,271,-1,47,226,261,-1,48,364,49,-1,364,48,363,-1,320,42,44,-1,320,321,42,-1,46,363,48,-1,46,362,363,-1,365,286,231,-1,26,286,365,-1,26,233,286,-1,35,182,184,-1,182,35,21,-1,365,19,26,-1,365,366,19,-1,193,17,16,-1,28,17,193,-1,185,35,184,-1,35,185,25,-1,236,359,15,-1,359,236,253,-1,234,346,22,-1,356,346,234,-1,236,252,229,-1,236,235,252,-1,14,235,15,-1,14,367,235,-1,250,368,192,-1,250,249,368,-1,247,14,13,-1,247,369,14,-1,335,245,369,-1,243,245,335,-1,368,242,29,-1,242,368,336,-1,8,224,60,-1,7,224,8,-1,239,6,5,-1,239,237,6,-1,44,370,320,-1,44,371,370,-1,1,172,284,-1,3,172,1,-1,372,63,238,-1,62,63,372,-1,196,9,360,-1,196,197,9,-1,255,11,373,-1,255,12,11,-1,183,70,185,-1,183,358,70,-1,244,338,249,-1,338,244,246,-1,346,247,22,-1,333,247,346,-1,245,248,367,-1,245,244,248,-1,250,252,248,-1,252,250,251,-1,256,21,18,-1,256,182,21,-1,230,232,366,-1,230,251,232,-1,24,13,285,-1,24,23,13,-1,231,254,229,-1,254,231,286,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=3 */
		private int[] gett6disc_geometry_5_22_coordIndex_3()
		{
			int[] value = {191,16,20,-1,16,191,193,-1,256,12,255,-1,256,34,12,-1,366,231,230,-1,365,231,366,-1,38,362,228,-1,362,38,181,-1,259,370,371,-1,259,258,370,-1,44,225,371,-1,44,43,225,-1,48,227,46,-1,227,48,47,-1,267,264,263,-1,267,269,264,-1,371,364,259,-1,371,225,364,-1,42,269,43,-1,42,264,269,-1,297,188,189,-1,297,305,188,-1,62,277,67,-1,62,372,277,-1,171,52,173,-1,272,52,171,-1,199,274,275,-1,199,374,274,-1,372,278,277,-1,372,374,278,-1,4,174,5,-1,4,56,174,-1,282,57,167,-1,57,282,58,-1,283,375,240,-1,375,283,353,-1,279,61,60,-1,279,276,61,-1,268,2,1,-1,2,268,267,-1,271,190,6,-1,190,271,261,-1,224,51,168,-1,224,41,51,-1,361,24,273,-1,361,234,24,-1,254,53,253,-1,287,53,254,-1,185,275,25,-1,199,275,185,-1,167,373,11,-1,167,57,373,-1,222,123,122,-1,222,303,123,-1,201,72,200,-1,72,201,73,-1,220,139,291,-1,220,352,139,-1,135,91,154,-1,91,135,119,-1,318,294,342,-1,294,318,293,-1,343,98,295,-1,343,150,98,-1,299,304,302,-1,299,376,304,-1,302,223,300,-1,222,223,302,-1,85,200,377,-1,84,200,85,-1,378,86,379,-1,86,378,87,-1,309,377,307,-1,309,340,377,-1,357,311,290,-1,357,378,311,-1,89,204,90,-1,89,312,204,-1,205,293,318,-1,205,146,293,-1,355,151,150,-1,355,313,151,-1,96,149,148,-1,95,149,96,-1,298,262,350,-1,298,265,262,-1,148,97,96,-1,148,317,97,-1,370,322,380,-1,322,370,258,-1,315,103,100,-1,315,142,103,-1,115,141,140,-1,115,349,141,-1,208,104,132,-1,208,105,104,-1,133,137,210,-1,133,112,137,-1,291,141,217,-1,291,139,141,-1,346,118,117,-1,346,356,118,-1,326,215,217,-1,216,215,326,-1,216,213,212,-1,213,216,329,-1,330,327,138,-1,337,327,330,-1,213,334,209,-1,334,213,331,-1,332,335,331,-1,332,243,335,-1,242,330,113,-1,242,336,330,-1,201,131,73,-1,201,339,131,-1,76,80,162,-1,76,125,80,-1,342,379,86,-1,379,342,294,-1,159,343,295,-1,159,158,343,-1,68,376,165,-1,375,376,68,-1,156,295,296,-1,156,159,295,-1,344,294,203,-1,344,379,294,-1,202,376,299,-1,202,165,376,-1,242,110,186,-1,113,110,242,-1,110,113,111,-1,345,243,332,-1,345,246,243,-1,334,134,209,-1,117,134,334,-1,337,328,327,-1,345,328,337,-1,135,212,209,-1,135,348,212,-1,347,121,214,-1,106,121,347,-1,100,144,315,-1,100,99,144,-1,370,207,320,-1,370,380,207,-1,153,207,380,-1,152,207,153,-1,146,147,144,-1,146,205,147,-1,350,355,298,-1,313,355,350,-1,319,380,322,-1,380,319,153,-1,313,206,152,-1,206,313,350,-1,126,297,127,-1,297,126,305,-1,309,163,78,-1,163,309,308,-1,352,378,357,-1,352,87,378,-1,307,200,72,-1,200,307,377,-1,311,379,344,-1,379,311,378,-1,155,129,158,-1,129,155,93,-1,160,300,223,-1,160,82,300,-1,375,304,376,-1,375,353,304,-1,85,340,162,-1,340,85,377,-1,128,150,343,-1,128,355,150,-1,341,318,342,-1,341,317,318,-1,102,221,101,-1,202,221,102,-1,348,154,312,-1,154,348,135,-1,352,140,139,-1,352,357,140,-1,83,201,84,-1,83,339,201,-1,123,354,130,-1,303,354,123,-1,169,373,57,-1,169,358,373,-1,233,275,176,-1,275,233,25,-1,52,253,53,-1,52,359,253,-1,351,234,361,-1,356,234,351,-1,197,41,7,-1,197,39,41,-1,261,187,190,-1,187,261,179,-1,267,189,2,-1,189,267,263,-1,360,58,282,-1,360,9,58,-1,288,353,283,-1,288,354,353,-1,69,61,276,-1,69,71,61,-1,3,173,172,-1,3,171,173,-1,374,238,274,-1,372,238,374,-1,198,374,199,-1,198,278,374,-1,56,175,174,-1,287,175,56,-1,306,361,280,-1,351,361,306,-1,168,60,224,-1,168,279,60,-1,321,264,42,-1,321,262,264,-1,259,363,257,-1,259,364,363,-1,180,268,194,-1,180,266,268,-1,364,178,49,-1,364,225,178,-1,257,143,260,-1,181,143,257,-1,46,228,362,-1,40,228,46,-1,20,366,232,-1,20,19,366,-1,15,285,13,-1,285,15,359,-1,18,34,256,-1,17,34,18,-1,235,248,252,-1,235,367,248,-1,192,28,193,-1,368,28,192,-1,368,29,28,-1,369,367,14,-1,369,245,367,-1,333,369,247,-1,335,369,333,-1,249,336,368,-1,336,249,338,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=4 */
		private int[] gett6disc_geometry_5_22_coordIndex_4()
		{
			int[] value = {373,183,255,-1,373,358,183,-1,279,67,277,-1,168,67,279,-1,284,55,187,-1,172,55,284,-1,240,68,64,-1,240,375,68,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='t6disc_geometry' coordIndex field, scene-graph level=5, element #22, 3032 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 gett6disc_geometry_5_22_coordIndex()
		{
			MFInt32 t6disc_geometry_5_22_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(gett6disc_geometry_5_22_coordIndex_1()))
				.append(new MFInt32(gett6disc_geometry_5_22_coordIndex_2()))
				.append(new MFInt32(gett6disc_geometry_5_22_coordIndex_3()))
				.append(new MFInt32(gett6disc_geometry_5_22_coordIndex_4()));
			return t6disc_geometry_5_22_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='t6disc_coordinate' point field, scene-graph level=6, element #22, 1143 total numbers made up of 381 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 gett6disc_coordinate_6_22_point()
		{
			MFVec3f t6disc_coordinate_6_22_point = new MFVec3f(new double[] {0.0062,1.3816,-0.064,0.0094,1.3838,-0.066,0.0062,1.3832,-0.0637,0.0093,1.3822,-0.0664,0.0149,1.3831,-0.0769,0.0155,1.3834,-0.0799,0.0157,1.3852,-0.0795,0.0103,1.3862,-0.0896,0.0108,1.3851,-0.0904,0.0081,1.3848,-0.0909,0.0033,1.3816,-0.0909,0.0058,1.3817,-0.0916,0.0055,1.3812,-0.0903,0.0055,1.3792,-0.0693,0.0053,1.3791,-0.0722,0.008,1.3795,-0.0719,0.006,1.3795,-0.0865,0.0055,1.3795,-0.0871,0.0087,1.3798,-0.086,0.0109,1.3796,-0.0837,0.0086,1.3793,-0.084,0.0111,1.3799,-0.0857,0.0025,1.379,-0.068,0.004,1.379,-0.0684,0.0054,1.3789,-0.0657,0.013,1.3798,-0.0851,0.0113,1.3797,-0.0833,0.0112,1.3797,-0.0836,0.005,1.3796,-0.0866,0.0027,1.3796,-0.0867,0.0029,1.38,-0.0886,0.0033,1.3801,-0.0891,0.0026,1.3801,-0.0889,0.0029,1.3803,-0.0893,0.0056,1.381,-0.0899,0.0116,1.38,-0.0856,0.0,1.3859,-0.0883,0.0,1.3866,-0.0863,0.0039,1.3861,-0.087,0.0075,1.3856,-0.0898,0.0101,1.386,-0.0859,0.0102,1.3863,-0.0893,0.0039,1.3838,-0.067,0.0068,1.3841,-0.0688,0.004,1.3843,-0.0689,0.0122,1.3858,-0.0848,0.01,1.3867,-0.083,0.0126,1.385,-0.0798,0.0104,1.3861,-0.0797,0.0104,1.3854,-0.0763,0.0146,1.3861,-0.0848,0.013,1.3866,-0.088,0.0103,1.38,-0.0714,0.012,1.38,-0.0748,0.0131,1.381,-0.0741,0.0134,1.3825,-0.0739,0.0141,1.3816,-0.0774,0.0095,1.3828,-0.0916,0.0088,1.3838,-0.0914,0.0112,1.3838,-0.0909,0.0113,1.3852,-0.0904,0.012,1.3838,-0.0907,0.0148,1.386,-0.085,0.0148,1.3859,-0.0848,0.0039,1.3859,-0.0891,0.004,1.386,-0.0888,0.004,1.3859,-0.0891,0.0132,1.3865,-0.0881,0.0,1.3857,-0.0885,0.0127,1.3823,-0.0905,0.0124,1.3821,-0.0904,0.0125,1.3823,-0.0905,-0.0128,1.3812,-0.0888,-0.0126,1.3811,-0.0888,-0.0128,1.3812,-0.0887,-0.0102,1.3863,-0.0893,-0.0104,1.3862,-0.0896,-0.0132,1.3866,-0.0883,-0.0132,1.3865,-0.0881,-0.013,1.3866,-0.088,-0.0108,1.3851,-0.0904,-0.0081,1.3848,-0.0909,-0.0088,1.3838,-0.0914,-0.0115,1.3825,-0.0911,-0.0125,1.3823,-0.0905,-0.012,1.3838,-0.0907,-0.0155,1.3834,-0.0799,-0.0147,1.3817,-0.0803,-0.0141,1.3816,-0.0774,-0.012,1.38,-0.0748,-0.0127,1.381,-0.0745,-0.0056,1.379,-0.0669,-0.0025,1.3783,-0.0648,-0.0062,1.3801,-0.066,-0.0093,1.3838,-0.0697,-0.0094,1.3849,-0.0728,-0.0112,1.3844,-0.0733,-0.0135,1.3843,-0.0736,-0.0115,1.3841,-0.0695,-0.0101,1.386,-0.0859,-0.007,1.3859,-0.0867,-0.0075,1.3856,-0.0898,-0.004,1.386,-0.0888,-0.0039,1.3861,-0.087,-0.0116,1.38,-0.0856,-0.0111,1.3799,-0.0857,-0.0109,1.3796,-0.0837,-0.0056,1.381,-0.0899,-0.0029,1.3803,-0.0893,-0.0033,1.3801,-0.0891,-0.0026,1.3801,-0.0889,-0.0029,1.38,-0.0886,-0.005,1.3796,-0.0866,-0.0027,1.3796,-0.0867,-0.0112,1.3797,-0.0836,-0.0113,1.3797,-0.0833,-0.013,1.3798,-0.0851,-0.0025,1.379,-0.0687,-0.0024,1.3782,-0.065,-0.0054,1.3789,-0.0671,-0.0087,1.3798,-0.086,-0.0086,1.3793,-0.084,-0.0058,1.3817,-0.0916,-0.0033,1.3816,-0.0909,-0.0055,1.3812,-0.0903,-0.0103,1.3862,-0.0896,-0.0032,1.3811,-0.0637,-0.0032,1.3828,-0.0637,-0.0062,1.3832,-0.0654,-0.0062,1.3816,-0.0657,0.0,1.381,-0.0905,-0.0111,1.3815,-0.0895,-0.0113,1.3814,-0.0891,-0.0055,1.3795,-0.0871,-0.004,1.379,-0.0692,-0.0082,1.3796,-0.069,-0.0077,1.3793,-0.0837,-0.0054,1.3795,-0.0862,-0.0052,1.3793,-0.0839,-0.0132,1.3803,-0.0808,-0.0134,1.3799,-0.083,-0.0109,1.38,-0.0808,-0.0037,1.3869,-0.084,0.0,1.3869,-0.0837,-0.01,1.3867,-0.083,-0.0122,1.3858,-0.0848,-0.0125,1.3854,-0.0827,-0.0104,1.3861,-0.0797,-0.0123,1.3848,-0.0767,-0.0104,1.3854,-0.0763,-0.0093,1.3839,-0.0669,-0.0082,1.3835,-0.0684,-0.0068,1.3841,-0.0695,-0.0068,1.385,-0.0726,-0.0084,1.3797,-0.0688,-0.0092,1.3807,-0.0678,-0.0134,1.3825,-0.0739,-0.0146,1.3831,-0.0774,-0.0093,1.3822,-0.0673,-0.0115,1.3824,-0.0699,-0.0095,1.3828,-0.0916,-0.0112,1.3838,-0.0909,-0.0113,1.3852,-0.0904,-0.0148,1.386,-0.085,-0.0146,1.3861,-0.0848,-0.0039,1.3859,-0.0891,0.0056,1.382,-0.0917,0.0058,1.382,-0.0917,0.0132,1.3866,-0.0883,0.0115,1.3825,-0.0911,0.0062,1.3801,-0.0644,0.0089,1.3807,-0.0674,0.0115,1.3824,-0.0699,0.0109,1.381,-0.0708,0.0147,1.3817,-0.0803,0.0134,1.3804,-0.0808,0.0137,1.38,-0.083,0.0115,1.3844,-0.0729,0.0094,1.3849,-0.0728,0.0135,1.3843,-0.0736,0.0096,1.3838,-0.069,0.0037,1.3869,-0.084,0.0108,1.3812,-0.0892,0.0111,1.3815,-0.0895,0.0113,1.3814,-0.0891,0.0126,1.3811,-0.0888,0.0,1.3803,-0.0879,0.0136,1.3842,-0.0736,0.0032,1.3811,-0.0625,0.0032,1.3828,-0.0625,0.0149,1.3848,-0.077,0.0077,1.3793,-0.0837,0.0052,1.3793,-0.0839,0.0054,1.3795,-0.0862,0.0115,1.3841,-0.0694,0.0148,1.3816,-0.0828,0.0074,1.3855,-0.09,0.0076,1.3855,-0.09,0.0128,1.3812,-0.0888,0.0128,1.3812,-0.0887,-0.0127,1.3823,-0.0905,-0.0124,1.3821,-0.0904,-0.004,1.3859,-0.0891,-0.0148,1.3859,-0.0848,-0.0109,1.381,-0.0708,-0.0126,1.385,-0.0798,-0.0039,1.3838,-0.068,-0.004,1.3843,-0.0696,-0.0108,1.3812,-0.0892,-0.0055,1.3792,-0.0701,-0.006,1.3795,-0.0865,-0.0076,1.3855,-0.09,-0.008,1.3795,-0.072,-0.0053,1.3791,-0.0723,-0.0084,1.3794,-0.0833,-0.0097,1.3797,-0.0751,-0.0079,1.3795,-0.0753,-0.0102,1.3801,-0.078,-0.0105,1.3799,-0.0808,-0.003,1.3796,-0.0641,-0.0128,1.3806,-0.0779,-0.0074,1.3855,-0.09,-0.0056,1.382,-0.0917,-0.0058,1.382,-0.0917,0.0104,1.3862,-0.0896,0.0068,1.385,-0.0725,0.0123,1.3848,-0.0767,0.0125,1.3854,-0.0827,0.007,1.3859,-0.0867,0.0102,1.3801,-0.078,0.0105,1.3799,-0.0808,0.0109,1.38,-0.0808,0.0084,1.3794,-0.0833,0.0134,1.3799,-0.083,0.0024,1.3782,-0.0642,0.0079,1.3795,-0.0753,0.0097,1.3797,-0.0751,0.0155,1.3855,-0.0824,0.0148,1.3839,-0.0851,0.0155,1.3835,-0.0826,0.0036,1.3847,-0.09,0.0044,1.3847,-0.0903,0.0,1.3798,-0.0862,0.0,1.3789,-0.0757,0.0024,1.3791,-0.0783,0.0024,1.3789,-0.0757,0.0,1.3789,-0.0784,0.0025,1.3789,-0.0701,0.0051,1.3793,-0.0782,0.0024,1.3792,-0.0811,0.0052,1.3793,-0.0811,0.0083,1.3795,-0.081,0.008,1.3796,-0.0782,0.0117,1.3799,-0.075,0.0125,1.3805,-0.078,0.0091,1.3817,-0.09,0.009,1.3815,-0.0896,0.0037,1.3862,-0.0801,0.0,1.3857,-0.0762,0.0038,1.3857,-0.0763,0.0,1.386,-0.0801,0.0147,1.3849,-0.0771,0.0,1.3826,-0.0648,0.0031,1.3829,-0.0627,0.0038,1.3831,-0.0643,0.0,1.3824,-0.0629,0.0082,1.3835,-0.0675,0.0061,1.3834,-0.0639,0.0093,1.3839,-0.066,0.0066,1.3833,-0.0655,0.0154,1.3856,-0.0823,0.0155,1.3853,-0.0795,0.0084,1.3797,-0.0681,0.0056,1.379,-0.0655,0.0143,1.3818,-0.0852,0.0132,1.3799,-0.0852,0.0133,1.3838,-0.0901,0.0136,1.3848,-0.0885,0.0135,1.3829,-0.0888,0.0135,1.3853,-0.0893,0.003,1.3796,-0.063,0.005,1.3832,-0.0912,0.0063,1.3833,-0.0914,0.0034,1.3833,-0.0907,0.0116,1.384,-0.0694,0.0082,1.3796,-0.0683,0.0132,1.3803,-0.0808,0.0128,1.3806,-0.0779,0.0032,1.3818,-0.091,-0.0095,1.3825,-0.0915,-0.0132,1.3799,-0.0852,-0.0125,1.3805,-0.078,-0.0117,1.3799,-0.075,-0.0154,1.3856,-0.0823,-0.0155,1.3855,-0.0824,-0.0116,1.384,-0.0694,-0.0136,1.3842,-0.0736,0.0,1.3823,-0.0627,-0.0031,1.3829,-0.0639,-0.0044,1.3847,-0.0903,-0.0063,1.3833,-0.0914,-0.0069,1.3847,-0.0908,-0.005,1.3832,-0.0912,-0.0032,1.3818,-0.091,-0.0034,1.3833,-0.0907,0.0,1.3808,-0.0626,0.0,1.3792,-0.0631,-0.0135,1.3829,-0.0888,-0.0147,1.3844,-0.0864,-0.0136,1.3848,-0.0885,-0.014,1.3827,-0.0877,-0.0143,1.3818,-0.0852,-0.0103,1.38,-0.0715,-0.0064,1.3833,-0.0673,-0.0037,1.3862,-0.0801,-0.0068,1.3869,-0.0836,-0.007,1.3863,-0.0798,-0.0147,1.3849,-0.0771,-0.0155,1.3853,-0.0795,-0.007,1.3857,-0.0762,0.0,1.3843,-0.0693,0.0,1.3834,-0.0669,-0.0038,1.3857,-0.0763,-0.0091,1.3817,-0.09,-0.009,1.3815,-0.0896,-0.0083,1.3795,-0.081,-0.008,1.3796,-0.0782,-0.0052,1.3793,-0.0811,-0.0051,1.3793,-0.0782,-0.0052,1.3791,-0.0755,-0.0025,1.3794,-0.0839,-0.0024,1.3788,-0.0726,-0.0024,1.3789,-0.0757,0.0,1.3787,-0.0706,-0.0025,1.3789,-0.0706,0.0,1.3788,-0.0727,0.0,1.3795,-0.0839,-0.0024,1.3792,-0.0811,0.0,1.3792,-0.0812,-0.0114,1.3823,-0.091,-0.0135,1.3853,-0.0893,-0.0149,1.3848,-0.077,-0.0157,1.3852,-0.0795,-0.0094,1.3838,-0.0668,-0.0148,1.3839,-0.0851,-0.0024,1.3791,-0.0783,0.0,1.3786,-0.0682,-0.0109,1.3797,-0.0831,-0.01,1.3799,-0.0716,-0.0112,1.3797,-0.0831,-0.0038,1.3831,-0.0656,0.0,1.378,-0.0638,-0.0134,1.3804,-0.0808,0.0,1.3828,-0.0902,0.0,1.3812,-0.0907,-0.0061,1.3834,-0.0655,0.0,1.3778,-0.0641,-0.0137,1.38,-0.083,0.0114,1.3823,-0.091,0.01,1.3799,-0.0716,0.0069,1.3847,-0.0908,0.0025,1.3783,-0.0639,0.0068,1.3869,-0.0836,0.007,1.3863,-0.0798,0.007,1.3857,-0.0762,0.0112,1.3797,-0.0831,0.0109,1.3797,-0.0831,0.0052,1.3791,-0.0755,0.0025,1.3794,-0.0839,0.0024,1.3788,-0.0725,0.0,1.3851,-0.0725,0.004,1.3851,-0.0725,0.0147,1.3844,-0.0864,0.0095,1.3825,-0.0915,0.014,1.3827,-0.0877,0.0,1.3843,-0.0894,-0.0036,1.3847,-0.09,-0.0133,1.3838,-0.0901,-0.0148,1.3816,-0.0828,-0.0155,1.3835,-0.0826,-0.004,1.3851,-0.0726});
			return t6disc_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 t6disc 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 t6disc().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.t6disc\" 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.t6disc self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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