package HumanoidAnimation.Bones;

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.Lighting.*;
import org.web3d.x3d.jsail.Navigation.*;
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 c4disc.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.Bones.c4disc&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/Bones/c4disc.x3d">c4disc.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> 16 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/Bones/originals/c4disc.x3d">originals/c4disc.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> usage examples <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/Bones/c4disc.x3d" target="_blank">https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Bones/c4disc.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/Bones/../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 c4disc
{
	/** Default constructor to create this object. */
	public c4disc ()
	{
	  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_4_0)
  .setHead(new head()
    .addMeta(new meta().setName(meta.NAME_TITLE      ).setContent("c4disc.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("16 March 2026"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("originals/c4disc.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("usage examples 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/Bones/c4disc.x3d"))
    .addMeta(new meta().setName(meta.NAME_LICENSE    ).setContent("../license.html")))
  .setScene(new Scene()
    .addChild(new WorldInfo().setTitle("c4disc.x3d"))
    .addComments(" user hover lights bone and reveals description, user selection/deselection temporarily binds/unbinds close-up hidden viewpoint ")
    .addChild(new TouchSensor("UserTouchSensor").setDescription("cartilage c4disc"))
    .addChild(new Transform("c4disc").setTranslation(0.0000,1.5606,-0.0272)
      .addChild(new Viewpoint("HiddenViewpoint").setNearDistance(0.001).setPosition(0.0,0.0,0.3).setRetainUserOffsets(true)
        .setNavigationInfo(new NavigationInfo().setTransitionType(new String[] {"ANIMATE"}).setType(new String[] {"EXAMINE"})))
      .addChild(new ROUTE().setFromNode("UserTouchSensor").setFromField("isActive").setToNode("HiddenViewpoint").setToField("set_bind"))
      .addChild(new DirectionalLight("HiddenLight").setAmbientIntensity(1).setColor(0.1,0.1,1.0).setOn(false))
      .addChild(new ROUTE().setFromNode("UserTouchSensor").setFromField("isOver").setToNode("HiddenLight").setToField("on"))
      .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("c4disc_geometry").setDEF("c4disc_geometry").setCreaseAngle(1.571).setCoordIndex(getc4disc_geometry_5_26_coordIndex())
          .setCoord(new Coordinate("c4disc_coordinate").setPoint(getc4disc_coordinate_6_26_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[] getc4disc_geometry_5_26_coordIndex_1()
		{
			int[] value = {0,1,2,-1,3,4,5,-1,3,5,6,-1,7,8,9,-1,10,11,12,-1,13,11,10,-1,14,15,16,-1,17,18,19,-1,12,11,20,-1,21,22,23,-1,10,24,25,-1,16,26,27,-1,28,29,30,-1,31,30,29,-1,32,33,34,-1,35,36,9,-1,23,8,37,-1,38,31,39,-1,40,41,42,-1,43,44,45,-1,46,47,0,-1,48,49,50,-1,51,45,4,-1,1,4,3,-1,52,53,54,-1,54,55,52,-1,53,56,57,-1,58,59,60,-1,61,62,63,-1,64,65,35,-1,66,67,33,-1,57,56,18,-1,14,59,68,-1,69,14,70,-1,70,14,71,-1,72,1,0,-1,46,0,73,-1,49,40,34,-1,56,13,19,-1,20,74,75,-1,65,76,36,-1,77,22,78,-1,60,79,58,-1,53,57,80,-1,81,52,55,-1,82,83,84,-1,62,85,84,-1,54,86,87,-1,88,62,87,-1,68,58,79,-1,89,90,91,-1,92,93,94,-1,95,96,97,-1,45,51,98,-1,50,99,100,-1,43,101,102,-1,103,104,105,-1,106,107,101,-1,47,95,97,-1,28,41,40,-1,7,108,109,-1,32,110,33,-1,110,32,111,-1,111,112,110,-1,113,31,73,-1,40,114,34,-1,115,16,116,-1,117,118,119,-1,14,16,115,-1,21,119,120,-1,117,37,8,-1,121,9,112,-1,122,123,69,-1,26,16,15,-1,93,2,3,-1,2,1,3,-1,34,33,67,-1,3,94,93,-1,91,122,69,-1,124,121,112,-1,7,117,8,-1,120,12,21,-1,111,124,112,-1,18,17,125,-1,115,71,14,-1,20,11,13,-1,19,13,25,-1,117,109,118,-1,125,126,127,-1,113,73,128,-1,112,36,110,-1,7,109,117,-1,39,31,113,-1,101,99,106,-1,103,105,129,-1,101,105,102,-1,99,98,100,-1,45,98,43,-1,95,46,96,-1,92,130,93,-1,89,91,70,-1,68,79,131,-1,88,63,62,-1,55,54,87,-1,81,62,84,-1,84,132,82,-1,81,133,52,-1,80,54,53,-1,78,75,77,-1,65,36,35,-1,75,78,20,-1,66,33,110,-1,67,49,34,-1,47,72,0,-1,71,89,70,-1,14,69,59,-1,46,73,29,-1,29,96,46,-1,57,18,80,-1,56,19,18,-1,64,35,134,-1,58,68,59,-1,53,52,56,-1,70,91,69,-1,1,72,4,-1,51,4,72,-1,50,100,48,-1,46,95,47,-1,40,42,114,-1,38,30,31,-1,23,134,8,-1,36,112,9,-1,34,114,32,-1,31,29,73,-1,28,30,41,-1,116,16,27,-1,37,21,23,-1,12,20,78,-1,19,25,17,-1,10,25,13,-1,12,120,10,-1,121,7,9,-1,94,3,6,-1,122,91,135,-1,125,80,18,-1,2,73,0,-1,136,137,138,-1,136,90,137,-1,21,117,119,-1,117,21,37,-1,139,140,24,-1,139,141,140,-1,142,143,144,-1,143,142,145,-1,146,147,148,-1,147,146,149,-1,126,141,150,-1,126,140,141,-1,151,128,152,-1,151,113,128,-1,108,121,153,-1,121,108,7,-1,154,108,153,-1,154,155,108,-1,38,156,157,-1,38,158,156,-1,159,113,151,-1,39,113,159,-1,107,65,129,-1,107,76,65,-1,50,106,99,-1,106,50,160,-1,104,161,162,-1,104,103,161,-1,101,98,99,-1,98,101,43,-1,163,164,165,-1,164,163,166,-1,100,96,48,-1,97,96,100,-1,90,167,137,-1,167,90,89,-1,131,86,168,-1,131,79,86,-1,135,169,61,-1,136,169,135,-1,169,170,85,-1,171,170,169,-1,87,81,55,-1,87,62,81,-1,161,132,162,-1,132,161,82,-1,172,82,161,-1,77,82,172,-1,66,36,76,-1,66,110,36,-1,125,168,80,-1,168,125,127,-1,93,152,128,-1,93,130,152,-1,130,173,152,-1,130,174,173,-1,48,29,28,-1,48,96,29,-1,23,64,134,-1,172,64,23,-1,69,60,59,-1,60,69,123,-1,52,74,56,-1,52,133,74,-1,85,61,169,-1,85,62,61,-1,171,136,138,-1,171,169,136,-1,174,137,167,-1,174,175,137,-1,6,165,164,-1,176,165,6,-1,44,102,176,-1,102,44,43,-1,49,160,50,-1,160,49,67,-1,64,129,65,-1,129,64,103,-1,157,30,38,-1,157,41,30,-1,151,149,159,-1,151,177,149,-1,146,156,158,-1,156,146,145,-1,155,109,108,-1,155,142,109,-1,17,24,140,-1,25,24,17,-1,116,148,147,-1,116,27,148,-1,144,150,141,-1,150,144,143,-1,120,24,10,-1,120,139,24,-1,78,21,12,-1,21,78,22,-1,177,178,179,-1,173,178,177,-1,173,167,178,-1,173,174,167,-1,92,6,164,-1,92,94,6,-1,175,138,137,-1,166,138,175,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] getc4disc_geometry_5_26_coordIndex_2()
		{
			int[] value = {109,144,118,-1,109,142,144,-1,143,146,148,-1,145,146,143,-1,149,179,147,-1,149,177,179,-1,26,150,27,-1,26,126,150,-1,152,177,151,-1,177,152,173,-1,8,35,9,-1,134,35,8,-1,180,121,124,-1,180,153,121,-1,157,155,154,-1,156,155,157,-1,158,39,159,-1,158,38,39,-1,180,114,42,-1,114,180,32,-1,44,4,45,-1,44,5,4,-1,51,47,97,-1,51,72,47,-1,76,106,66,-1,106,76,107,-1,181,162,182,-1,181,104,162,-1,182,165,181,-1,163,165,182,-1,98,97,100,-1,98,51,97,-1,79,87,86,-1,87,79,88,-1,171,182,170,-1,171,163,182,-1,162,170,182,-1,132,170,162,-1,83,77,75,-1,83,82,77,-1,60,88,79,-1,60,123,88,-1,61,122,135,-1,61,63,122,-1,48,40,49,-1,48,28,40,-1,68,15,14,-1,15,68,131,-1,178,89,71,-1,178,167,89,-1,15,168,127,-1,15,131,168,-1,2,128,73,-1,2,93,128,-1,20,56,74,-1,56,20,13,-1,77,23,22,-1,77,172,23,-1,135,90,136,-1,90,135,91,-1,75,133,83,-1,74,133,75,-1,83,81,84,-1,83,133,81,-1,132,85,170,-1,84,85,132,-1,168,54,80,-1,168,86,54,-1,138,163,171,-1,138,166,163,-1,63,123,122,-1,63,88,123,-1,92,174,130,-1,175,174,92,-1,176,5,44,-1,176,6,5,-1,181,176,102,-1,181,165,176,-1,102,104,181,-1,102,105,104,-1,101,129,105,-1,129,101,107,-1,66,160,67,-1,106,160,66,-1,103,172,161,-1,103,64,172,-1,154,41,157,-1,154,42,41,-1,159,146,158,-1,149,146,159,-1,156,142,155,-1,145,142,156,-1,42,153,180,-1,42,154,153,-1,180,111,32,-1,111,180,124,-1,17,126,125,-1,17,140,126,-1,115,147,179,-1,147,115,116,-1,143,27,150,-1,143,148,27,-1,118,141,139,-1,118,144,141,-1,120,118,139,-1,119,118,120,-1,71,179,178,-1,71,115,179,-1,126,15,127,-1,126,26,15,-1,164,175,92,-1,175,164,166,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='c4disc_geometry' coordIndex field, scene-graph level=5, element #26, 1448 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 getc4disc_geometry_5_26_coordIndex()
		{
			MFInt32 c4disc_geometry_5_26_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getc4disc_geometry_5_26_coordIndex_1()))
				.append(new MFInt32(getc4disc_geometry_5_26_coordIndex_2()));
			return c4disc_geometry_5_26_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='c4disc_coordinate' point field, scene-graph level=6, element #26, 549 total numbers made up of 183 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 getc4disc_coordinate_6_26_point()
		{
			MFVec3f c4disc_coordinate_6_26_point = new MFVec3f(new double[] {-0.0079,-0.0006,0.0059,-0.0072,-0.0018,0.0055,-0.0066,-0.0019,0.0055,-0.0065,-0.0030,0.0052,-0.0069,-0.0030,0.0049,-0.0066,-0.0033,0.0047,-0.0047,-0.0035,0.0050,-0.0034,0.0032,-0.0077,-0.0031,0.0024,-0.0076,-0.0060,0.0027,-0.0074,0.0084,0.0034,-0.0066,0.0082,0.0031,-0.0069,0.0061,0.0027,-0.0072,0.0091,0.0033,-0.0064,0.0078,0.0010,0.0052,0.0094,0.0032,0.0031,0.0073,0.0022,0.0046,0.0090,0.0037,-0.0034,0.0098,0.0038,-0.0034,0.0096,0.0036,-0.0057,0.0076,0.0027,-0.0069,0.0032,0.0025,-0.0076,0.0026,0.0013,-0.0069,0.0000,0.0013,-0.0069,0.0083,0.0035,-0.0059,0.0092,0.0036,-0.0059,0.0080,0.0030,0.0020,0.0057,0.0028,0.0024,-0.0094,0.0040,0.0009,-0.0092,0.0028,0.0032,-0.0080,0.0030,0.0020,-0.0066,0.0018,0.0047,-0.0093,0.0036,-0.0059,-0.0096,0.0036,-0.0057,-0.0100,0.0041,-0.0036,-0.0055,0.0022,-0.0071,-0.0076,0.0027,-0.0069,0.0000,0.0026,-0.0074,-0.0057,0.0028,0.0024,-0.0054,0.0014,0.0047,-0.0096,0.0041,-0.0008,-0.0078,0.0036,-0.0005,-0.0079,0.0036,-0.0032,-0.0064,-0.0010,0.0003,-0.0065,-0.0021,0.0027,-0.0068,-0.0020,0.0027,-0.0085,0.0007,0.0055,-0.0084,-0.0007,0.0058,-0.0101,0.0034,0.0014,-0.0106,0.0035,-0.0011,-0.0096,0.0027,-0.0013,-0.0077,-0.0008,0.0033,0.0083,0.0023,-0.0040,0.0094,0.0027,-0.0031,0.0096,0.0027,-0.0013,0.0080,0.0016,-0.0015,0.0087,0.0028,-0.0050,0.0094,0.0034,-0.0033,0.0087,0.0003,0.0053,0.0084,0.0000,0.0060,0.0084,-0.0007,0.0058,0.0065,-0.0021,0.0027,0.0064,-0.0010,0.0003,0.0068,-0.0020,0.0027,-0.0022,0.0001,-0.0059,-0.0049,0.0011,-0.0057,-0.0088,0.0029,-0.0049,-0.0103,0.0038,-0.0039,0.0089,0.0008,0.0058,0.0072,-0.0019,0.0060,0.0063,-0.0023,0.0061,0.0051,-0.0006,0.0066,-0.0078,-0.0017,0.0057,-0.0072,0.0007,0.0049,0.0065,0.0018,-0.0055,0.0049,0.0011,-0.0057,-0.0065,0.0018,-0.0055,0.0022,0.0001,-0.0059,0.0054,0.0019,-0.0069,0.0092,0.0016,0.0037,0.0106,0.0036,-0.0011,0.0063,-0.0001,-0.0019,0.0021,-0.0004,-0.0049,0.0045,0.0005,-0.0047,0.0046,-0.0009,-0.0017,0.0047,-0.0016,0.0006,0.0095,0.0024,0.0014,0.0080,0.0004,0.0007,0.0077,-0.0008,0.0033,0.0048,-0.0028,0.0067,0.0048,-0.0035,0.0057,0.0063,-0.0032,0.0053,-0.0021,-0.0039,0.0060,-0.0048,-0.0025,0.0066,-0.0048,-0.0034,0.0057,-0.0087,0.0003,0.0053,-0.0096,0.0023,0.0037,-0.0092,0.0016,0.0037,-0.0080,0.0004,0.0007,-0.0080,0.0016,-0.0015,-0.0095,0.0024,0.0014,-0.0063,-0.0001,-0.0019,-0.0047,-0.0016,0.0006,-0.0021,-0.0004,-0.0049,-0.0022,-0.0013,-0.0016,-0.0046,-0.0009,-0.0017,-0.0083,0.0023,-0.0040,-0.0062,0.0012,-0.0042,-0.0035,0.0035,-0.0057,0.0000,0.0039,-0.0057,-0.0093,0.0034,-0.0064,-0.0087,0.0034,-0.0066,-0.0082,0.0031,-0.0069,-0.0052,0.0010,0.0061,-0.0092,0.0038,-0.0034,0.0052,0.0010,0.0061,0.0054,0.0014,0.0047,0.0000,0.0032,-0.0072,0.0035,0.0035,-0.0057,0.0034,0.0032,-0.0077,0.0061,0.0031,-0.0071,-0.0061,0.0031,-0.0071,0.0069,-0.0030,0.0052,0.0078,-0.0017,0.0057,-0.0084,0.0034,-0.0064,0.0096,0.0040,-0.0008,0.0078,0.0036,-0.0005,0.0095,0.0039,0.0009,-0.0051,-0.0005,0.0066,-0.0045,0.0005,-0.0047,-0.0023,-0.0030,0.0073,0.0100,0.0026,0.0040,0.0022,-0.0013,-0.0016,0.0062,0.0012,-0.0042,-0.0026,0.0013,-0.0069,0.0062,-0.0033,0.0048,0.0047,-0.0035,0.0050,0.0021,-0.0039,0.0060,0.0020,-0.0039,0.0054,0.0062,0.0035,-0.0057,0.0079,0.0036,-0.0032,0.0061,0.0036,-0.0029,0.0000,0.0041,-0.0028,0.0034,0.0038,-0.0000,0.0034,0.0039,-0.0029,0.0000,0.0039,0.0002,0.0000,0.0031,0.0026,0.0033,0.0011,0.0049,0.0034,0.0030,0.0025,0.0000,0.0011,0.0054,0.0060,0.0036,-0.0005,-0.0028,0.0003,0.0069,-0.0026,-0.0012,0.0072,-0.0062,0.0035,-0.0057,-0.0061,0.0036,-0.0029,-0.0034,0.0039,-0.0029,-0.0034,0.0038,-0.0000,-0.0060,0.0036,-0.0005,-0.0034,0.0030,0.0025,-0.0033,0.0011,0.0049,-0.0095,0.0031,-0.0032,0.0000,-0.0009,-0.0045,0.0000,-0.0018,-0.0016,0.0000,-0.0035,0.0038,-0.0020,-0.0039,0.0054,-0.0023,-0.0032,0.0033,0.0000,-0.0042,0.0057,0.0022,-0.0032,0.0073,0.0104,0.0033,0.0015,0.0048,-0.0026,0.0030,0.0023,-0.0023,0.0009,0.0023,-0.0032,0.0033,0.0000,0.0000,-0.0059,0.0000,-0.0013,0.0077,0.0000,-0.0034,0.0077,0.0000,-0.0042,0.0063,-0.0048,-0.0026,0.0030,0.0000,0.0001,0.0075,0.0026,-0.0010,0.0072,0.0028,0.0003,0.0069,-0.0083,0.0035,-0.0059,-0.0023,-0.0023,0.0009,0.0000,-0.0028,0.0014});
			return c4disc_coordinate_6_26_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 c4disc 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 c4disc().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.Bones.c4disc\" 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.Bones.c4disc self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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