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 c6disc.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.c6disc&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/c6disc.x3d">c6disc.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/c6disc.x3d">originals/c6disc.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/c6disc.x3d" target="_blank">https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skeleton/c6disc.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 c6disc
{
	/** Default constructor to create this object. */
	public c6disc ()
	{
	  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("c6disc.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/c6disc.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/c6disc.x3d"))
    .addMeta(new meta().setName(meta.NAME_LICENSE    ).setContent("../license.html")))
  .setScene(new Scene()
    .addChild(new WorldInfo().setTitle("c6disc.x3d"))
    .addChild(new TouchSensor().setDescription("cartilage c6disc"))
    .addChild(new Transform("c6disc")
      .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("c6disc_geometry").setDEF("c6disc_geometry").setCreaseAngle(1.571).setCoordIndex(getc6disc_geometry_5_22_coordIndex())
          .setCoord(new Coordinate("c6disc_coordinate").setPoint(getc6disc_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[] getc6disc_geometry_5_22_coordIndex_1()
		{
			int[] value = {0,1,2,-1,3,4,5,-1,6,7,8,-1,9,4,10,-1,11,12,13,-1,14,15,16,-1,0,2,17,-1,18,19,20,-1,21,18,20,-1,22,23,24,-1,25,26,27,-1,28,29,30,-1,31,32,33,-1,34,6,35,-1,36,37,33,-1,38,39,40,-1,41,42,43,-1,44,45,46,-1,47,48,45,-1,47,49,48,-1,50,51,52,-1,53,54,55,-1,56,47,45,-1,57,58,59,-1,60,61,58,-1,62,63,64,-1,65,66,67,-1,65,68,69,-1,70,71,72,-1,72,73,74,-1,73,75,76,-1,77,78,79,-1,80,81,82,-1,83,14,84,-1,85,86,82,-1,81,80,87,-1,88,89,90,-1,20,91,21,-1,92,93,94,-1,40,19,95,-1,96,97,98,-1,61,99,43,-1,59,61,100,-1,101,102,22,-1,103,104,23,-1,105,106,104,-1,55,107,0,-1,85,108,40,-1,54,109,110,-1,54,111,107,-1,100,55,0,-1,102,103,23,-1,43,99,112,-1,96,44,64,-1,98,113,114,-1,20,19,40,-1,92,115,93,-1,116,117,118,-1,90,89,91,-1,90,119,120,-1,86,121,80,-1,85,82,81,-1,16,122,87,-1,86,95,19,-1,14,123,124,-1,125,102,126,-1,127,93,128,-1,76,75,129,-1,68,127,69,-1,60,130,62,-1,63,131,64,-1,98,97,131,-1,66,57,59,-1,132,130,69,-1,56,133,134,-1,100,42,135,-1,134,136,49,-1,96,133,44,-1,38,137,138,-1,33,37,138,-1,6,36,35,-1,104,27,24,-1,36,39,38,-1,139,140,20,-1,17,59,141,-1,89,21,91,-1,142,128,93,-1,11,13,4,-1,6,143,144,-1,12,145,92,-1,5,4,13,-1,125,103,102,-1,40,39,139,-1,13,92,5,-1,146,143,116,-1,92,13,12,-1,144,36,6,-1,4,9,11,-1,96,98,114,-1,139,20,40,-1,37,36,38,-1,23,104,24,-1,35,32,34,-1,35,33,32,-1,33,138,31,-1,29,24,30,-1,38,108,137,-1,133,56,44,-1,134,49,47,-1,9,136,11,-1,9,147,136,-1,42,41,148,-1,55,100,135,-1,134,47,56,-1,58,61,59,-1,149,67,2,-1,131,63,130,-1,127,128,69,-1,150,2,1,-1,131,97,64,-1,60,151,130,-1,74,127,70,-1,76,129,152,-1,153,80,121,-1,14,16,154,-1,126,155,156,-1,80,82,86,-1,153,21,89,-1,126,157,125,-1,87,154,16,-1,81,158,85,-1,155,124,159,-1,153,160,159,-1,90,120,88,-1,90,161,119,-1,91,118,90,-1,117,162,118,-1,115,142,93,-1,96,64,97,-1,46,43,112,-1,15,101,22,-1,163,105,104,-1,100,0,141,-1,107,55,54,-1,54,110,164,-1,95,85,40,-1,54,164,111,-1,100,141,59,-1,106,25,104,-1,103,163,104,-1,102,23,22,-1,122,16,165,-1,94,5,92,-1,153,89,160,-1,80,166,87,-1,85,95,86,-1,14,154,123,-1,126,84,155,-1,73,76,167,-1,70,72,74,-1,130,132,131,-1,64,112,62,-1,60,99,61,-1,63,62,130,-1,79,168,169,-1,67,17,2,-1,133,96,115,-1,55,135,53,-1,50,170,51,-1,134,11,136,-1,135,42,148,-1,44,56,45,-1,42,100,43,-1,40,108,38,-1,33,35,36,-1,34,7,6,-1,31,171,32,-1,104,25,27,-1,22,24,29,-1,37,38,138,-1,17,141,0,-1,101,83,102,-1,43,100,61,-1,11,134,12,-1,10,172,9,-1,6,8,143,-1,173,145,12,-1,139,144,140,-1,115,92,145,-1,107,1,0,-1,111,1,107,-1,111,150,1,-1,174,175,176,-1,174,106,175,-1,8,116,143,-1,8,117,116,-1,3,10,4,-1,10,3,177,-1,178,179,180,-1,178,181,179,-1,182,52,183,-1,184,52,182,-1,51,180,185,-1,51,178,180,-1,24,186,30,-1,24,27,186,-1,165,138,137,-1,138,165,28,-1,187,188,189,-1,53,188,187,-1,170,9,172,-1,170,147,9,-1,50,190,191,-1,50,192,190,-1,190,148,48,-1,188,148,190,-1,115,173,133,-1,115,145,173,-1,193,127,68,-1,127,193,70,-1,112,60,62,-1,99,60,112,-1,149,194,195,-1,149,2,194,-1,131,113,98,-1,113,131,132,-1,194,196,169,-1,194,197,196,-1,168,198,199,-1,198,168,79,-1,200,70,193,-1,200,71,70,-1,127,94,93,-1,127,74,94,-1,89,201,160,-1,88,201,89,-1,202,157,126,-1,202,203,157,-1,84,124,155,-1,84,14,124,-1,204,120,205,-1,120,204,206,-1,156,159,207,-1,155,159,156,-1,198,204,208,-1,198,209,204,-1,166,153,159,-1,166,80,153,-1,205,208,204,-1,208,205,210,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] getc6disc_geometry_5_22_coordIndex_2()
		{
			int[] value = {152,211,212,-1,152,129,211,-1,177,152,213,-1,177,76,152,-1,106,214,25,-1,106,174,214,-1,165,15,22,-1,16,15,165,-1,213,212,215,-1,213,152,212,-1,211,216,217,-1,211,129,216,-1,216,205,217,-1,216,210,205,-1,206,209,218,-1,204,209,206,-1,207,219,156,-1,207,218,219,-1,166,154,87,-1,154,166,123,-1,77,176,175,-1,79,176,77,-1,77,219,78,-1,77,202,219,-1,207,160,201,-1,207,159,160,-1,73,220,75,-1,220,73,72,-1,221,72,71,-1,72,221,220,-1,222,193,223,-1,193,222,200,-1,168,222,195,-1,168,199,222,-1,151,66,65,-1,66,151,57,-1,176,169,196,-1,169,176,79,-1,195,169,168,-1,195,194,169,-1,150,194,2,-1,150,197,194,-1,54,187,109,-1,54,53,187,-1,192,188,190,-1,188,192,189,-1,49,190,48,-1,190,49,191,-1,172,51,170,-1,178,51,172,-1,41,48,148,-1,48,41,45,-1,189,224,187,-1,189,225,224,-1,22,28,165,-1,29,28,22,-1,186,26,226,-1,186,27,26,-1,183,51,185,-1,183,52,51,-1,171,183,32,-1,182,183,171,-1,30,171,31,-1,30,186,171,-1,214,110,109,-1,214,174,110,-1,8,180,179,-1,7,180,8,-1,213,10,177,-1,181,10,213,-1,146,144,143,-1,144,146,140,-1,103,157,163,-1,103,125,157,-1,196,174,176,-1,196,110,174,-1,150,164,197,-1,111,164,150,-1,106,203,175,-1,106,105,203,-1,8,215,117,-1,8,179,215,-1,10,178,172,-1,178,10,181,-1,14,101,15,-1,101,14,83,-1,167,5,94,-1,3,5,167,-1,224,25,214,-1,25,224,26,-1,226,184,182,-1,226,225,184,-1,7,185,180,-1,185,7,34,-1,144,39,36,-1,144,139,39,-1,45,43,46,-1,45,41,43,-1,188,135,148,-1,135,188,53,-1,170,191,147,-1,191,170,50,-1,52,192,50,-1,52,184,192,-1,142,113,128,-1,114,113,142,-1,68,223,193,-1,68,65,223,-1,65,149,223,-1,149,65,67,-1,227,198,208,-1,227,199,198,-1,69,151,65,-1,69,130,151,-1,208,221,227,-1,210,221,208,-1,167,74,73,-1,94,74,167,-1,102,84,126,-1,84,102,83,-1,198,78,209,-1,79,78,198,-1,88,206,201,-1,88,120,206,-1,212,161,162,-1,212,211,161,-1,167,177,3,-1,177,167,76,-1,108,158,137,-1,85,158,108,-1,137,122,165,-1,158,122,137,-1,112,44,46,-1,112,64,44,-1,114,115,96,-1,115,114,142,-1,140,91,20,-1,140,146,91,-1,215,162,117,-1,215,212,162,-1,90,162,161,-1,162,90,118,-1,217,161,211,-1,119,161,217,-1,119,205,120,-1,217,205,119,-1,201,218,207,-1,206,218,201,-1,218,78,219,-1,218,209,78,-1,124,166,159,-1,123,166,124,-1,175,202,77,-1,175,203,202,-1,18,86,19,-1,121,86,18,-1,202,156,219,-1,202,126,156,-1,87,158,81,-1,158,87,122,-1,121,21,153,-1,21,121,18,-1,216,75,220,-1,216,129,75,-1,221,216,220,-1,221,210,216,-1,199,200,222,-1,200,199,227,-1,195,223,149,-1,195,222,223,-1,58,151,60,-1,57,151,58,-1,71,227,221,-1,200,227,71,-1,66,17,67,-1,66,59,17,-1,128,132,69,-1,113,132,128,-1,109,224,214,-1,109,187,224,-1,184,189,192,-1,189,184,225,-1,136,191,49,-1,136,147,191,-1,133,12,134,-1,133,173,12,-1,224,226,26,-1,225,226,224,-1,31,28,30,-1,31,138,28,-1,185,32,183,-1,34,32,185,-1,186,182,171,-1,186,226,182,-1,146,118,91,-1,116,118,146,-1,181,215,179,-1,181,213,215,-1,105,157,203,-1,105,163,157,-1,197,110,196,-1,164,110,197,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='c6disc_geometry' coordIndex field, scene-graph level=5, element #22, 1808 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 getc6disc_geometry_5_22_coordIndex()
		{
			MFInt32 c6disc_geometry_5_22_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getc6disc_geometry_5_22_coordIndex_1()))
				.append(new MFInt32(getc6disc_geometry_5_22_coordIndex_2()));
			return c6disc_geometry_5_22_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='c6disc_coordinate' point field, scene-graph level=6, element #22, 684 total numbers made up of 228 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 getc6disc_coordinate_6_22_point()
		{
			MFVec3f c6disc_coordinate_6_22_point = new MFVec3f(new double[] {-0.0079,1.5315,-0.0408,-0.0071,1.531,-0.0411,-0.0073,1.5301,-0.0395,-0.0046,1.5277,-0.0271,-0.0048,1.5281,-0.0272,-0.0052,1.5277,-0.0273,0.0078,1.5301,-0.028,0.005,1.5298,-0.0274,0.0047,1.5291,-0.0266,-0.005,1.529,-0.0278,-0.0021,1.5285,-0.0267,-0.0078,1.5295,-0.0284,-0.0097,1.5296,-0.029,-0.0078,1.5284,-0.0281,0.009,1.5314,-0.0386,0.0095,1.5326,-0.0398,0.0105,1.5326,-0.0378,-0.0082,1.5307,-0.0391,0.0113,1.529,-0.0336,0.012,1.5296,-0.0335,0.0106,1.5277,-0.0314,0.0098,1.5279,-0.0336,0.0089,1.5334,-0.0393,0.0071,1.5327,-0.0407,0.0069,1.5333,-0.0396,0.0028,1.5322,-0.0405,0.0028,1.5327,-0.0396,0.0049,1.533,-0.0398,0.0089,1.5336,-0.037,0.0081,1.5335,-0.0384,0.0072,1.5336,-0.037,0.0077,1.5331,-0.034,0.0051,1.5324,-0.0315,0.0077,1.5323,-0.0316,0.0053,1.5312,-0.029,0.0075,1.531,-0.0293,0.0092,1.5309,-0.0293,0.009,1.5319,-0.0319,0.0098,1.5319,-0.0319,0.0106,1.5304,-0.0298,0.0117,1.5304,-0.0313,-0.0089,1.5336,-0.037,-0.0081,1.5335,-0.0384,-0.0102,1.5337,-0.0368,-0.0109,1.5319,-0.0325,-0.0091,1.5332,-0.0344,-0.0106,1.5333,-0.0346,-0.009,1.5319,-0.0319,-0.0077,1.5331,-0.034,-0.0077,1.5322,-0.0316,-0.0029,1.5319,-0.0315,0.0,1.5311,-0.0293,0.0,1.5318,-0.0316,-0.0049,1.533,-0.0399,-0.005,1.5325,-0.0405,-0.0073,1.5329,-0.0405,-0.0098,1.5319,-0.032,-0.0094,1.531,-0.0376,-0.01,1.5318,-0.0377,-0.009,1.5314,-0.0386,-0.0109,1.532,-0.0365,-0.0105,1.5326,-0.0378,-0.0112,1.5317,-0.0352,-0.011,1.5311,-0.0344,-0.0118,1.5319,-0.0337,-0.0084,1.5288,-0.0363,-0.0086,1.5302,-0.0376,-0.0078,1.5294,-0.0379,-0.0082,1.5281,-0.0344,-0.0093,1.5282,-0.0344,-0.0059,1.5275,-0.0319,-0.0038,1.5273,-0.032,-0.0037,1.5271,-0.0302,-0.0037,1.527,-0.0291,-0.0062,1.5271,-0.0308,-0.0018,1.527,-0.0288,-0.002,1.5267,-0.0269,0.002,1.529,-0.0392,0.0018,1.5289,-0.039,0.0,1.5288,-0.0393,0.0104,1.5301,-0.0352,0.0112,1.5317,-0.0352,0.011,1.5311,-0.0344,0.0084,1.5315,-0.0397,0.0082,1.5307,-0.0391,0.0118,1.5319,-0.0337,0.0111,1.5299,-0.0345,0.0109,1.532,-0.0365,0.0059,1.5278,-0.0318,0.0077,1.5277,-0.0316,0.0062,1.5275,-0.0306,0.0084,1.5271,-0.0297,-0.0079,1.5281,-0.0283,-0.0083,1.5271,-0.0296,-0.0063,1.5265,-0.0282,0.0121,1.5305,-0.0334,-0.0116,1.5302,-0.0309,-0.0121,1.5305,-0.0334,-0.012,1.5296,-0.0335,-0.0112,1.5329,-0.0364,-0.0086,1.533,-0.039,0.0087,1.5322,-0.0403,0.0079,1.5315,-0.0408,0.0071,1.5315,-0.0412,0.0051,1.5324,-0.0406,0.0045,1.5309,-0.0408,0.0026,1.5305,-0.0412,-0.0071,1.5315,-0.0412,0.011,1.5319,-0.0326,-0.0028,1.5321,-0.0406,-0.0026,1.5305,-0.0412,-0.0054,1.5312,-0.0409,-0.0116,1.5329,-0.0352,-0.0113,1.529,-0.0336,-0.0113,1.5286,-0.0326,-0.0105,1.5288,-0.0291,0.0075,1.5286,-0.0275,0.0048,1.5286,-0.0266,0.007,1.5272,-0.028,0.0037,1.5276,-0.0301,0.0038,1.5276,-0.032,0.0108,1.5296,-0.0345,0.0112,1.5329,-0.0364,0.0094,1.531,-0.0376,0.0086,1.5302,-0.0376,0.0071,1.531,-0.0411,0.0073,1.5301,-0.0395,-0.0077,1.5275,-0.0318,-0.0098,1.5279,-0.0336,0.0,1.527,-0.0288,-0.0104,1.5301,-0.0352,-0.0111,1.5299,-0.0346,-0.0107,1.5295,-0.0345,-0.0106,1.5304,-0.0299,-0.0092,1.5307,-0.0295,-0.0069,1.5333,-0.0396,-0.0075,1.5306,-0.0296,0.0108,1.5332,-0.0347,0.0091,1.5332,-0.0344,0.0103,1.5298,-0.0294,0.0098,1.5293,-0.0292,-0.0084,1.5315,-0.0391,-0.0107,1.5277,-0.0314,0.0076,1.529,-0.0276,0.0097,1.5297,-0.029,-0.0098,1.5293,-0.029,0.0079,1.5286,-0.0279,-0.0053,1.5306,-0.0293,-0.0072,1.5336,-0.0371,-0.0073,1.5293,-0.0381,-0.0056,1.5307,-0.0407,-0.0098,1.5305,-0.0363,0.0,1.5272,-0.0268,0.0093,1.5282,-0.0343,0.01,1.5318,-0.0376,0.0078,1.5294,-0.0379,0.0073,1.5293,-0.0381,0.0056,1.5307,-0.0407,0.0116,1.5328,-0.0352,0.0084,1.5288,-0.0363,0.0082,1.5281,-0.0343,0.0037,1.5276,-0.0289,0.0044,1.5274,-0.0268,0.0054,1.5312,-0.0409,-0.0045,1.5309,-0.0408,0.0101,1.5338,-0.0369,0.0098,1.5305,-0.0363,-0.0043,1.5263,-0.0273,-0.0018,1.5289,-0.039,-0.002,1.529,-0.0392,-0.0032,1.5308,-0.0294,0.0049,1.5327,-0.0339,-0.0027,1.5292,-0.0276,-0.01,1.5297,-0.0292,0.0,1.5301,-0.0415,0.0027,1.53,-0.041,0.0,1.5296,-0.0413,-0.0021,1.5281,-0.0265,0.0,1.5297,-0.0277,0.0021,1.5291,-0.0263,0.0027,1.5298,-0.0272,0.0,1.5288,-0.0267,0.0028,1.5327,-0.0338,0.0029,1.5321,-0.0315,0.0,1.5325,-0.0337,0.0032,1.5313,-0.0292,0.0048,1.5334,-0.0369,-0.0028,1.5327,-0.0396,-0.0048,1.5334,-0.0369,-0.0027,1.533,-0.0366,-0.0049,1.5327,-0.0339,-0.0051,1.5321,-0.0316,-0.0028,1.5326,-0.0338,-0.0062,1.528,-0.0343,-0.0046,1.5295,-0.0391,-0.0045,1.5292,-0.0385,-0.0027,1.53,-0.0411,-0.0046,1.5304,-0.0406,0.0,1.5282,-0.0375,-0.0019,1.5283,-0.0374,-0.0038,1.5277,-0.0347,0.0062,1.528,-0.0342,0.0046,1.5295,-0.0391,0.0046,1.5304,-0.0406,0.0019,1.5277,-0.0348,0.0019,1.5274,-0.0323,0.0038,1.5278,-0.0346,0.0068,1.5286,-0.0367,0.0,1.5275,-0.0351,0.0019,1.5283,-0.0373,0.0,1.5273,-0.0326,0.0018,1.5273,-0.0286,0.002,1.5272,-0.0266,0.0,1.5284,-0.0265,0.0,1.5319,-0.0407,0.0021,1.5286,-0.0262,0.0,1.5272,-0.0307,0.0019,1.5275,-0.0304,0.0043,1.5285,-0.0371,0.0045,1.5292,-0.0384,-0.0019,1.5272,-0.0305,-0.0019,1.5273,-0.0323,-0.0043,1.5285,-0.0371,-0.0068,1.5286,-0.0367,0.0,1.5326,-0.0395,0.0,1.5329,-0.0365,0.0027,1.533,-0.0366,-0.0019,1.5276,-0.0349});
			return c6disc_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 c6disc 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 c6disc().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.c6disc\" 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.c6disc self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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