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

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] getl_tarsal_proximal_phalanx_1_geometry_5_24_coordIndex_2()
		{
			int[] value = {4,1,0,-1,83,232,202,-1,83,84,232,-1,43,68,193,-1,42,68,43,-1,89,105,186,-1,74,105,89,-1,47,106,6,-1,47,49,106,-1,185,114,236,-1,185,115,114,-1,200,83,196,-1,181,83,200,-1,202,237,235,-1,232,237,202,-1,72,181,200,-1,72,110,181,-1,112,61,60,-1,112,151,61,-1,149,189,192,-1,147,189,149,-1,78,238,82,-1,78,239,238,-1,88,82,238,-1,82,88,80,-1,79,94,77,-1,94,79,95,-1,188,112,111,-1,188,81,112,-1,113,188,111,-1,188,113,93,-1,230,197,233,-1,199,197,230,-1,104,186,105,-1,104,187,186,-1,183,229,44,-1,182,229,183,-1,68,139,193,-1,68,67,139,-1,174,180,178,-1,174,173,180,-1,216,175,210,-1,175,216,176,-1,240,177,212,-1,240,175,177,-1,213,173,172,-1,213,179,173,-1,117,241,116,-1,241,117,119,-1,171,240,172,-1,171,211,240,-1,116,171,174,-1,171,116,241,-1,239,208,238,-1,239,156,208,-1,158,88,87,-1,158,152,88,-1,224,170,222,-1,224,169,170,-1,125,22,242,-1,22,125,20,-1,222,243,220,-1,243,222,170,-1,244,208,166,-1,86,208,244,-1,220,244,40,-1,220,243,244,-1,126,39,128,-1,126,221,39,-1,245,163,137,-1,245,246,163,-1,144,246,247,-1,163,246,144,-1,136,143,142,-1,136,135,143,-1,140,248,247,-1,140,161,248,-1,29,141,228,-1,29,35,141,-1,249,161,160,-1,249,248,161,-1,153,160,159,-1,160,153,157,-1,249,157,250,-1,157,249,160,-1,227,250,226,-1,250,227,249,-1,29,223,145,-1,223,29,228,-1,217,33,215,-1,164,33,217,-1,251,218,207,-1,251,252,218,-1,134,214,133,-1,134,206,214,-1,253,251,254,-1,146,251,253,-1,253,239,190,-1,156,239,253,-1,138,149,139,-1,149,138,150,-1,61,159,196,-1,61,153,159,-1,148,245,252,-1,148,150,245,-1,146,190,147,-1,190,146,253,-1,254,207,205,-1,251,207,254,-1,206,215,214,-1,206,217,215,-1,146,252,251,-1,146,148,252,-1,252,137,218,-1,252,245,137,-1,242,27,145,-1,27,242,22,-1,145,225,242,-1,145,223,225,-1,226,169,224,-1,226,250,169,-1,250,158,169,-1,250,157,158,-1,249,162,248,-1,249,227,162,-1,72,140,67,-1,140,72,161,-1,136,37,31,-1,37,136,142,-1,143,163,144,-1,135,163,143,-1,138,247,246,-1,138,140,247,-1,150,246,245,-1,150,138,246,-1,129,209,23,-1,129,131,209,-1,166,40,244,-1,166,38,40,-1,165,38,166,-1,154,205,16,-1,154,254,205,-1,243,86,244,-1,243,87,86,-1,87,170,158,-1,87,243,170,-1,221,125,219,-1,221,126,125,-1,219,242,225,-1,242,219,125,-1,238,86,88,-1,238,208,86,-1,241,211,171,-1,211,241,204,-1,118,241,119,-1,204,241,118,-1,172,212,213,-1,172,240,212,-1,122,210,120,-1,210,122,216,-1,114,111,58,-1,114,113,111,-1,191,52,89,-1,91,52,191,-1,149,193,139,-1,193,149,192,-1,102,109,103,-1,108,109,102,-1,44,231,234,-1,44,229,231,-1,185,203,184,-1,203,185,236,-1,231,233,234,-1,231,230,233,-1,236,96,203,-1,236,57,96,-1,235,98,101,-1,98,235,237,-1,92,47,6,-1,47,92,94,-1,63,113,115,-1,113,63,93,-1,95,81,188,-1,81,95,79,-1,152,80,88,-1,152,151,80,-1,78,190,239,-1,76,190,78,-1,192,3,91,-1,189,3,192,-1,247,162,144,-1,247,248,162,-1,82,77,78,-1,77,82,79,-1,189,75,3,-1,189,76,75,-1,73,13,55,-1,7,13,73,-1,70,72,69,-1,110,72,70,-1,50,69,68,-1,69,50,70,-1,236,58,57,-1,236,114,58,-1,74,54,105,-1,55,54,74,-1,198,50,51,-1,198,194,50,-1,3,201,90,-1,3,5,201,-1,8,1,92,-1,8,9,1,-1,97,101,96,-1,101,97,235,-1,234,187,104,-1,233,187,234,-1,198,237,232,-1,198,199,237,-1,98,199,230,-1,98,237,199,-1,102,231,229,-1,99,231,102,-1,48,182,49,-1,108,182,48,-1,228,226,223,-1,226,228,227,-1,225,222,219,-1,222,225,224,-1,221,40,39,-1,40,221,220,-1,218,164,217,-1,218,137,164,-1,209,176,168,-1,209,177,176,-1,216,168,176,-1,216,123,168,-1,37,32,31,-1,32,37,34,-1,30,215,33,-1,178,215,30,-1,133,213,130,-1,213,133,179,-1,131,177,209,-1,177,131,212,-1,240,210,175,-1,211,210,240,-1,25,38,26,-1,128,38,25,-1,26,167,155,-1,26,165,167,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=3 */
		private int[] getl_tarsal_proximal_phalanx_1_geometry_5_24_coordIndex_3()
		{
			int[] value = {128,18,17,-1,128,25,18,-1,254,156,253,-1,156,254,154,-1,16,134,132,-1,16,205,134,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='l_tarsal_proximal_phalanx_1_geometry' coordIndex field, scene-graph level=5, element #24, 2024 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_proximal_phalanx_1_geometry_5_24_coordIndex()
		{
			MFInt32 l_tarsal_proximal_phalanx_1_geometry_5_24_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getl_tarsal_proximal_phalanx_1_geometry_5_24_coordIndex_1()))
				.append(new MFInt32(getl_tarsal_proximal_phalanx_1_geometry_5_24_coordIndex_2()))
				.append(new MFInt32(getl_tarsal_proximal_phalanx_1_geometry_5_24_coordIndex_3()));
			return l_tarsal_proximal_phalanx_1_geometry_5_24_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='l_tarsal_proximal_phalanx_1_coordinate' point field, scene-graph level=6, element #24, 765 total numbers made up of 255 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_proximal_phalanx_1_coordinate_6_24_point()
		{
			MFVec3f l_tarsal_proximal_phalanx_1_coordinate_6_24_point = new MFVec3f(new double[] {0.0067,0.0004,0.0121,0.0060,0.0011,0.0133,0.0087,-0.0006,0.0131,0.0076,-0.0009,0.0104,0.0060,0.0006,0.0117,0.0079,-0.0008,0.0112,0.0052,0.0020,0.0155,0.0081,-0.0016,0.0152,0.0062,0.0006,0.0147,0.0068,0.0006,0.0143,0.0084,-0.0011,0.0145,0.0088,-0.0029,0.0137,0.0086,-0.0036,0.0138,0.0082,-0.0014,0.0165,-0.0021,0.0074,-0.0081,-0.0010,0.0074,-0.0070,0.0014,0.0073,-0.0071,-0.0084,0.0040,-0.0135,-0.0084,0.0044,-0.0137,-0.0088,0.0020,-0.0153,-0.0091,0.0017,-0.0147,-0.0086,0.0020,-0.0155,-0.0086,-0.0014,-0.0159,-0.0057,0.0067,-0.0116,-0.0081,0.0044,-0.0140,-0.0060,0.0067,-0.0112,-0.0021,0.0073,-0.0069,-0.0069,-0.0026,-0.0170,-0.0029,-0.0040,-0.0159,-0.0034,-0.0053,-0.0155,0.0092,-0.0005,-0.0140,0.0072,-0.0036,-0.0150,0.0068,-0.0034,-0.0151,0.0093,-0.0006,-0.0138,0.0043,-0.0049,-0.0153,0.0005,-0.0050,-0.0158,0.0005,-0.0047,-0.0158,0.0044,-0.0053,-0.0152,-0.0026,0.0065,-0.0071,-0.0057,0.0053,-0.0092,-0.0050,0.0043,-0.0077,0.0054,-0.0063,0.0085,0.0048,-0.0054,0.0074,0.0067,-0.0049,0.0075,0.0039,-0.0037,0.0162,0.0063,-0.0042,0.0161,0.0057,-0.0009,0.0170,0.0015,0.0015,0.0144,0.0011,0.0009,0.0152,0.0019,0.0011,0.0151,0.0026,-0.0047,0.0080,0.0030,-0.0056,0.0096,0.0086,-0.0044,0.0120,0.0087,-0.0032,0.0124,0.0087,-0.0047,0.0158,0.0091,-0.0046,0.0156,0.0079,-0.0014,0.0166,-0.0057,-0.0080,0.0109,-0.0062,-0.0077,0.0110,-0.0054,-0.0071,0.0096,-0.0057,-0.0067,0.0098,-0.0054,-0.0057,0.0083,-0.0050,-0.0063,0.0086,-0.0045,-0.0023,0.0167,-0.0040,-0.0025,0.0170,-0.0019,-0.0002,0.0162,-0.0020,0.0000,0.0157,0.0043,-0.0047,0.0036,0.0045,-0.0051,0.0073,0.0032,-0.0050,0.0051,0.0018,-0.0047,0.0069,0.0005,-0.0043,0.0086,0.0004,-0.0046,0.0043,0.0088,-0.0044,0.0140,0.0089,-0.0066,0.0128,0.0053,0.0011,0.0115,0.0050,0.0009,0.0096,0.0019,0.0012,0.0115,0.0020,0.0014,0.0097,-0.0016,-0.0002,0.0113,-0.0045,-0.0019,0.0094,-0.0049,-0.0017,0.0111,-0.0016,-0.0000,0.0095,-0.0014,-0.0053,0.0086,0.0004,-0.0047,0.0096,0.0071,-0.0059,0.0087,-0.0040,0.0007,-0.0005,-0.0047,-0.0002,-0.0009,-0.0040,-0.0008,0.0044,0.0079,-0.0064,0.0104,0.0079,-0.0029,0.0108,0.0079,-0.0034,0.0102,0.0052,0.0014,0.0133,-0.0049,-0.0020,0.0158,0.0016,0.0011,0.0133,-0.0016,-0.0003,0.0131,-0.0035,-0.0080,0.0112,-0.0034,-0.0075,0.0098,0.0009,-0.0056,0.0124,0.0009,-0.0054,0.0143,-0.0010,-0.0062,0.0142,-0.0011,-0.0069,0.0118,0.0010,-0.0034,0.0163,-0.0008,-0.0047,0.0167,0.0064,-0.0069,0.0132,0.0086,-0.0069,0.0130,0.0049,0.0017,0.0159,-0.0025,-0.0016,0.0169,0.0013,-0.0006,0.0161,-0.0006,-0.0011,0.0169,0.0004,-0.0044,0.0065,-0.0066,-0.0053,0.0123,-0.0062,-0.0049,0.0107,-0.0064,-0.0049,0.0151,-0.0062,-0.0075,0.0140,-0.0062,-0.0056,0.0161,0.0039,-0.0011,-0.0128,0.0038,-0.0032,-0.0143,-0.0029,-0.0034,-0.0158,0.0000,-0.0037,-0.0147,-0.0038,-0.0014,-0.0141,-0.0067,-0.0025,-0.0169,-0.0074,-0.0009,-0.0166,-0.0083,0.0020,-0.0161,-0.0079,-0.0009,-0.0166,-0.0096,0.0012,-0.0136,-0.0081,0.0037,-0.0123,0.0015,0.0064,-0.0051,-0.0057,0.0060,-0.0105,-0.0020,0.0075,-0.0103,0.0005,0.0080,-0.0108,-0.0020,0.0080,-0.0117,0.0009,0.0080,-0.0100,0.0045,0.0077,-0.0102,0.0044,0.0074,-0.0093,0.0077,-0.0052,-0.0107,0.0074,-0.0043,-0.0127,0.0091,-0.0005,-0.0095,0.0062,-0.0041,-0.0019,0.0062,-0.0043,0.0035,0.0040,-0.0052,-0.0025,0.0004,-0.0061,-0.0133,0.0048,-0.0057,-0.0131,0.0053,-0.0065,-0.0113,0.0049,-0.0060,-0.0100,-0.0076,-0.0041,-0.0153,0.0060,0.0012,-0.0004,0.0067,-0.0006,0.0051,0.0068,0.0001,-0.0007,0.0072,-0.0026,0.0045,0.0068,-0.0020,-0.0013,-0.0057,-0.0044,0.0090,-0.0054,-0.0040,0.0035,-0.0052,-0.0052,0.0033,0.0024,0.0056,-0.0041,0.0013,0.0057,-0.0036,0.0019,0.0037,0.0001,-0.0055,-0.0049,-0.0022,-0.0062,-0.0034,-0.0019,-0.0033,-0.0060,0.0037,-0.0037,-0.0054,-0.0021,0.0004,-0.0052,-0.0023,0.0004,-0.0059,-0.0107,0.0073,-0.0047,-0.0092,0.0092,-0.0005,-0.0118,-0.0019,0.0064,-0.0060,-0.0015,0.0048,-0.0042,0.0005,0.0053,-0.0038,-0.0081,0.0046,-0.0148,-0.0076,-0.0031,-0.0076,-0.0074,-0.0023,-0.0070,-0.0004,0.0021,-0.0116,-0.0001,0.0051,-0.0113,0.0043,0.0051,-0.0107,0.0043,0.0026,-0.0114,-0.0047,0.0048,-0.0125,-0.0077,0.0046,-0.0148,-0.0054,0.0069,-0.0127,0.0093,0.0030,-0.0132,0.0044,0.0075,-0.0106,0.0082,0.0052,-0.0119,-0.0008,-0.0051,0.0072,0.0019,-0.0006,0.0162,0.0034,-0.0009,0.0164,-0.0033,-0.0056,0.0165,-0.0057,-0.0057,0.0163,0.0076,-0.0067,0.0104,0.0060,-0.0067,0.0105,-0.0050,-0.0017,0.0129,0.0072,-0.0009,0.0089,0.0050,0.0014,0.0053,0.0074,-0.0052,0.0090,0.0076,-0.0029,0.0082,0.0068,-0.0041,0.0074,0.0010,-0.0047,0.0095,-0.0030,-0.0066,0.0087,-0.0030,-0.0063,0.0083,0.0030,-0.0059,0.0099,0.0013,-0.0051,0.0109,0.0013,-0.0052,0.0112,-0.0020,-0.0057,0.0058,0.0083,-0.0023,0.0114,-0.0013,-0.0060,0.0102,-0.0033,-0.0077,0.0141,-0.0026,-0.0014,-0.0136,0.0044,0.0067,-0.0072,0.0079,0.0047,-0.0100,0.0077,0.0040,-0.0082,-0.0013,0.0029,0.0001,-0.0055,0.0071,-0.0125,-0.0045,0.0017,-0.0132,-0.0024,0.0020,-0.0124,-0.0020,0.0079,-0.0119,0.0006,0.0077,-0.0111,0.0083,0.0053,-0.0116,0.0097,0.0030,-0.0130,-0.0079,0.0020,-0.0161,0.0092,0.0026,-0.0109,0.0087,0.0021,-0.0086,-0.0093,-0.0002,-0.0112,-0.0067,0.0017,-0.0084,-0.0077,0.0029,-0.0102,-0.0084,-0.0011,-0.0092,-0.0077,-0.0050,-0.0125,-0.0086,-0.0032,-0.0100,-0.0093,-0.0031,-0.0120,-0.0072,-0.0049,-0.0103,-0.0037,-0.0059,-0.0107,-0.0037,-0.0062,-0.0131,0.0019,-0.0034,0.0162,0.0014,-0.0056,0.0124,0.0015,-0.0054,0.0142,0.0005,-0.0052,0.0110,0.0035,-0.0063,0.0115,0.0037,-0.0063,0.0136,-0.0011,-0.0063,0.0106,-0.0057,-0.0077,0.0141,0.0006,-0.0053,0.0113,-0.0011,0.0011,0.0051,0.0021,0.0020,0.0053,-0.0024,0.0050,-0.0119,-0.0004,-0.0014,-0.0128,-0.0093,-0.0022,-0.0144,-0.0057,0.0004,-0.0059,-0.0043,0.0026,-0.0051,0.0077,-0.0011,-0.0055,0.0069,-0.0044,-0.0064,0.0045,-0.0057,-0.0070,0.0005,-0.0057,-0.0082,-0.0035,-0.0056,-0.0083,-0.0067,-0.0047,-0.0081,0.0068,0.0026,-0.0046,0.0076,0.0009,-0.0048,0.0043,0.0030,-0.0001,0.0042,0.0051,-0.0042});
			return l_tarsal_proximal_phalanx_1_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_proximal_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_proximal_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_proximal_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_proximal_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_proximal_phalanx_1_JavaExport.* file validation is checked when building X3D Example Archives
                String filenameX3D  = "Skeleton/l_tarsal_proximal_phalanx_1_JavaExport.x3d"; 
                String filenameX3DV = "Skeleton/l_tarsal_proximal_phalanx_1_JavaExport.x3dv"; 
                String filenameJSON = "Skeleton/l_tarsal_proximal_phalanx_1_JavaExport.json";
                thisExampleX3dModel.toFileX3D        (filenameX3D);
                thisExampleX3dModel.toFileClassicVRML(filenameX3DV);
// TODO         thisExampleX3dModel.toFileJSON       (filenameJSON);
        }
    }
}
