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

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] getlfmphal4_geometry_5_24_coordIndex_2()
		{
			int[] value = {0,75,130,-1,0,74,75,-1,271,129,2,-1,271,77,129,-1,69,4,272,-1,69,5,4,-1,269,273,68,-1,269,14,273,-1,118,106,127,-1,118,43,106,-1,71,126,274,-1,126,71,46,-1,275,276,277,-1,275,278,276,-1,279,67,70,-1,67,279,124,-1,105,109,108,-1,105,104,109,-1,280,120,103,-1,280,281,120,-1,101,282,99,-1,101,121,282,-1,283,284,285,-1,283,286,284,-1,130,101,99,-1,101,130,102,-1,85,287,61,-1,85,89,287,-1,52,96,62,-1,96,52,51,-1,97,11,288,-1,97,9,11,-1,67,269,68,-1,67,122,269,-1,40,112,111,-1,112,40,39,-1,83,61,60,-1,61,83,85,-1,86,19,289,-1,80,19,86,-1,119,89,88,-1,287,89,119,-1,290,91,90,-1,91,290,41,-1,84,291,290,-1,87,291,84,-1,271,277,272,-1,275,277,271,-1,95,292,293,-1,292,95,115,-1,79,92,113,-1,78,92,79,-1,125,24,126,-1,24,125,7,-1,17,116,117,-1,294,116,17,-1,295,58,296,-1,56,58,295,-1,297,66,298,-1,297,65,66,-1,82,285,284,-1,299,285,82,-1,300,293,292,-1,300,81,293,-1,114,97,288,-1,114,94,97,-1,92,63,93,-1,78,63,92,-1,30,64,110,-1,30,29,64,-1,274,103,100,-1,274,280,103,-1,22,292,278,-1,22,300,292,-1,70,272,277,-1,272,70,69,-1,114,124,279,-1,114,288,124,-1,48,270,104,-1,15,270,48,-1,281,116,297,-1,6,116,281,-1,120,283,121,-1,120,298,283,-1,23,300,22,-1,23,299,300,-1,44,3,13,-1,44,76,3,-1,59,31,111,-1,56,31,59,-1,66,29,286,-1,66,64,29,-1,119,295,49,-1,295,119,34,-1,16,51,50,-1,51,16,9,-1,32,90,91,-1,88,90,32,-1,291,26,42,-1,291,289,26,-1,87,289,291,-1,289,87,86,-1,83,87,84,-1,83,37,87,-1,49,287,119,-1,287,49,52,-1,50,17,16,-1,17,50,296,-1,58,65,294,-1,58,57,65,-1,25,110,112,-1,30,110,25,-1,284,54,82,-1,284,28,54,-1,113,81,55,-1,113,293,81,-1,5,14,3,-1,14,5,273,-1,3,74,129,-1,3,76,74,-1,76,47,73,-1,44,47,76,-1,282,299,23,-1,285,299,282,-1,280,126,24,-1,274,126,280,-1,109,127,106,-1,128,127,109,-1,276,114,279,-1,115,114,276,-1,2,275,271,-1,2,1,275,-1,297,120,281,-1,298,120,297,-1,49,296,50,-1,49,295,296,-1,110,57,59,-1,110,64,57,-1,294,297,116,-1,294,65,297,-1,299,81,300,-1,299,82,81,-1,298,286,283,-1,298,66,286,-1,56,34,31,-1,56,295,34,-1,296,294,17,-1,58,294,296,-1,92,293,113,-1,293,92,95,-1,115,278,292,-1,278,115,276,-1,290,42,41,-1,291,42,290,-1,41,33,91,-1,33,41,40,-1,89,290,90,-1,89,84,290,-1,289,27,26,-1,19,27,289,-1,80,38,36,-1,80,86,38,-1,111,33,40,-1,111,31,33,-1,288,123,124,-1,288,11,123,-1,97,51,9,-1,97,96,51,-1,52,61,287,-1,62,61,52,-1,285,121,283,-1,121,285,282,-1,286,28,284,-1,28,286,29,-1,30,27,18,-1,27,30,25,-1,99,23,21,-1,99,282,23,-1,6,280,24,-1,280,6,281,-1,104,128,109,-1,128,104,270,-1,277,279,70,-1,277,276,279,-1,1,278,275,-1,1,22,278,-1,72,274,100,-1,274,72,71,-1,43,107,106,-1,107,43,12,-1,68,5,69,-1,68,273,5,-1,272,77,271,-1,272,4,77,-1,74,2,129,-1,0,2,74,-1,102,75,98,-1,75,102,130,-1,8,15,117,-1,270,15,8,-1,123,108,122,-1,105,108,123,-1,12,269,107,-1,12,14,269,-1,179,136,301,-1,179,134,136,-1,209,178,177,-1,209,185,178,-1,145,210,142,-1,145,133,210,-1,223,180,221,-1,225,180,223,-1,230,226,229,-1,230,242,226,-1,235,302,303,-1,235,243,302,-1,251,304,305,-1,304,251,236,-1,239,264,306,-1,239,238,264,-1,250,305,263,-1,305,250,251,-1,215,307,308,-1,215,214,307,-1,162,224,163,-1,162,169,224,-1,153,218,309,-1,153,151,218,-1,310,175,262,-1,311,175,310,-1,260,259,312,-1,173,259,260,-1,176,255,168,-1,255,176,313,-1,259,171,311,-1,259,172,171,-1,188,256,220,-1,188,252,256,-1,245,313,176,-1,245,257,313,-1,313,258,255,-1,262,258,313,-1,137,268,194,-1,137,138,268,-1,144,191,135,-1,192,191,144,-1,206,314,253,-1,206,205,314,-1,235,241,243,-1,235,237,241,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=3 */
		private int[] getlfmphal4_geometry_5_24_coordIndex_3()
		{
			int[] value = {153,263,305,-1,263,153,309,-1,248,315,249,-1,316,315,248,-1,214,174,161,-1,214,216,174,-1,317,316,232,-1,316,317,318,-1,247,140,246,-1,247,318,140,-1,314,211,202,-1,186,211,314,-1,267,187,208,-1,267,143,187,-1,208,139,267,-1,208,246,139,-1,198,193,212,-1,196,193,198,-1,173,154,159,-1,154,173,261,-1,245,167,165,-1,245,176,167,-1,312,252,260,-1,252,312,256,-1,257,262,313,-1,310,262,257,-1,240,239,265,-1,239,240,231,-1,181,147,146,-1,244,147,181,-1,241,201,227,-1,201,241,253,-1,157,230,156,-1,230,157,302,-1,149,307,160,-1,149,266,307,-1,137,228,203,-1,137,182,228,-1,306,319,308,-1,306,264,319,-1,238,248,250,-1,238,233,248,-1,152,305,304,-1,152,153,305,-1,249,207,234,-1,249,315,207,-1,152,303,320,-1,303,152,304,-1,249,236,251,-1,236,249,234,-1,232,248,233,-1,232,316,248,-1,309,264,263,-1,319,264,309,-1,308,266,306,-1,266,308,307,-1,227,242,241,-1,242,227,226,-1,227,203,228,-1,203,227,201,-1,182,225,228,-1,182,180,225,-1,244,265,147,-1,244,240,265,-1,310,256,312,-1,310,257,256,-1,260,190,261,-1,252,190,260,-1,261,155,154,-1,155,261,190,-1,168,215,166,-1,215,168,217,-1,193,213,212,-1,192,213,193,-1,317,212,183,-1,317,198,212,-1,301,191,193,-1,301,136,191,-1,193,195,301,-1,195,193,196,-1,318,183,140,-1,318,317,183,-1,247,207,315,-1,207,247,204,-1,253,202,201,-1,202,253,314,-1,198,232,199,-1,317,232,198,-1,318,315,316,-1,318,247,315,-1,320,302,157,-1,320,303,302,-1,314,187,186,-1,314,205,187,-1,192,254,213,-1,192,144,254,-1,221,163,224,-1,221,148,163,-1,194,182,137,-1,182,194,181,-1,179,138,177,-1,138,179,268,-1,255,216,217,-1,255,258,216,-1,170,311,171,-1,175,311,170,-1,311,312,259,-1,311,310,312,-1,320,150,152,-1,320,189,150,-1,166,308,319,-1,166,215,308,-1,189,157,155,-1,320,157,189,-1,218,319,309,-1,218,166,319,-1,214,160,307,-1,214,161,160,-1,265,306,266,-1,265,239,306,-1,236,303,304,-1,236,235,303,-1,302,242,230,-1,243,242,302,-1,229,225,223,-1,226,225,229,-1,180,148,221,-1,180,146,148,-1,144,267,254,-1,267,144,143,-1,200,133,132,-1,210,133,200,-1,301,268,179,-1,301,195,268,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='lfmphal4_geometry' coordIndex field, scene-graph level=5, element #24, 2536 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 getlfmphal4_geometry_5_24_coordIndex()
		{
			MFInt32 lfmphal4_geometry_5_24_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getlfmphal4_geometry_5_24_coordIndex_1()))
				.append(new MFInt32(getlfmphal4_geometry_5_24_coordIndex_2()))
				.append(new MFInt32(getlfmphal4_geometry_5_24_coordIndex_3()));
			return lfmphal4_geometry_5_24_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='lfmphal4_coordinate' point field, scene-graph level=6, element #24, 963 total numbers made up of 321 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 getlfmphal4_coordinate_6_24_point()
		{
			MFVec3f lfmphal4_coordinate_6_24_point = new MFVec3f(new double[] {-0.0019,-0.0022,-0.0057,-0.0034,-0.0010,-0.0047,-0.0037,-0.0008,-0.0053,-0.0018,0.0009,-0.0052,-0.0045,0.0012,-0.0048,-0.0037,0.0026,-0.0047,0.0028,-0.0002,-0.0046,0.0028,0.0018,-0.0050,0.0026,0.0013,-0.0040,-0.0005,0.0016,-0.0010,0.0004,0.0021,-0.0021,-0.0007,0.0022,-0.0021,-0.0001,0.0038,-0.0048,0.0001,0.0027,-0.0052,-0.0014,0.0038,-0.0045,0.0016,0.0015,-0.0025,0.0012,0.0014,-0.0013,0.0025,0.0002,-0.0019,0.0012,-0.0029,-0.0006,0.0001,-0.0028,0.0003,0.0003,-0.0022,-0.0001,-0.0015,-0.0021,-0.0050,-0.0029,-0.0013,-0.0038,-0.0011,-0.0022,-0.0040,0.0029,-0.0001,-0.0058,0.0019,-0.0033,-0.0002,0.0019,-0.0034,0.0002,0.0016,-0.0033,-0.0001,0.0010,-0.0026,-0.0011,0.0015,-0.0027,-0.0013,0.0017,-0.0029,-0.0007,0.0041,-0.0015,-0.0002,0.0039,-0.0009,0.0004,0.0040,-0.0015,0.0003,0.0036,-0.0007,-0.0001,-0.0028,-0.0001,0.0015,-0.0026,-0.0009,0.0011,-0.0027,-0.0003,0.0017,-0.0025,-0.0009,0.0014,0.0032,-0.0031,0.0002,0.0039,-0.0023,0.0002,0.0035,-0.0021,0.0007,0.0027,-0.0029,0.0006,0.0011,0.0035,-0.0053,0.0012,0.0006,-0.0061,0.0027,0.0019,-0.0059,0.0027,-0.0001,-0.0067,0.0021,-0.0007,-0.0067,0.0009,0.0019,-0.0022,0.0018,0.0006,-0.0003,0.0014,0.0010,-0.0007,-0.0006,0.0013,-0.0002,-0.0005,0.0012,0.0005,-0.0016,-0.0015,0.0004,0.0002,-0.0018,-0.0006,-0.0015,-0.0014,-0.0001,0.0035,-0.0013,-0.0009,0.0028,-0.0018,-0.0016,0.0031,-0.0011,-0.0016,0.0033,-0.0020,-0.0009,-0.0025,0.0005,0.0015,-0.0015,0.0011,0.0015,-0.0016,0.0012,0.0008,-0.0023,0.0006,0.0007,0.0021,-0.0026,-0.0014,0.0025,-0.0018,-0.0021,0.0020,-0.0026,-0.0021,-0.0023,0.0029,-0.0037,-0.0026,0.0035,-0.0042,-0.0038,0.0027,-0.0044,-0.0035,0.0023,-0.0038,0.0025,-0.0015,-0.0069,0.0018,-0.0030,-0.0065,0.0010,-0.0021,-0.0063,-0.0017,-0.0019,-0.0060,-0.0001,-0.0032,-0.0060,-0.0001,-0.0006,-0.0058,-0.0044,0.0006,-0.0049,-0.0025,-0.0002,0.0007,-0.0023,-0.0008,0.0006,-0.0020,-0.0019,0.0009,-0.0018,-0.0013,-0.0012,-0.0004,-0.0018,-0.0016,-0.0021,0.0004,0.0019,-0.0006,-0.0001,0.0020,-0.0014,0.0008,0.0019,-0.0019,-0.0018,0.0012,-0.0013,-0.0011,0.0018,0.0023,0.0002,0.0009,-0.0003,0.0007,0.0018,0.0022,-0.0002,0.0012,0.0039,-0.0012,0.0006,-0.0023,-0.0002,0.0001,-0.0020,0.0008,0.0000,-0.0021,0.0008,-0.0007,-0.0026,-0.0001,-0.0007,-0.0014,0.0012,-0.0001,-0.0014,0.0015,-0.0007,0.0005,-0.0034,-0.0061,-0.0003,-0.0033,-0.0050,0.0019,-0.0033,-0.0062,0.0004,-0.0034,-0.0051,0.0004,-0.0036,-0.0057,0.0019,-0.0033,-0.0053,0.0008,0.0026,-0.0033,0.0001,0.0027,-0.0031,0.0012,0.0037,-0.0049,-0.0001,0.0040,-0.0044,-0.0000,0.0033,-0.0039,0.0010,0.0032,-0.0043,0.0026,-0.0027,-0.0008,0.0039,-0.0023,-0.0002,0.0032,-0.0031,-0.0001,-0.0022,-0.0009,0.0001,-0.0024,0.0011,-0.0018,-0.0032,0.0000,-0.0018,0.0028,-0.0004,-0.0032,0.0024,0.0006,-0.0029,0.0020,0.0028,-0.0057,0.0022,0.0005,0.0004,0.0019,-0.0030,-0.0044,0.0006,-0.0033,-0.0042,-0.0011,0.0033,-0.0037,-0.0009,0.0026,-0.0030,-0.0019,0.0024,-0.0028,0.0028,0.0021,-0.0056,0.0029,-0.0001,-0.0065,0.0021,0.0029,-0.0053,0.0020,0.0026,-0.0047,-0.0035,-0.0004,-0.0055,-0.0002,-0.0035,-0.0057,-0.0002,-0.0018,0.0052,-0.0001,-0.0023,0.0051,-0.0004,-0.0029,0.0058,-0.0005,-0.0024,0.0067,0.0003,-0.0032,0.0068,-0.0003,-0.0021,0.0069,-0.0003,-0.0016,0.0049,-0.0002,-0.0016,0.0053,0.0035,-0.0024,0.0055,0.0040,-0.0018,0.0048,0.0035,-0.0021,0.0059,0.0003,-0.0035,0.0066,0.0013,-0.0033,0.0065,0.0012,-0.0029,0.0067,0.0002,-0.0033,0.0067,-0.0026,-0.0006,0.0040,-0.0013,0.0010,0.0041,-0.0031,-0.0005,0.0036,-0.0017,0.0013,0.0035,0.0032,-0.0029,0.0009,0.0038,-0.0024,0.0008,0.0035,-0.0034,0.0011,0.0042,-0.0027,0.0011,-0.0015,-0.0032,0.0010,0.0001,-0.0032,0.0007,-0.0014,-0.0035,0.0013,0.0002,-0.0037,0.0008,-0.0026,-0.0028,0.0020,-0.0026,-0.0026,0.0018,-0.0024,0.0011,0.0030,-0.0025,0.0007,0.0025,-0.0034,-0.0006,0.0029,-0.0033,-0.0005,0.0033,0.0026,-0.0025,0.0010,0.0029,-0.0021,0.0010,0.0035,-0.0007,0.0007,0.0030,-0.0014,0.0011,0.0024,-0.0007,0.0012,-0.0035,-0.0011,0.0029,-0.0015,-0.0006,0.0024,-0.0018,-0.0013,0.0025,-0.0019,-0.0018,0.0023,-0.0015,-0.0022,0.0018,-0.0009,-0.0001,0.0021,-0.0010,-0.0007,0.0023,0.0021,-0.0012,0.0014,-0.0007,-0.0021,0.0059,-0.0006,-0.0027,0.0062,-0.0007,-0.0015,0.0061,-0.0027,-0.0012,0.0039,-0.0010,-0.0008,0.0046,-0.0011,-0.0014,0.0043,0.0038,-0.0009,0.0050,0.0035,-0.0015,0.0061,-0.0005,-0.0027,0.0061,0.0007,-0.0040,0.0052,0.0019,-0.0040,0.0050,0.0016,-0.0026,0.0009,0.0020,-0.0033,0.0007,0.0005,-0.0027,0.0010,0.0005,-0.0017,0.0068,0.0011,-0.0015,0.0067,0.0008,-0.0003,0.0059,-0.0003,-0.0009,0.0050,-0.0000,-0.0010,0.0054,0.0009,-0.0004,0.0051,0.0008,-0.0001,0.0049,0.0025,-0.0002,0.0049,0.0024,0.0000,0.0045,-0.0001,-0.0025,0.0050,-0.0000,-0.0029,0.0043,0.0002,-0.0030,0.0047,-0.0002,-0.0023,0.0046,0.0027,-0.0030,0.0044,0.0019,-0.0035,0.0043,0.0019,-0.0033,0.0038,0.0027,-0.0029,0.0037,0.0029,-0.0035,0.0050,-0.0006,-0.0023,0.0058,-0.0003,-0.0031,0.0056,0.0001,-0.0035,0.0054,0.0028,-0.0001,0.0055,0.0026,-0.0012,0.0064,-0.0002,0.0009,0.0016,0.0017,0.0007,0.0010,0.0002,0.0002,0.0016,0.0015,0.0000,0.0013,0.0041,-0.0017,0.0008,-0.0037,-0.0017,0.0028,0.0017,-0.0022,0.0013,-0.0033,-0.0011,0.0035,-0.0037,-0.0018,0.0031,-0.0033,-0.0018,0.0033,-0.0036,-0.0012,0.0032,-0.0027,-0.0018,0.0036,-0.0019,-0.0030,0.0027,-0.0008,-0.0028,0.0036,-0.0011,-0.0020,0.0041,-0.0024,-0.0030,0.0022,-0.0011,-0.0035,0.0016,0.0024,0.0003,0.0039,0.0034,-0.0007,0.0041,0.0036,-0.0005,0.0034,0.0030,-0.0031,0.0029,0.0020,-0.0038,0.0020,0.0035,-0.0034,0.0021,0.0019,-0.0034,0.0029,0.0042,-0.0004,0.0028,0.0026,0.0010,0.0033,0.0007,0.0004,0.0043,0.0006,-0.0033,0.0030,-0.0008,-0.0034,0.0021,0.0004,-0.0037,0.0018,-0.0001,0.0002,0.0045,0.0019,-0.0018,0.0014,0.0038,-0.0027,0.0048,0.0032,-0.0023,0.0044,0.0038,-0.0016,0.0033,0.0035,-0.0025,0.0031,0.0045,-0.0020,0.0024,0.0041,-0.0028,0.0022,0.0006,-0.0024,0.0012,0.0009,-0.0034,0.0039,0.0024,-0.0025,0.0064,0.0013,-0.0004,0.0015,0.0007,-0.0020,0.0015,0.0008,-0.0015,0.0018,0.0001,-0.0003,0.0018,-0.0013,-0.0018,0.0021,-0.0006,-0.0023,0.0015,-0.0008,-0.0026,0.0013,-0.0000,-0.0008,0.0020,0.0047,-0.0019,0.0017,0.0042,-0.0002,0.0021,0.0006,0.0014,0.0037,0.0004,0.0016,0.0031,0.0023,-0.0029,0.0062,-0.0002,-0.0012,0.0054,-0.0014,0.0039,-0.0041,0.0018,0.0020,-0.0036,-0.0047,0.0004,-0.0045,-0.0047,0.0012,-0.0043,-0.0025,0.0034,-0.0046,0.0028,-0.0016,-0.0066,-0.0043,0.0001,-0.0039,-0.0039,0.0002,-0.0028,-0.0044,0.0007,-0.0037,-0.0038,-0.0003,-0.0030,-0.0029,0.0017,-0.0028,0.0027,-0.0016,-0.0058,0.0025,-0.0017,-0.0046,-0.0001,-0.0031,-0.0041,0.0009,-0.0030,-0.0031,0.0005,-0.0026,-0.0020,0.0002,-0.0028,-0.0029,0.0012,-0.0027,-0.0021,-0.0004,0.0011,0.0013,-0.0016,0.0019,-0.0018,0.0003,-0.0028,0.0005,0.0017,-0.0012,0.0014,0.0010,-0.0022,0.0012,-0.0031,-0.0006,-0.0019,-0.0025,-0.0008,-0.0009,0.0029,-0.0008,-0.0021,0.0031,-0.0006,-0.0008,0.0027,-0.0002,-0.0013,0.0025,-0.0017,-0.0032,0.0019,-0.0028,-0.0031,-0.0007,-0.0021,-0.0026,-0.0023,-0.0013,-0.0023,-0.0005,-0.0011,0.0062,0.0003,-0.0038,0.0012,0.0021,-0.0038,0.0014,0.0036,-0.0035,0.0015,0.0042,-0.0028,0.0016,0.0025,0.0012,0.0026,-0.0000,0.0014,0.0019,0.0020,0.0011,0.0013,0.0047,-0.0019,0.0011,-0.0002,-0.0014,0.0021,-0.0011,-0.0013,0.0023,-0.0003,-0.0018,0.0018,0.0010,-0.0010,0.0018,0.0009,-0.0036,0.0043,0.0032,-0.0023,0.0038,0.0035,-0.0016,0.0039,0.0034,-0.0008,0.0046,0.0035,-0.0016,0.0044,0.0040,-0.0004,0.0010,0.0019,-0.0037,0.0009});
			return lfmphal4_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_4 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_4().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_4\" 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_4 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_4_JavaExport.* file validation is checked when building X3D Example Archives
                String filenameX3D  = "Skeleton/l_tarsal_middle_phalanx_4_JavaExport.x3d"; 
                String filenameX3DV = "Skeleton/l_tarsal_middle_phalanx_4_JavaExport.x3dv"; 
                String filenameJSON = "Skeleton/l_tarsal_middle_phalanx_4_JavaExport.json";
                thisExampleX3dModel.toFileX3D        (filenameX3D);
                thisExampleX3dModel.toFileClassicVRML(filenameX3DV);
// TODO         thisExampleX3dModel.toFileJSON       (filenameJSON);
        }
    }
}
