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> bone in foot. </p>
 <p> Related links:  source l_tarsal_distal_phalanx_1.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.l_tarsal_distal_phalanx_1&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/l_tarsal_distal_phalanx_1.x3d">l_tarsal_distal_phalanx_1.x3d</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> description </i> </td>
			<td> bone in foot </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/lfdphal.x3d">originals/lfdphal.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/Phalanx_bone#Distal_phalanx" target="_blank">https://en.wikipedia.org/wiki/Phalanx_bone#Distal_phalanx</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/l_tarsal_distal_phalanx_1.x3d" target="_blank">https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skeleton/l_tarsal_distal_phalanx_1.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 l_tarsal_distal_phalanx_1
{
	/** Default constructor to create this object. */
	public l_tarsal_distal_phalanx_1 ()
	{
	  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("l_tarsal_distal_phalanx_1.x3d"))
    .addMeta(new meta().setName(meta.NAME_DESCRIPTION).setContent("bone in foot"))
    .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/lfdphal.x3d"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("https://en.wikipedia.org/wiki/Phalanx_bone#Distal_phalanx"))
    .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/l_tarsal_distal_phalanx_1.x3d"))
    .addMeta(new meta().setName(meta.NAME_LICENSE    ).setContent("../license.html")))
  .setScene(new Scene()
    .addChild(new WorldInfo().setTitle("l_tarsal_distal_phalanx_1.x3d"))
    .addChild(new TouchSensor().setDescription("bone l_tarsal_distal_phalanx_1"))
    .addChild(new Transform("l_tarsal_distal_phalanx_1")
      .addChild(new Shape()
        .setAppearance(new Appearance()
          .setMaterial(new Material("BoneMaterial").setAmbientIntensity(0.965).setDiffuseColor(1.0,0.9765,0.8667).setShininess(0.05).setSpecularColor(0.349,0.349,0.349)))
        .setGeometry(new IndexedFaceSet("l_tarsal_distal_phalanx_1_geometry").setDEF("l_tarsal_distal_phalanx_1_geometry").setCreaseAngle(1.571).setCoordIndex(getl_tarsal_distal_phalanx_1_geometry_5_22_coordIndex())
          .setCoord(new Coordinate("l_tarsal_distal_phalanx_1_coordinate").setPoint(getl_tarsal_distal_phalanx_1_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[] getl_tarsal_distal_phalanx_1_geometry_5_22_coordIndex_1()
		{
			int[] value = {0,1,2,-1,3,4,5,-1,6,7,8,-1,8,9,6,-1,10,3,5,-1,11,12,13,-1,14,15,16,-1,17,18,19,-1,20,21,22,-1,22,23,20,-1,24,25,26,-1,27,17,24,-1,28,29,30,-1,31,32,33,-1,32,34,33,-1,31,33,35,-1,36,37,38,-1,39,36,38,-1,40,36,41,-1,42,43,44,-1,45,46,44,-1,47,48,49,-1,50,51,52,-1,53,54,55,-1,53,56,54,-1,57,58,59,-1,60,61,62,-1,61,63,62,-1,64,58,65,-1,7,66,64,-1,64,65,7,-1,67,68,1,-1,47,56,69,-1,48,70,71,-1,72,73,74,-1,75,76,77,-1,75,78,63,-1,79,26,25,-1,79,80,26,-1,29,81,82,-1,83,84,85,-1,81,86,87,-1,81,88,86,-1,47,89,48,-1,12,8,90,-1,55,51,50,-1,50,91,55,-1,48,92,49,-1,48,87,92,-1,93,52,94,-1,93,50,52,-1,95,35,29,-1,35,33,29,-1,96,97,98,-1,98,99,96,-1,68,100,101,-1,100,68,102,-1,36,40,37,-1,7,77,76,-1,58,57,103,-1,39,58,104,-1,41,2,105,-1,41,104,2,-1,103,106,107,-1,103,78,106,-1,89,69,108,-1,89,47,69,-1,106,109,107,-1,109,110,107,-1,110,0,2,-1,67,111,112,-1,113,112,111,-1,113,114,112,-1,115,116,117,-1,117,118,115,-1,119,120,121,-1,11,13,14,-1,122,123,124,-1,13,90,85,-1,85,125,13,-1,125,126,127,-1,125,128,126,-1,129,130,21,-1,131,132,133,-1,131,134,132,-1,24,133,27,-1,5,131,10,-1,5,134,131,-1,7,135,77,-1,7,6,135,-1,135,136,137,-1,135,6,136,-1,138,139,140,-1,138,141,139,-1,18,142,138,-1,138,143,18,-1,144,122,145,-1,142,146,138,-1,146,141,138,-1,136,6,9,-1,4,147,148,-1,147,149,148,-1,8,12,9,-1,3,150,71,-1,3,10,150,-1,142,151,146,-1,82,10,80,-1,82,150,10,-1,83,90,8,-1,83,85,90,-1,152,153,16,-1,121,154,155,-1,121,120,154,-1,118,156,115,-1,118,121,156,-1,111,67,157,-1,158,159,160,-1,160,109,158,-1,72,161,73,-1,69,162,72,-1,72,108,69,-1,163,164,162,-1,162,91,163,-1,104,58,107,-1,58,103,107,-1,41,36,104,-1,77,165,75,-1,77,70,165,-1,8,65,58,-1,58,64,59,-1,166,167,37,-1,166,100,167,-1,100,102,167,-1,40,100,166,-1,166,37,40,-1,40,101,100,-1,2,1,105,-1,97,168,98,-1,31,44,32,-1,33,94,169,-1,88,81,169,-1,88,52,170,-1,53,69,56,-1,132,27,133,-1,58,39,8,-1,86,88,170,-1,130,171,21,-1,172,167,173,-1,75,61,174,-1,62,103,57,-1,7,65,8,-1,89,165,48,-1,165,70,48,-1,30,29,82,-1,13,12,90,-1,120,175,154,-1,120,176,175,-1,157,160,177,-1,157,0,160,-1,66,7,76,-1,76,174,66,-1,76,75,174,-1,59,62,57,-1,59,60,62,-1,61,75,63,-1,54,56,47,-1,47,49,54,-1,92,87,86,-1,55,91,53,-1,46,42,44,-1,43,32,44,-1,39,104,36,-1,38,8,39,-1,22,21,126,-1,24,178,25,-1,17,178,24,-1,143,144,129,-1,171,130,145,-1,11,153,179,-1,179,12,11,-1,144,140,122,-1,137,4,3,-1,137,147,4,-1,12,179,9,-1,99,102,112,-1,121,118,119,-1,132,148,151,-1,134,148,132,-1,147,136,180,-1,136,147,137,-1,123,140,139,-1,122,140,123,-1,11,16,153,-1,14,16,11,-1,143,19,18,-1,19,143,129,-1,140,143,138,-1,144,143,140,-1,18,27,142,-1,18,17,27,-1,181,25,23,-1,79,25,181,-1,45,31,182,-1,44,31,45,-1,183,184,128,-1,185,184,183,-1,95,186,35,-1,95,187,186,-1,98,173,167,-1,168,173,98,-1,92,170,188,-1,92,86,170,-1,68,105,1,-1,68,101,105,-1,159,177,160,-1,159,189,177,-1,114,175,96,-1,175,114,154,-1,190,191,192,-1,190,119,191,-1,163,116,164,-1,163,117,116,-1,156,161,115,-1,73,161,156,-1,114,99,112,-1,114,96,99,-1,34,43,176,-1,32,43,34,-1,92,54,49,-1,92,188,54,-1,193,89,108,-1,193,165,89,-1,60,64,66,-1,60,59,64,-1,145,124,171,-1,124,145,122,-1,88,94,52,-1,169,94,88,-1,55,188,51,-1,188,55,54,-1,93,176,190,-1,176,93,34,-1,81,33,169,-1,81,29,33,-1,45,96,46,-1,96,45,97,-1,187,173,186,-1,84,173,187,-1,172,8,38,-1,172,83,8,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] getl_tarsal_distal_phalanx_1_geometry_5_22_coordIndex_2()
		{
			int[] value = {66,61,60,-1,66,174,61,-1,162,53,91,-1,53,162,69,-1,158,193,74,-1,194,193,158,-1,162,161,72,-1,162,164,161,-1,159,74,73,-1,74,159,158,-1,114,155,154,-1,155,114,113,-1,189,121,155,-1,189,156,121,-1,195,14,13,-1,15,14,195,-1,28,95,29,-1,28,185,95,-1,195,171,124,-1,171,195,127,-1,84,183,85,-1,84,187,183,-1,10,26,80,-1,10,131,26,-1,150,48,71,-1,150,87,48,-1,3,135,137,-1,71,135,3,-1,149,151,148,-1,151,149,146,-1,152,179,153,-1,180,179,152,-1,152,146,149,-1,152,141,146,-1,16,141,152,-1,16,139,141,-1,149,180,152,-1,149,147,180,-1,77,71,70,-1,77,135,71,-1,131,24,26,-1,131,133,24,-1,150,81,87,-1,81,150,82,-1,21,127,126,-1,21,171,127,-1,128,85,183,-1,85,128,125,-1,127,13,125,-1,127,195,13,-1,181,185,28,-1,181,184,185,-1,184,23,22,-1,184,181,23,-1,124,15,195,-1,15,124,123,-1,191,118,117,-1,191,119,118,-1,177,155,113,-1,177,189,155,-1,113,157,177,-1,111,157,113,-1,0,109,160,-1,0,110,109,-1,107,2,104,-1,107,110,2,-1,109,194,158,-1,194,109,106,-1,194,165,193,-1,75,165,194,-1,63,103,62,-1,63,78,103,-1,37,172,38,-1,37,167,172,-1,43,175,176,-1,43,42,175,-1,94,34,93,-1,33,34,94,-1,190,50,93,-1,190,192,50,-1,163,50,192,-1,163,91,50,-1,84,172,173,-1,172,84,83,-1,30,80,79,-1,30,82,80,-1,106,75,194,-1,106,78,75,-1,74,108,72,-1,74,193,108,-1,175,46,96,-1,42,46,175,-1,67,102,68,-1,112,102,67,-1,116,161,164,-1,161,116,115,-1,192,117,163,-1,192,191,117,-1,120,190,176,-1,190,120,119,-1,157,1,0,-1,1,157,67,-1,189,73,156,-1,159,73,189,-1,170,51,188,-1,51,170,52,-1,102,98,167,-1,98,102,99,-1,186,168,182,-1,168,186,173,-1,105,40,41,-1,105,101,40,-1,182,35,186,-1,182,31,35,-1,185,187,95,-1,185,183,187,-1,22,128,184,-1,22,126,128,-1,182,97,45,-1,182,168,97,-1,28,79,181,-1,30,79,28,-1,178,19,20,-1,19,178,17,-1,178,23,25,-1,178,20,23,-1,20,129,21,-1,19,129,20,-1,144,130,129,-1,144,145,130,-1,16,123,139,-1,123,16,15,-1,180,9,179,-1,9,180,136,-1,27,151,142,-1,132,151,27,-1,134,4,148,-1,5,4,134,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='l_tarsal_distal_phalanx_1_geometry' coordIndex field, scene-graph level=5, element #22, 1552 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 getl_tarsal_distal_phalanx_1_geometry_5_22_coordIndex()
		{
			MFInt32 l_tarsal_distal_phalanx_1_geometry_5_22_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getl_tarsal_distal_phalanx_1_geometry_5_22_coordIndex_1()))
				.append(new MFInt32(getl_tarsal_distal_phalanx_1_geometry_5_22_coordIndex_2()));
			return l_tarsal_distal_phalanx_1_geometry_5_22_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='l_tarsal_distal_phalanx_1_coordinate' point field, scene-graph level=6, element #22, 588 total numbers made up of 196 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 getl_tarsal_distal_phalanx_1_coordinate_6_22_point()
		{
			MFVec3f l_tarsal_distal_phalanx_1_coordinate_6_22_point = new MFVec3f(new double[] {0.071,0.0038,0.0854,0.0732,0.0048,0.0848,0.0735,0.004,0.0853,0.0712,0.002,0.1019,0.0715,0.0019,0.1022,0.0713,0.0022,0.1022,0.0734,0.0031,0.0996,0.0732,0.0025,0.0974,0.0741,0.0042,0.0964,0.0745,0.004,0.0991,0.0708,0.0032,0.1024,0.0765,0.0041,0.0996,0.0751,0.0045,0.0987,0.0748,0.0053,0.0994,0.0768,0.0045,0.1005,0.0769,0.0047,0.1012,0.0768,0.0042,0.101,0.0746,0.0037,0.1072,0.0751,0.0037,0.1074,0.075,0.0043,0.1075,0.0739,0.0058,0.1065,0.0749,0.0065,0.1062,0.0734,0.0068,0.1043,0.0725,0.006,0.1045,0.0734,0.0038,0.1054,0.0721,0.0052,0.1044,0.0721,0.0043,0.1041,0.0743,0.0027,0.1061,0.0703,0.0058,0.1002,0.0685,0.0055,0.0972,0.07,0.0051,0.1005,0.0687,0.009,0.0923,0.0681,0.0102,0.0911,0.0661,0.0067,0.0936,0.0644,0.0078,0.0914,0.0692,0.0084,0.0932,0.0754,0.004,0.0918,0.0751,0.0052,0.0892,0.0747,0.0043,0.0929,0.075,0.0037,0.0933,0.076,0.0043,0.0891,0.076,0.004,0.0892,0.0682,0.0104,0.0907,0.068,0.0103,0.091,0.0683,0.0103,0.091,0.0687,0.0103,0.091,0.0685,0.0103,0.0908,0.0643,0.0003,0.0955,0.0676,0.0013,0.098,0.0645,0.0007,0.0962,0.0597,0.0034,0.0915,0.0613,0.0023,0.0938,0.0617,0.0027,0.0941,0.0616,0.0011,0.0933,0.0618,0.0008,0.0951,0.0613,0.0016,0.0935,0.0621,0.0006,0.0947,0.0746,0.0017,0.0952,0.0754,0.0019,0.0934,0.0747,0.0018,0.0954,0.0735,0.0015,0.0966,0.0715,0.001,0.0959,0.0735,0.0013,0.0964,0.0715,0.0009,0.0957,0.0746,0.0021,0.0955,0.0744,0.0027,0.0958,0.0732,0.0021,0.0969,0.073,0.0052,0.0848,0.0734,0.0052,0.0849,0.0629,0.0001,0.0926,0.0693,0.0013,0.0976,0.0704,0.0022,0.1009,0.0638,0.002,0.0888,0.0644,0.0034,0.0866,0.0655,0.0022,0.0885,0.0699,0.0009,0.0938,0.0712,0.0014,0.0965,0.071,0.0012,0.0973,0.0715,0.001,0.0936,0.0711,0.0054,0.1026,0.0709,0.0045,0.1025,0.0673,0.0037,0.098,0.0699,0.0043,0.1007,0.0727,0.0063,0.0958,0.0718,0.0068,0.0959,0.0732,0.0061,0.0987,0.0643,0.0021,0.0963,0.067,0.0022,0.0985,0.0636,0.0028,0.0952,0.0669,0.0005,0.0947,0.0746,0.005,0.0987,0.0598,0.0019,0.0906,0.0645,0.0014,0.0966,0.0619,0.0057,0.0917,0.064,0.0048,0.0938,0.0703,0.0073,0.0962,0.0702,0.0095,0.0883,0.0706,0.0094,0.0903,0.0725,0.0075,0.0892,0.0727,0.0076,0.0867,0.0741,0.0059,0.0854,0.0741,0.0049,0.085,0.073,0.0072,0.0864,0.0733,0.0012,0.0934,0.0746,0.0033,0.0893,0.074,0.0046,0.085,0.0707,0.0015,0.0905,0.0725,0.0026,0.0904,0.0656,0.0008,0.0916,0.0695,0.0026,0.0875,0.0717,0.0035,0.0869,0.0718,0.0057,0.0859,0.0727,0.0071,0.0863,0.0695,0.0063,0.0872,0.0699,0.0092,0.0878,0.0617,0.0028,0.0869,0.0606,0.002,0.0875,0.0593,0.0025,0.0886,0.0613,0.0043,0.0884,0.0609,0.006,0.0899,0.0631,0.0086,0.0894,0.0636,0.0061,0.0882,0.0775,0.0047,0.1054,0.0774,0.0046,0.1036,0.0769,0.0051,0.1043,0.0736,0.0064,0.1004,0.0738,0.0069,0.1042,0.0749,0.0067,0.1035,0.0726,0.0072,0.1015,0.0757,0.0049,0.1071,0.0762,0.0062,0.1065,0.0718,0.0029,0.1037,0.0727,0.0017,0.105,0.0732,0.0025,0.1052,0.0718,0.0016,0.1032,0.0721,0.0019,0.1002,0.0737,0.0033,0.101,0.0725,0.0018,0.1017,0.0764,0.0031,0.1058,0.0773,0.004,0.1036,0.0774,0.0041,0.1053,0.0756,0.0029,0.1039,0.075,0.0025,0.1062,0.0761,0.0045,0.107,0.0764,0.0049,0.1068,0.0768,0.0058,0.1064,0.0736,0.0015,0.1047,0.0726,0.0017,0.1022,0.0721,0.0013,0.1031,0.0729,0.0015,0.103,0.0697,0.003,0.1011,0.073,0.0014,0.1048,0.0749,0.0029,0.1023,0.0764,0.0036,0.1,0.0668,0.0098,0.0882,0.0667,0.007,0.0878,0.0642,0.0039,0.0865,0.0708,0.0043,0.0853,0.0672,0.0024,0.0881,0.0663,0.0035,0.0861,0.0685,0.0032,0.0858,0.0619,0.0024,0.087,0.0614,0.0004,0.0894,0.0592,0.002,0.0889,0.0606,0.0015,0.0876,0.0684,0.0007,0.0943,0.075,0.0053,0.0888,0.0732,0.0067,0.0898,0.0707,0.0085,0.0916,0.0647,0.0046,0.0945,0.0621,0.002,0.0954,0.076,0.0064,0.1054,0.073,0.0064,0.0924,0.0709,0.0079,0.0927,0.0714,0.0013,0.096,0.0669,0.0103,0.0887,0.0632,0.0088,0.0899,0.0684,0.0037,0.0856,0.0736,0.005,0.1063,0.075,0.0042,0.0991,0.074,0.0034,0.1013,0.0714,0.0062,0.1024,0.0694,0.0091,0.092,0.0718,0.0068,0.0992,0.072,0.007,0.1019,0.0712,0.0067,0.0995,0.0698,0.0085,0.0929,0.071,0.0074,0.096,0.0617,0.0014,0.0954,0.0662,0.004,0.086,0.0609,0.0061,0.0905,0.0592,0.0038,0.0898,0.059,0.0036,0.0904,0.0672,0.0011,0.0913,0.0687,0.0014,0.091,0.076,0.0057,0.1026});
			return l_tarsal_distal_phalanx_1_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 l_tarsal_distal_phalanx_1 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 l_tarsal_distal_phalanx_1().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.l_tarsal_distal_phalanx_1\" 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.l_tarsal_distal_phalanx_1 self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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