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.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> bone in foot. </p>
 <p> Related links:  source l_tarsal_distal_phalanx_2.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_2&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_2.x3d">l_tarsal_distal_phalanx_2.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/lfdphal2.x3d">originals/lfdphal2.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> 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/Skeleton/l_tarsal_distal_phalanx_2.x3d" target="_blank">https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skeleton/l_tarsal_distal_phalanx_2.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_2
{
	/** Default constructor to create this object. */
	public l_tarsal_distal_phalanx_2 ()
	{
	  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("l_tarsal_distal_phalanx_2.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/lfdphal2.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("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/Skeleton/l_tarsal_distal_phalanx_2.x3d"))
    .addMeta(new meta().setName(meta.NAME_LICENSE    ).setContent("../license.html")))
  .setScene(new Scene()
    .addChild(new WorldInfo().setTitle("l_tarsal_distal_phalanx_2.x3d"))
    .addComments(" user hovering reveals description, user selection/deselection temporarily binds/unbinds a hidden close-up viewpoint ")
    .addChild(new TouchSensor("UserTouchSensor").setDescription("bone l_tarsal_distal_phalanx_2"))
    .addChild(new Transform("l_tarsal_distal_phalanx_2").setTranslation(0.0969,0.0037,0.1046)
      .addChild(new Viewpoint("HiddenViewpoint").setNearDistance(0.001).setPosition(0.0,0.0,0.3)
        .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 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_2_geometry").setDEF("l_tarsal_distal_phalanx_2_geometry").setCreaseAngle(1.571).setCoordIndex(getl_tarsal_distal_phalanx_2_geometry_5_24_coordIndex())
          .setCoord(new Coordinate("l_tarsal_distal_phalanx_2_coordinate").setPoint(getl_tarsal_distal_phalanx_2_coordinate_6_24_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_2_geometry_5_24_coordIndex_1()
		{
			int[] value = {0,1,2,-1,3,4,5,-1,6,7,8,-1,9,10,11,-1,11,2,9,-1,12,13,14,-1,1,15,6,-1,15,16,6,-1,17,18,19,-1,3,6,16,-1,20,21,22,-1,20,23,21,-1,24,25,26,-1,27,28,29,-1,30,31,32,-1,33,34,35,-1,36,30,37,-1,28,27,38,-1,39,40,22,-1,22,41,39,-1,32,42,30,-1,43,17,44,-1,43,18,17,-1,1,6,8,-1,45,16,46,-1,45,47,16,-1,48,49,50,-1,48,51,49,-1,52,53,54,-1,2,11,0,-1,15,55,16,-1,43,44,56,-1,56,57,43,-1,58,59,60,-1,58,61,59,-1,62,27,29,-1,51,24,63,-1,64,32,33,-1,48,65,24,-1,66,67,68,-1,67,69,68,-1,70,71,12,-1,70,72,71,-1,73,74,75,-1,75,76,73,-1,75,77,78,-1,78,76,75,-1,79,80,81,-1,80,82,81,-1,83,84,85,-1,85,86,83,-1,87,88,21,-1,21,23,87,-1,89,90,91,-1,74,73,67,-1,73,69,67,-1,92,93,94,-1,30,42,95,-1,64,33,35,-1,63,24,26,-1,57,56,53,-1,53,52,57,-1,96,17,19,-1,55,46,16,-1,8,2,1,-1,96,97,98,-1,96,99,97,-1,11,100,14,-1,40,94,93,-1,40,101,94,-1,102,103,104,-1,102,105,103,-1,26,27,62,-1,106,48,50,-1,107,108,57,-1,57,52,107,-1,4,3,54,-1,57,108,43,-1,108,18,43,-1,109,110,10,-1,10,9,109,-1,6,5,7,-1,6,3,5,-1,28,111,61,-1,65,112,113,-1,65,114,112,-1,115,37,59,-1,34,33,116,-1,117,118,34,-1,32,31,33,-1,95,37,30,-1,26,25,27,-1,51,48,24,-1,64,67,66,-1,66,32,64,-1,51,63,119,-1,63,120,119,-1,29,121,62,-1,29,122,121,-1,123,83,124,-1,83,103,124,-1,70,69,72,-1,69,73,72,-1,19,18,125,-1,18,108,125,-1,1,0,15,-1,0,126,15,-1,10,127,100,-1,100,11,10,-1,39,100,127,-1,110,109,128,-1,128,129,110,-1,101,110,129,-1,14,0,11,-1,109,4,128,-1,5,4,109,-1,47,3,16,-1,47,107,3,-1,69,41,68,-1,41,69,70,-1,76,72,73,-1,76,89,72,-1,130,90,78,-1,90,130,131,-1,105,132,133,-1,105,134,132,-1,84,123,135,-1,83,123,84,-1,103,133,124,-1,103,105,133,-1,58,136,137,-1,60,136,58,-1,63,138,120,-1,26,138,63,-1,75,49,77,-1,49,75,139,-1,42,66,88,-1,32,66,42,-1,138,62,121,-1,26,62,138,-1,139,74,35,-1,139,75,74,-1,95,88,87,-1,95,42,88,-1,140,36,141,-1,36,140,142,-1,117,116,143,-1,116,117,34,-1,38,111,28,-1,38,144,111,-1,116,31,142,-1,116,33,31,-1,48,114,65,-1,48,106,114,-1,113,144,38,-1,113,112,144,-1,144,115,111,-1,115,144,141,-1,9,5,109,-1,7,5,9,-1,127,110,101,-1,10,110,127,-1,107,54,3,-1,54,107,52,-1,79,145,146,-1,79,147,145,-1,131,91,90,-1,131,80,91,-1,138,124,133,-1,138,121,124,-1,148,102,104,-1,149,102,148,-1,129,94,101,-1,129,150,94,-1,60,37,95,-1,59,37,60,-1,150,151,94,-1,151,150,152,-1,153,126,13,-1,153,154,126,-1,79,97,147,-1,79,81,97,-1,155,148,156,-1,155,157,148,-1,98,17,96,-1,157,17,98,-1,147,99,45,-1,99,147,97,-1,145,55,154,-1,55,145,46,-1,125,45,99,-1,125,47,45,-1,99,19,125,-1,96,19,99,-1,152,53,56,-1,53,152,150,-1,34,139,35,-1,34,118,139,-1,38,25,113,-1,38,27,25,-1,143,106,117,-1,143,114,106,-1,112,141,144,-1,141,112,140,-1,92,84,158,-1,92,85,84,-1,40,20,22,-1,20,40,93,-1,91,153,71,-1,91,146,153,-1,23,136,87,-1,23,159,136,-1,12,100,39,-1,12,14,100,-1,151,86,85,-1,151,156,86,-1,135,122,137,-1,135,123,122,-1,83,104,103,-1,83,86,104,-1,120,133,132,-1,138,133,120,-1,149,82,102,-1,149,81,82,-1,82,131,134,-1,80,131,82,-1,120,130,119,-1,120,132,130,-1,102,134,105,-1,102,82,134,-1,156,104,86,-1,148,104,156,-1,121,123,124,-1,123,121,122,-1,85,94,151,-1,94,85,92,-1,137,159,135,-1,137,136,159,-1,71,89,91,-1,71,72,89,-1,71,13,12,-1,71,153,13,-1,39,70,12,-1,41,70,39,-1,93,158,20,-1,92,158,93,-1,140,114,143,-1,140,112,114,-1,117,50,118,-1,50,117,106,-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_2_geometry_5_24_coordIndex_2()
		{
			int[] value = {24,113,25,-1,24,65,113,-1,118,49,139,-1,118,50,49,-1,28,58,29,-1,28,61,58,-1,155,56,44,-1,155,152,56,-1,128,54,53,-1,128,4,54,-1,154,15,126,-1,15,154,55,-1,53,129,128,-1,53,150,129,-1,157,44,17,-1,155,44,157,-1,98,81,149,-1,98,97,81,-1,146,154,153,-1,146,145,154,-1,152,156,151,-1,156,152,155,-1,157,149,148,-1,98,149,157,-1,78,119,130,-1,119,78,77,-1,80,146,91,-1,80,79,146,-1,46,147,45,-1,147,46,145,-1,68,88,66,-1,68,21,88,-1,39,101,40,-1,127,101,39,-1,111,59,61,-1,115,59,111,-1,30,142,31,-1,142,30,36,-1,142,143,116,-1,142,140,143,-1,115,36,37,-1,115,141,36,-1,29,137,122,-1,29,58,137,-1,67,35,74,-1,35,67,64,-1,119,49,51,-1,77,49,119,-1,60,87,136,-1,95,87,60,-1,158,135,159,-1,84,135,158,-1,134,130,132,-1,131,130,134,-1,78,89,76,-1,89,78,90,-1,41,21,68,-1,22,21,41,-1,20,159,23,-1,158,159,20,-1,107,125,108,-1,107,47,125,-1,0,13,126,-1,14,13,0,-1,2,7,9,-1,8,7,2,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='l_tarsal_distal_phalanx_2_geometry' coordIndex field, scene-graph level=5, element #24, 1264 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_2_geometry_5_24_coordIndex()
		{
			MFInt32 l_tarsal_distal_phalanx_2_geometry_5_24_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getl_tarsal_distal_phalanx_2_geometry_5_24_coordIndex_1()))
				.append(new MFInt32(getl_tarsal_distal_phalanx_2_geometry_5_24_coordIndex_2()));
			return l_tarsal_distal_phalanx_2_geometry_5_24_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='l_tarsal_distal_phalanx_2_coordinate' point field, scene-graph level=6, element #24, 480 total numbers made up of 160 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_2_coordinate_6_24_point()
		{
			MFVec3f l_tarsal_distal_phalanx_2_coordinate_6_24_point = new MFVec3f(new double[] {-0.0003,-0.0012,0.0020,-0.0001,-0.0023,0.0038,-0.0011,-0.0020,0.0039,0.0007,-0.0029,0.0054,-0.0005,-0.0018,0.0053,-0.0008,-0.0022,0.0051,0.0006,-0.0030,0.0053,-0.0009,-0.0026,0.0045,-0.0008,-0.0026,0.0044,-0.0012,-0.0018,0.0040,-0.0008,-0.0006,0.0021,-0.0007,-0.0009,0.0020,-0.0019,-0.0009,-0.0011,-0.0007,-0.0014,0.0004,-0.0009,-0.0010,0.0005,0.0002,-0.0026,0.0037,0.0007,-0.0032,0.0052,0.0047,-0.0006,0.0029,0.0041,-0.0011,0.0042,0.0042,-0.0014,0.0038,-0.0025,0.0029,-0.0017,-0.0044,0.0010,-0.0022,-0.0038,0.0009,-0.0017,-0.0029,0.0032,-0.0024,0.0024,-0.0010,-0.0048,0.0027,-0.0004,-0.0048,0.0038,-0.0005,-0.0050,0.0027,0.0004,-0.0048,0.0019,0.0013,-0.0048,0.0032,0.0016,-0.0052,-0.0025,0.0009,-0.0037,-0.0027,-0.0000,-0.0035,-0.0046,0.0001,-0.0030,-0.0028,-0.0007,-0.0037,-0.0023,-0.0014,-0.0042,-0.0034,-0.0019,-0.0041,-0.0019,0.0007,-0.0038,-0.0019,0.0016,-0.0041,0.0017,0.0004,-0.0045,-0.0021,-0.0001,-0.0008,-0.0021,0.0007,-0.0005,-0.0039,0.0001,-0.0018,-0.0045,0.0007,-0.0030,0.0040,-0.0004,0.0045,0.0043,0.0004,0.0031,0.0024,-0.0035,0.0030,0.0010,-0.0037,0.0032,0.0018,-0.0029,0.0051,0.0012,-0.0016,-0.0050,-0.0003,-0.0027,-0.0053,0.0000,-0.0020,-0.0050,0.0018,-0.0023,-0.0052,0.0013,-0.0009,0.0050,0.0007,0.0007,0.0040,0.0007,-0.0010,0.0051,0.0003,-0.0032,0.0035,0.0030,0.0011,0.0036,0.0030,-0.0002,0.0049,0.0010,0.0029,-0.0053,-0.0007,0.0020,-0.0047,-0.0012,0.0029,-0.0048,0.0007,0.0020,-0.0049,0.0041,0.0004,-0.0050,0.0032,-0.0014,-0.0050,-0.0048,-0.0005,-0.0030,0.0013,-0.0010,-0.0046,-0.0047,0.0001,-0.0026,-0.0048,-0.0006,-0.0028,-0.0045,0.0001,-0.0022,-0.0044,-0.0006,-0.0024,-0.0038,-0.0006,-0.0021,-0.0014,-0.0019,-0.0016,-0.0027,-0.0022,-0.0031,-0.0031,-0.0023,-0.0036,-0.0033,-0.0022,-0.0039,-0.0019,-0.0032,-0.0047,-0.0016,-0.0032,-0.0043,-0.0001,-0.0033,-0.0051,0.0000,-0.0034,-0.0047,0.0019,-0.0023,-0.0005,0.0018,-0.0024,-0.0022,0.0028,-0.0015,-0.0006,0.0030,-0.0017,-0.0023,0.0040,0.0020,-0.0028,0.0019,0.0034,-0.0024,0.0018,0.0024,-0.0011,0.0034,0.0017,-0.0016,-0.0036,0.0029,-0.0030,-0.0045,0.0009,-0.0026,-0.0013,-0.0030,-0.0037,0.0001,-0.0033,-0.0040,0.0003,-0.0026,-0.0023,-0.0001,0.0023,-0.0008,-0.0011,0.0020,-0.0006,0.0001,0.0014,0.0007,-0.0036,0.0024,-0.0036,0.0045,-0.0017,0.0029,0.0030,-0.0018,0.0013,0.0035,-0.0010,0.0012,0.0035,-0.0029,0.0031,-0.0010,-0.0005,0.0006,-0.0011,0.0004,0.0008,0.0035,-0.0007,-0.0020,0.0046,0.0001,-0.0032,0.0037,0.0004,-0.0018,0.0042,-0.0009,-0.0033,0.0001,-0.0015,-0.0048,0.0017,-0.0024,0.0053,0.0029,-0.0017,0.0049,-0.0013,-0.0011,0.0042,-0.0007,-0.0001,0.0022,0.0006,0.0014,-0.0046,0.0002,-0.0002,-0.0042,0.0015,-0.0004,-0.0045,0.0001,-0.0009,-0.0045,-0.0007,0.0014,-0.0044,-0.0021,-0.0009,-0.0039,-0.0012,-0.0015,-0.0044,-0.0014,-0.0020,-0.0046,0.0018,-0.0029,-0.0049,0.0036,-0.0018,-0.0047,0.0047,0.0003,-0.0046,0.0038,0.0020,-0.0048,0.0040,0.0022,-0.0036,0.0048,0.0003,-0.0039,0.0028,-0.0022,0.0047,-0.0001,-0.0016,0.0018,-0.0011,-0.0004,0.0007,-0.0011,-0.0007,0.0043,-0.0006,0.0001,0.0022,0.0020,-0.0029,-0.0044,0.0019,-0.0029,-0.0037,0.0037,-0.0019,-0.0042,0.0044,-0.0009,-0.0041,0.0035,-0.0018,-0.0035,0.0018,0.0036,-0.0032,-0.0010,0.0034,-0.0044,0.0013,0.0034,-0.0049,0.0043,-0.0009,-0.0047,-0.0020,-0.0027,-0.0050,-0.0009,-0.0001,-0.0039,-0.0008,0.0007,-0.0041,-0.0020,-0.0001,-0.0037,-0.0010,-0.0009,-0.0042,0.0004,0.0006,-0.0043,0.0009,-0.0029,0.0011,0.0007,-0.0026,-0.0004,0.0021,-0.0027,0.0010,0.0036,0.0001,-0.0003,0.0033,-0.0007,-0.0004,0.0005,0.0009,0.0020,0.0021,0.0017,0.0004,0.0023,0.0013,0.0018,-0.0005,-0.0020,0.0001,-0.0001,-0.0024,0.0014,0.0034,0.0009,0.0015,0.0033,0.0011,-0.0001,0.0038,-0.0001,0.0013,-0.0003,0.0034,-0.0021,-0.0006,0.0037,-0.0029});
			return l_tarsal_distal_phalanx_2_coordinate_6_24_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_2 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_2().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_2\" 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_2 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_2_JavaExport.* file validation is checked when building X3D Example Archives
                String filenameX3D  = "Skeleton/l_tarsal_distal_phalanx_2_JavaExport.x3d"; 
                String filenameX3DV = "Skeleton/l_tarsal_distal_phalanx_2_JavaExport.x3dv"; 
                String filenameJSON = "Skeleton/l_tarsal_distal_phalanx_2_JavaExport.json";
                thisExampleX3dModel.toFileX3D        (filenameX3D);
                thisExampleX3dModel.toFileClassicVRML(filenameX3DV);
// TODO         thisExampleX3dModel.toFileJSON       (filenameJSON);
        }
    }
}
