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

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] getl_tarsal_middle_phalanx_5_geometry_5_24_coordIndex_2()
		{
			int[] value = {161,176,186,-1,176,161,160,-1,14,136,45,-1,136,14,58,-1,128,18,131,-1,24,18,128,-1,23,36,182,-1,23,37,36,-1,12,133,132,-1,133,12,163,-1,25,135,42,-1,27,135,25,-1,174,164,184,-1,164,174,149,-1,22,169,167,-1,22,134,169,-1,33,181,35,-1,162,181,33,-1,86,62,127,-1,86,87,62,-1,82,183,157,-1,81,183,82,-1,150,191,153,-1,150,192,191,-1,60,159,80,-1,60,175,159,-1,102,178,103,-1,178,102,108,-1,183,110,140,-1,183,81,110,-1,79,191,192,-1,79,190,191,-1,76,192,65,-1,76,79,192,-1,67,76,65,-1,76,67,77,-1,112,70,72,-1,70,112,117,-1,144,69,68,-1,69,144,115,-1,166,71,152,-1,166,72,71,-1,105,177,179,-1,105,85,177,-1,188,153,191,-1,153,188,154,-1,189,168,172,-1,190,168,189,-1,175,5,4,-1,175,60,5,-1,42,185,44,-1,135,185,42,-1,173,187,54,-1,173,170,187,-1,189,84,188,-1,109,84,189,-1,54,130,56,-1,54,187,130,-1,88,162,91,-1,181,162,88,-1,133,185,59,-1,186,185,133,-1,184,93,92,-1,184,164,93,-1,180,48,49,-1,48,180,64,-1,98,92,96,-1,98,184,92,-1,107,157,183,-1,156,157,107,-1,52,67,50,-1,52,77,67,-1,35,182,36,-1,181,182,35,-1,97,180,49,-1,129,180,97,-1,137,18,20,-1,18,137,131,-1,103,179,177,-1,103,178,179,-1,4,176,175,-1,4,44,176,-1,139,174,99,-1,138,174,139,-1,173,147,171,-1,173,148,147,-1,172,169,170,-1,168,169,172,-1,38,167,78,-1,38,37,167,-1,34,36,39,-1,34,35,36,-1,158,111,145,-1,111,158,122,-1,143,166,165,-1,166,143,113,-1,155,75,165,-1,75,155,73,-1,136,26,95,-1,136,27,26,-1,141,29,46,-1,30,29,141,-1,93,31,28,-1,93,55,31,-1,149,53,164,-1,53,149,148,-1,167,23,22,-1,167,37,23,-1,21,18,24,-1,19,18,21,-1,11,89,12,-1,89,11,100,-1,91,161,163,-1,91,162,161,-1,8,51,9,-1,51,8,80,-1,32,80,159,-1,51,80,32,-1,5,87,6,-1,87,5,62,-1,66,120,57,-1,66,118,120,-1,123,127,126,-1,123,122,127,-1,0,158,3,-1,0,86,158,-1,124,156,101,-1,146,156,124,-1,82,116,74,-1,82,157,116,-1,155,153,154,-1,155,152,153,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='l_tarsal_middle_phalanx_5_geometry' coordIndex field, scene-graph level=5, element #24, 1528 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_middle_phalanx_5_geometry_5_24_coordIndex()
		{
			MFInt32 l_tarsal_middle_phalanx_5_geometry_5_24_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getl_tarsal_middle_phalanx_5_geometry_5_24_coordIndex_1()))
				.append(new MFInt32(getl_tarsal_middle_phalanx_5_geometry_5_24_coordIndex_2()));
			return l_tarsal_middle_phalanx_5_geometry_5_24_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='l_tarsal_middle_phalanx_5_coordinate' point field, scene-graph level=6, element #24, 579 total numbers made up of 193 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_middle_phalanx_5_coordinate_6_24_point()
		{
			MFVec3f l_tarsal_middle_phalanx_5_coordinate_6_24_point = new MFVec3f(new double[] {-0.0007,-0.0038,-0.0083,0.0005,-0.0034,-0.0085,0.0005,-0.0038,-0.0082,-0.0007,-0.0033,-0.0085,0.0000,-0.0034,0.0003,-0.0011,-0.0035,-0.0020,-0.0009,-0.0035,-0.0021,-0.0053,-0.0036,-0.0071,-0.0045,-0.0039,-0.0050,-0.0049,-0.0034,-0.0049,0.0000,-0.0036,0.0078,-0.0011,-0.0028,0.0085,-0.0015,-0.0035,0.0077,0.0019,-0.0039,0.0073,0.0035,-0.0041,0.0062,0.0037,-0.0041,0.0066,0.0018,-0.0038,0.0069,-0.0010,-0.0014,0.0084,-0.0004,-0.0003,0.0078,-0.0011,-0.0006,0.0077,-0.0004,-0.0015,0.0087,-0.0011,-0.0002,0.0064,-0.0009,0.0001,0.0045,-0.0015,-0.0004,0.0046,-0.0005,0.0002,0.0064,0.0035,-0.0033,0.0018,0.0040,-0.0034,0.0032,0.0037,-0.0036,0.0032,0.0056,-0.0007,0.0061,0.0058,-0.0018,0.0070,0.0060,-0.0018,0.0065,0.0054,-0.0005,0.0066,-0.0023,-0.0031,0.0009,-0.0020,-0.0030,0.0030,-0.0024,-0.0022,0.0009,-0.0020,-0.0024,0.0030,-0.0020,-0.0012,0.0028,-0.0018,-0.0003,0.0028,-0.0023,0.0001,0.0008,-0.0024,-0.0010,0.0008,0.0027,-0.0034,-0.0006,0.0019,-0.0037,-0.0003,0.0024,-0.0035,0.0021,0.0013,-0.0038,-0.0001,0.0009,-0.0034,0.0027,0.0049,-0.0043,0.0057,0.0055,-0.0034,0.0066,-0.0018,-0.0016,0.0063,0.0042,-0.0030,0.0072,0.0046,-0.0015,0.0072,-0.0053,-0.0019,-0.0043,-0.0031,-0.0032,-0.0012,-0.0032,-0.0020,-0.0012,0.0040,0.0002,0.0039,0.0032,0.0005,0.0040,0.0047,0.0002,0.0055,0.0038,0.0003,0.0056,-0.0060,-0.0019,-0.0057,0.0030,-0.0041,0.0050,0.0015,-0.0036,0.0057,-0.0018,-0.0037,-0.0018,-0.0034,-0.0044,-0.0053,-0.0023,-0.0034,-0.0055,0.0006,-0.0027,0.0083,0.0024,-0.0026,0.0076,-0.0046,0.0018,-0.0036,-0.0056,0.0008,-0.0057,-0.0046,-0.0000,-0.0036,-0.0006,-0.0019,-0.0077,0.0005,-0.0018,-0.0077,-0.0049,0.0027,-0.0066,-0.0031,0.0037,-0.0071,-0.0032,0.0026,-0.0070,0.0015,0.0036,-0.0073,0.0022,0.0024,-0.0071,0.0012,0.0026,-0.0071,-0.0033,0.0010,-0.0011,-0.0032,-0.0007,-0.0012,-0.0018,0.0010,0.0007,-0.0024,0.0019,-0.0013,-0.0027,-0.0036,-0.0013,0.0025,0.0020,-0.0048,0.0026,0.0024,-0.0068,0.0018,0.0038,-0.0070,0.0014,0.0031,-0.0046,-0.0004,-0.0045,-0.0059,-0.0019,-0.0037,-0.0085,-0.0018,-0.0034,-0.0056,-0.0019,-0.0025,0.0063,-0.0019,-0.0030,0.0074,-0.0020,-0.0025,0.0071,-0.0020,-0.0032,0.0063,0.0051,-0.0017,0.0052,0.0051,-0.0002,0.0053,0.0052,-0.0039,0.0054,0.0046,-0.0039,0.0045,0.0048,-0.0030,0.0048,0.0043,-0.0003,0.0067,0.0042,-0.0026,0.0033,0.0035,-0.0023,0.0019,-0.0015,-0.0024,0.0083,0.0022,-0.0026,-0.0073,0.0022,-0.0024,-0.0064,0.0016,-0.0040,-0.0062,-0.0053,0.0025,-0.0061,0.0001,-0.0039,-0.0024,0.0026,-0.0015,-0.0029,0.0025,-0.0013,-0.0060,0.0025,-0.0025,-0.0029,0.0015,0.0020,-0.0020,0.0025,0.0014,-0.0024,-0.0027,-0.0019,-0.0075,-0.0034,0.0007,-0.0071,-0.0022,0.0005,-0.0071,-0.0038,-0.0017,-0.0071,0.0013,-0.0001,-0.0071,0.0024,-0.0001,-0.0070,-0.0050,0.0007,-0.0065,-0.0054,0.0007,-0.0063,-0.0053,-0.0031,-0.0075,-0.0058,-0.0018,-0.0063,-0.0051,-0.0017,-0.0067,-0.0028,-0.0034,-0.0085,-0.0043,-0.0035,-0.0080,0.0017,-0.0022,-0.0077,0.0012,-0.0030,-0.0082,-0.0043,-0.0040,-0.0078,-0.0028,-0.0037,-0.0084,0.0008,0.0003,0.0062,0.0027,-0.0001,0.0068,0.0025,0.0004,0.0059,0.0010,-0.0001,0.0074,-0.0001,-0.0037,0.0074,-0.0003,-0.0037,0.0059,0.0004,0.0005,0.0044,0.0028,-0.0038,0.0035,0.0042,-0.0042,0.0045,0.0010,-0.0013,0.0082,0.0033,-0.0009,-0.0004,0.0031,-0.0019,-0.0005,0.0029,-0.0006,-0.0028,0.0057,-0.0031,0.0063,0.0030,-0.0029,-0.0005,-0.0011,0.0004,-0.0071,0.0000,0.0001,-0.0070,-0.0016,-0.0019,-0.0076,0.0021,-0.0013,-0.0074,0.0032,0.0007,0.0000,0.0035,0.0003,0.0024,0.0037,-0.0001,0.0023,-0.0032,0.0040,-0.0067,0.0014,-0.0035,-0.0078,-0.0013,0.0043,-0.0073,-0.0012,0.0046,-0.0069,0.0001,0.0046,-0.0070,0.0000,0.0043,-0.0074,0.0027,-0.0013,-0.0068,0.0029,-0.0002,-0.0065,-0.0019,-0.0034,-0.0087,-0.0019,-0.0035,0.0008,-0.0016,-0.0033,0.0030,-0.0016,-0.0033,0.0046,-0.0019,-0.0030,0.0046,-0.0016,-0.0036,0.0062,0.0044,-0.0004,0.0038,-0.0005,0.0026,-0.0072,-0.0018,0.0026,-0.0071,-0.0013,0.0003,0.0027,-0.0004,0.0015,0.0006,0.0000,0.0007,0.0026,0.0015,0.0010,0.0025,0.0021,0.0013,0.0002,0.0010,0.0018,0.0004,0.0026,0.0007,0.0025,0.0038,-0.0012,0.0020,-0.0011,-0.0036,0.0006,-0.0006,-0.0035,0.0029,0.0007,-0.0046,-0.0060,0.0020,-0.0034,-0.0030,0.0012,-0.0039,-0.0026,0.0028,-0.0012,0.0074,-0.0019,-0.0025,0.0046,-0.0019,-0.0014,0.0046,0.0029,-0.0001,-0.0057,0.0045,-0.0015,0.0036,0.0012,-0.0035,0.0042,-0.0004,-0.0036,0.0044,0.0020,0.0007,0.0042,0.0000,0.0039,-0.0043,0.0005,0.0025,-0.0017,-0.0009,0.0023,-0.0015,-0.0013,0.0036,-0.0042,-0.0031,0.0030,-0.0039});
			return l_tarsal_middle_phalanx_5_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_middle_phalanx_5 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_middle_phalanx_5().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_middle_phalanx_5\" 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_middle_phalanx_5 self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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