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

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] getlfmphal3_geometry_5_22_coordIndex_2()
		{
			int[] value = {162,142,161,-1,162,145,142,-1,54,144,146,-1,54,55,144,-1,155,46,150,-1,155,154,46,-1,141,156,153,-1,141,139,156,-1,97,85,152,-1,97,157,85,-1,6,94,7,-1,94,6,50,-1,151,44,43,-1,44,151,90,-1,45,150,46,-1,45,53,150,-1,69,130,123,-1,130,69,68,-1,149,29,40,-1,149,148,29,-1,148,36,78,-1,148,37,36,-1,79,18,147,-1,18,79,77,-1,80,98,92,-1,80,31,98,-1,61,83,62,-1,61,39,83,-1,25,118,126,-1,27,118,25,-1,115,144,14,-1,144,115,146,-1,142,143,99,-1,142,145,143,-1,31,106,98,-1,31,30,106,-1,1,134,2,-1,1,122,134,-1,139,140,84,-1,139,141,140,-1,87,86,101,-1,138,86,87,-1,2,136,137,-1,134,136,2,-1,95,135,132,-1,95,133,135,-1,72,64,66,-1,72,71,64,-1,68,131,130,-1,68,129,131,-1,128,24,22,-1,128,49,24,-1,121,47,65,-1,9,47,121,-1,114,126,118,-1,114,124,126,-1,125,93,123,-1,125,117,93,-1,69,4,67,-1,69,5,4,-1,0,21,1,-1,0,76,21,-1,20,127,122,-1,20,74,127,-1,10,121,23,-1,121,10,9,-1,119,103,120,-1,119,116,103,-1,72,115,13,-1,72,28,115,-1,27,63,118,-1,63,27,66,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='lfmphal3_geometry' coordIndex field, scene-graph level=5, element #22, 1288 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 getlfmphal3_geometry_5_22_coordIndex()
		{
			MFInt32 lfmphal3_geometry_5_22_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getlfmphal3_geometry_5_22_coordIndex_1()))
				.append(new MFInt32(getlfmphal3_geometry_5_22_coordIndex_2()));
			return lfmphal3_geometry_5_22_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='lfmphal3_coordinate' point field, scene-graph level=6, element #22, 489 total numbers made up of 163 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 getlfmphal3_coordinate_6_22_point()
		{
			MFVec3f lfmphal3_coordinate_6_22_point = new MFVec3f(new double[] {0.1183,0.0055,0.0583,0.1209,0.004,0.0585,0.1208,0.0042,0.0592,0.1181,0.0089,0.0587,0.1164,0.0073,0.0586,0.1155,0.0085,0.0593,0.1226,0.0084,0.0631,0.1225,0.0089,0.0616,0.1215,0.0099,0.062,0.1219,0.0113,0.0579,0.123,0.0105,0.0576,0.1198,0.011,0.0585,0.1219,0.0093,0.0583,0.1201,0.0106,0.0623,0.1194,0.01,0.064,0.1212,0.0098,0.0636,0.1183,0.0064,0.0672,0.1209,0.0058,0.0667,0.1207,0.005,0.0674,0.122,0.0054,0.0581,0.1216,0.0042,0.0582,0.121,0.0043,0.0581,0.1247,0.0076,0.0584,0.1231,0.0106,0.058,0.1244,0.0076,0.0581,0.1176,0.0111,0.0603,0.1179,0.0106,0.0615,0.1186,0.0117,0.06,0.1189,0.011,0.0612,0.1194,0.0081,0.0689,0.1198,0.0091,0.0687,0.1186,0.0091,0.0688,0.1229,0.0089,0.0671,0.1251,0.0074,0.0672,0.1247,0.0076,0.0666,0.1231,0.0086,0.0677,0.1251,0.007,0.0673,0.1246,0.006,0.0675,0.1254,0.0067,0.0671,0.1252,0.0059,0.0669,0.1184,0.007,0.0688,0.1167,0.0079,0.0687,0.117,0.007,0.0686,0.1177,0.0073,0.0662,0.1174,0.008,0.0662,0.1171,0.008,0.0644,0.1173,0.0073,0.0642,0.1208,0.012,0.0581,0.1235,0.007,0.0581,0.124,0.0062,0.058,0.1234,0.0074,0.0629,0.1232,0.008,0.0646,0.1236,0.0072,0.0645,0.1163,0.0081,0.0629,0.1173,0.0094,0.0628,0.1177,0.0091,0.0645,0.1207,0.0104,0.0622,0.1236,0.0053,0.0659,0.123,0.0055,0.0647,0.1233,0.0063,0.0645,0.1245,0.006,0.0658,0.1252,0.0059,0.0666,0.1245,0.0049,0.0667,0.1195,0.0125,0.059,0.1207,0.0117,0.0594,0.1209,0.0122,0.0585,0.1196,0.0118,0.0597,0.1162,0.007,0.059,0.1154,0.0079,0.0605,0.1152,0.0082,0.0597,0.1165,0.0068,0.0596,0.1205,0.011,0.0611,0.1198,0.0111,0.0612,0.1186,0.0056,0.0591,0.1229,0.0046,0.0583,0.1199,0.0073,0.0584,0.1185,0.0058,0.0579,0.1176,0.006,0.0681,0.123,0.0081,0.068,0.1177,0.0061,0.0684,0.1175,0.0086,0.0688,0.1238,0.0051,0.0675,0.1229,0.0045,0.0673,0.1244,0.0049,0.0671,0.1218,0.0052,0.0629,0.1226,0.0055,0.063,0.1223,0.0054,0.0648,0.1221,0.005,0.0662,0.1226,0.0045,0.067,0.1175,0.0088,0.0675,0.1171,0.0079,0.0674,0.1166,0.008,0.0684,0.1172,0.0088,0.0684,0.1154,0.0091,0.0594,0.1236,0.0076,0.0613,0.1234,0.0062,0.0602,0.124,0.0077,0.0601,0.1233,0.0063,0.0614,0.1184,0.0094,0.0683,0.1184,0.0095,0.0675,0.1246,0.0069,0.0657,0.1229,0.005,0.066,0.124,0.0076,0.0658,0.1229,0.0102,0.0589,0.1244,0.0077,0.0591,0.1195,0.0123,0.0585,0.1199,0.0095,0.0681,0.1168,0.007,0.0683,0.1253,0.0067,0.0665,0.1231,0.0045,0.0669,0.1165,0.0104,0.0604,0.1169,0.0098,0.0616,0.117,0.0065,0.0607,0.119,0.0056,0.0604,0.1183,0.0121,0.0589,0.119,0.0105,0.0624,0.1226,0.0095,0.0605,0.1163,0.0106,0.0594,0.1183,0.0123,0.0594,0.1216,0.0103,0.0609,0.1218,0.011,0.059,0.122,0.0115,0.0582,0.1215,0.0039,0.0585,0.1152,0.0091,0.0599,0.1173,0.0116,0.0591,0.1162,0.0107,0.0597,0.1172,0.0118,0.0596,0.123,0.0044,0.0587,0.1243,0.0062,0.0583,0.1158,0.0075,0.0616,0.1154,0.0087,0.0607,0.1158,0.0082,0.0618,0.1238,0.0062,0.0591,0.1226,0.0048,0.0602,0.1214,0.0041,0.0592,0.1228,0.0046,0.0593,0.1214,0.0044,0.0602,0.1207,0.0044,0.0602,0.1216,0.0055,0.0651,0.121,0.0053,0.0631,0.1214,0.0047,0.0615,0.1207,0.0049,0.0617,0.1197,0.0095,0.0672,0.1187,0.0095,0.066,0.1184,0.0098,0.0644,0.1196,0.0096,0.0658,0.1181,0.0102,0.0627,0.1208,0.005,0.0677,0.1225,0.007,0.0683,0.1216,0.0059,0.0681,0.1164,0.0074,0.0628,0.1173,0.0072,0.0674,0.1226,0.0051,0.0614,0.1194,0.0059,0.062,0.1181,0.0067,0.0639,0.1176,0.0066,0.0623,0.1198,0.0062,0.0635,0.1231,0.0063,0.063,0.1178,0.009,0.0661,0.1186,0.0067,0.0661,0.1206,0.0062,0.0656,0.1225,0.0089,0.0664,0.1218,0.0093,0.0652});
			return lfmphal3_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_middle_phalanx_3 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_3().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_3\" 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_3 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_3_JavaExport.* file validation is checked when building X3D Example Archives
                String filenameX3D  = "Skeleton/l_tarsal_middle_phalanx_3_JavaExport.x3d"; 
                String filenameX3DV = "Skeleton/l_tarsal_middle_phalanx_3_JavaExport.x3dv"; 
                String filenameJSON = "Skeleton/l_tarsal_middle_phalanx_3_JavaExport.json";
                thisExampleX3dModel.toFileX3D        (filenameX3D);
                thisExampleX3dModel.toFileClassicVRML(filenameX3DV);
// TODO         thisExampleX3dModel.toFileJSON       (filenameJSON);
        }
    }
}
