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 r_tarsal_distal_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.r_tarsal_distal_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/r_tarsal_distal_phalanx_5.x3d">r_tarsal_distal_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/rfdphal5.x3d">originals/rfdphal5.x3d</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> <a href="https://en.wikipedia.org/wiki/Phalanx_bone#Distal_phalanx" target="_blank">https://en.wikipedia.org/wiki/Phalanx_bone#Distal_phalanx</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> <a href="https://en.wikipedia.org/wiki/List_of_bones_of_the_human_skeleton" target="_blank">https://en.wikipedia.org/wiki/List_of_bones_of_the_human_skeleton</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> usage examples <a href="https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Medical" target="_blank">https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Medical</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> generator </i> </td>
			<td> X3D-Edit 4.0, <a href="https://www.web3d.org/x3d/tools/X3D-Edit" target="_blank">https://www.web3d.org/x3d/tools/X3D-Edit</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> generator </i> </td>
			<td> X3D Tidy, <a href="https://www.web3d.org/x3d/stylesheets/X3dTidy.html" target="_blank">https://www.web3d.org/x3d/stylesheets/X3dTidy.html</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> identifier </i> </td>
			<td> <a href="https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skeleton/r_tarsal_distal_phalanx_5.x3d" target="_blank">https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skeleton/r_tarsal_distal_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 r_tarsal_distal_phalanx_5
{
	/** Default constructor to create this object. */
	public r_tarsal_distal_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("r_tarsal_distal_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/rfdphal5.x3d"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("https://en.wikipedia.org/wiki/Phalanx_bone#Distal_phalanx"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("https://en.wikipedia.org/wiki/List_of_bones_of_the_human_skeleton"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("usage examples https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Medical"))
    .addMeta(new meta().setName(meta.NAME_GENERATOR  ).setContent("X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit"))
    .addMeta(new meta().setName(meta.NAME_GENERATOR  ).setContent("X3D Tidy, https://www.web3d.org/x3d/stylesheets/X3dTidy.html"))
    .addMeta(new meta().setName(meta.NAME_IDENTIFIER ).setContent("https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skeleton/r_tarsal_distal_phalanx_5.x3d"))
    .addMeta(new meta().setName(meta.NAME_LICENSE    ).setContent("../license.html")))
  .setScene(new Scene()
    .addChild(new WorldInfo().setTitle("r_tarsal_distal_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 r_tarsal_distal_phalanx_5"))
    .addChild(new Transform("r_tarsal_distal_phalanx_5").setTranslation(-0.1319,0.0087,0.0543)
      .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("r_tarsal_distal_phalanx_5_geometry").setDEF("r_tarsal_distal_phalanx_5_geometry").setCreaseAngle(1.571).setCoordIndex(getr_tarsal_distal_phalanx_5_geometry_5_24_coordIndex())
          .setCoord(new Coordinate("r_tarsal_distal_phalanx_5_coordinate").setPoint(getr_tarsal_distal_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[] getr_tarsal_distal_phalanx_5_geometry_5_24_coordIndex_1()
		{
			int[] value = {0,1,2,-1,3,4,5,-1,6,5,7,-1,6,3,5,-1,8,2,9,-1,10,11,12,-1,4,13,14,-1,13,15,14,-1,16,4,14,-1,17,18,19,-1,17,20,18,-1,21,22,23,-1,22,24,23,-1,21,23,25,-1,25,26,21,-1,27,28,29,-1,30,31,32,-1,33,34,35,-1,36,37,25,-1,34,38,39,-1,31,30,40,-1,7,41,42,-1,7,5,41,-1,19,43,44,-1,43,45,44,-1,46,35,34,-1,11,47,48,-1,11,10,47,-1,16,0,49,-1,15,50,51,-1,24,52,53,-1,52,54,53,-1,55,56,57,-1,58,59,60,-1,60,61,58,-1,62,63,64,-1,63,65,64,-1,66,67,68,-1,68,69,66,-1,67,50,70,-1,70,68,67,-1,2,71,0,-1,72,73,14,-1,48,47,74,-1,47,75,74,-1,76,77,78,-1,76,79,77,-1,31,80,32,-1,28,52,81,-1,35,82,37,-1,83,54,28,-1,84,85,86,-1,85,87,86,-1,88,89,90,-1,89,91,90,-1,92,88,63,-1,63,93,92,-1,94,22,21,-1,21,95,94,-1,96,97,98,-1,97,99,98,-1,100,66,69,-1,69,101,100,-1,98,61,102,-1,98,99,61,-1,103,104,17,-1,104,20,17,-1,105,106,92,-1,107,26,85,-1,85,84,107,-1,108,102,61,-1,83,28,109,-1,28,27,109,-1,46,34,110,-1,37,82,25,-1,28,81,29,-1,11,111,12,-1,51,72,14,-1,71,49,0,-1,62,73,72,-1,62,64,73,-1,68,111,112,-1,68,70,111,-1,2,1,65,-1,65,9,2,-1,61,60,43,-1,43,108,61,-1,31,29,80,-1,54,113,53,-1,66,100,92,-1,92,93,66,-1,51,50,67,-1,67,114,51,-1,4,3,57,-1,115,75,47,-1,10,115,47,-1,5,16,41,-1,5,4,16,-1,116,30,79,-1,117,83,109,-1,117,118,83,-1,39,119,76,-1,37,36,120,-1,121,122,36,-1,123,39,38,-1,123,119,39,-1,33,35,37,-1,39,110,34,-1,27,29,31,-1,54,52,28,-1,82,35,87,-1,87,85,82,-1,26,25,82,-1,82,85,26,-1,124,125,80,-1,125,32,80,-1,126,127,128,-1,127,129,128,-1,86,17,19,-1,19,44,86,-1,10,12,130,-1,130,115,10,-1,64,65,1,-1,41,16,49,-1,131,60,59,-1,51,14,15,-1,41,71,42,-1,41,49,71,-1,73,16,14,-1,73,0,16,-1,44,84,86,-1,84,44,91,-1,89,95,107,-1,89,106,95,-1,94,132,133,-1,94,105,132,-1,134,135,136,-1,137,135,134,-1,129,138,139,-1,129,127,138,-1,136,126,128,-1,135,126,136,-1,140,77,141,-1,140,78,77,-1,142,81,143,-1,142,29,81,-1,87,46,103,-1,87,35,46,-1,80,142,124,-1,80,29,142,-1,103,110,104,-1,103,46,110,-1,38,144,123,-1,144,38,145,-1,120,122,146,-1,122,120,36,-1,116,40,30,-1,147,40,116,-1,33,120,145,-1,33,37,120,-1,118,54,83,-1,118,113,54,-1,147,109,40,-1,147,117,109,-1,119,147,116,-1,147,119,123,-1,131,9,60,-1,131,8,9,-1,57,13,4,-1,13,57,56,-1,114,66,93,-1,114,67,66,-1,92,132,105,-1,92,100,132,-1,128,142,136,-1,124,142,128,-1,148,149,150,-1,149,148,151,-1,39,78,110,-1,39,76,78,-1,99,58,61,-1,58,99,152,-1,151,153,97,-1,154,153,151,-1,11,112,111,-1,11,154,112,-1,72,114,62,-1,114,72,51,-1,50,130,70,-1,50,15,130,-1,12,70,130,-1,12,111,70,-1,55,152,74,-1,152,55,58,-1,23,36,25,-1,121,36,23,-1,31,109,27,-1,31,40,109,-1,113,146,122,-1,118,146,113,-1,123,117,147,-1,117,123,144,-1,138,102,155,-1,98,102,138,-1,18,43,19,-1,43,18,108,-1,107,21,26,-1,107,95,21,-1,140,20,104,-1,140,156,20,-1,90,9,65,-1,90,45,9,-1,125,139,141,-1,125,129,139,-1,149,127,126,-1,149,96,127,-1,136,143,134,-1,136,142,143,-1,69,150,101,-1,69,148,150,-1,132,101,137,-1,132,100,101,-1,133,143,157,-1,134,143,133,-1,137,150,135,-1,101,150,137,-1,149,97,96,-1,149,151,97,-1,129,124,128,-1,124,129,125,-1,96,138,127,-1,138,96,98,-1,156,141,139,-1,140,141,156,-1,106,88,92,-1,89,88,106,-1,65,88,90,-1,63,88,65,-1,91,45,90,-1,91,44,45,-1,155,108,18,-1,155,102,108,-1,118,144,146,-1,118,117,144,-1,53,122,121,-1,122,53,113,-1,24,121,23,-1,53,121,24,-1,77,30,32,-1,79,30,77,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] getr_tarsal_distal_phalanx_5_geometry_5_24_coordIndex_2()
		{
			int[] value = {75,55,74,-1,55,75,56,-1,74,153,48,-1,74,152,153,-1,57,6,55,-1,57,3,6,-1,59,55,6,-1,58,55,59,-1,48,154,11,-1,48,153,154,-1,69,112,148,-1,68,112,69,-1,62,93,63,-1,114,93,62,-1,97,152,99,-1,152,97,153,-1,148,154,151,-1,148,112,154,-1,126,150,149,-1,126,135,150,-1,94,157,22,-1,94,133,157,-1,115,56,75,-1,115,13,56,-1,103,86,87,-1,103,17,86,-1,45,60,9,-1,43,60,45,-1,8,7,42,-1,131,7,8,-1,76,116,79,-1,76,119,116,-1,145,34,33,-1,34,145,38,-1,146,145,120,-1,146,144,145,-1,81,157,143,-1,81,52,157,-1,141,32,125,-1,141,77,32,-1,22,52,24,-1,52,22,157,-1,104,78,140,-1,104,110,78,-1,139,155,156,-1,139,138,155,-1,133,137,134,-1,133,132,137,-1,106,94,95,-1,94,106,105,-1,91,107,84,-1,107,91,89,-1,156,18,20,-1,156,155,18,-1,130,13,115,-1,15,13,130,-1,0,64,1,-1,64,0,73,-1,42,2,8,-1,42,71,2,-1,131,6,7,-1,131,59,6,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='r_tarsal_distal_phalanx_5_geometry' coordIndex field, scene-graph level=5, element #24, 1248 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 getr_tarsal_distal_phalanx_5_geometry_5_24_coordIndex()
		{
			MFInt32 r_tarsal_distal_phalanx_5_geometry_5_24_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getr_tarsal_distal_phalanx_5_geometry_5_24_coordIndex_1()))
				.append(new MFInt32(getr_tarsal_distal_phalanx_5_geometry_5_24_coordIndex_2()));
			return r_tarsal_distal_phalanx_5_geometry_5_24_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='r_tarsal_distal_phalanx_5_coordinate' point field, scene-graph level=6, element #24, 474 total numbers made up of 158 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 getr_tarsal_distal_phalanx_5_coordinate_6_24_point()
		{
			MFVec3f r_tarsal_distal_phalanx_5_coordinate_6_24_point = new MFVec3f(new double[] {0.0009,-0.0017,0.0020,0.0006,-0.0011,0.0013,0.0007,-0.0006,0.0014,0.0008,-0.0009,0.0031,0.0002,-0.0020,0.0030,0.0010,-0.0012,0.0029,0.0010,0.0001,0.0024,0.0012,-0.0003,0.0023,0.0007,-0.0004,0.0015,0.0008,-0.0004,0.0011,-0.0030,-0.0009,0.0021,-0.0035,-0.0006,0.0010,-0.0030,-0.0012,0.0017,-0.0007,-0.0017,0.0029,0.0002,-0.0023,0.0028,-0.0008,-0.0021,0.0027,0.0003,-0.0021,0.0029,0.0036,0.0007,-0.0002,0.0018,0.0022,0.0003,0.0031,0.0006,0.0002,0.0022,0.0025,-0.0003,0.0019,-0.0023,-0.0025,0.0003,-0.0025,-0.0030,0.0020,-0.0020,-0.0028,0.0004,-0.0020,-0.0031,0.0031,-0.0014,-0.0020,0.0031,-0.0016,-0.0018,-0.0024,-0.0009,-0.0028,-0.0021,-0.0013,-0.0028,-0.0033,-0.0012,-0.0030,-0.0019,0.0005,-0.0026,-0.0025,-0.0002,-0.0027,-0.0030,0.0005,-0.0031,0.0023,-0.0001,-0.0013,0.0020,0.0006,-0.0014,0.0040,0.0001,-0.0009,0.0020,-0.0010,-0.0020,0.0024,-0.0006,-0.0015,0.0015,0.0005,-0.0015,0.0014,0.0011,-0.0017,-0.0016,0.0000,-0.0024,0.0011,-0.0015,0.0024,0.0012,-0.0009,0.0021,0.0015,0.0004,0.0008,0.0032,0.0000,0.0001,0.0016,-0.0002,0.0005,0.0039,0.0006,-0.0009,-0.0030,-0.0003,0.0023,-0.0033,0.0003,0.0012,0.0010,-0.0015,0.0023,-0.0014,-0.0028,0.0012,-0.0002,-0.0028,0.0014,-0.0015,-0.0021,-0.0031,0.0000,-0.0015,-0.0028,-0.0011,-0.0014,-0.0029,-0.0003,0.0009,0.0021,-0.0006,-0.0003,0.0029,0.0000,-0.0005,0.0030,-0.0004,0.0008,0.0013,0.0005,0.0002,0.0016,0.0008,0.0003,0.0012,-0.0003,0.0011,0.0011,0.0003,-0.0018,0.0009,0.0005,-0.0017,0.0005,0.0006,-0.0013,0.0012,0.0007,-0.0011,0.0008,-0.0014,-0.0021,0.0000,-0.0014,-0.0023,0.0005,-0.0022,-0.0018,0.0006,-0.0022,-0.0017,-0.0001,-0.0024,-0.0023,0.0012,0.0011,-0.0011,0.0020,0.0004,-0.0023,0.0016,0.0008,-0.0019,0.0018,-0.0023,0.0011,0.0017,-0.0021,0.0000,0.0026,0.0003,0.0014,-0.0022,-0.0012,0.0019,-0.0028,0.0007,0.0021,-0.0022,-0.0010,0.0012,-0.0025,-0.0036,-0.0005,-0.0030,-0.0027,-0.0017,-0.0029,0.0042,-0.0005,-0.0010,-0.0012,-0.0010,-0.0025,0.0038,-0.0006,-0.0005,0.0042,-0.0006,-0.0007,0.0038,0.0001,-0.0003,0.0041,0.0000,-0.0006,0.0013,-0.0016,-0.0002,0.0024,-0.0018,-0.0011,0.0016,-0.0008,0.0003,0.0032,-0.0006,-0.0002,-0.0001,-0.0021,-0.0008,-0.0004,-0.0022,0.0001,0.0002,-0.0026,-0.0026,0.0016,-0.0023,-0.0022,-0.0031,0.0007,-0.0004,-0.0029,0.0005,0.0003,-0.0019,0.0015,0.0001,-0.0019,0.0012,0.0007,-0.0014,-0.0022,-0.0009,-0.0025,-0.0019,-0.0009,-0.0002,0.0016,0.0005,0.0038,0.0007,-0.0005,0.0029,0.0023,-0.0008,0.0001,-0.0025,-0.0020,0.0013,-0.0022,-0.0017,0.0029,-0.0018,-0.0016,0.0006,0.0014,0.0007,-0.0014,-0.0006,-0.0024,0.0030,0.0019,-0.0013,-0.0033,-0.0015,0.0010,-0.0027,-0.0011,0.0006,-0.0001,-0.0012,-0.0026,-0.0004,-0.0024,0.0005,-0.0019,-0.0013,0.0026,-0.0008,0.0008,-0.0023,-0.0003,-0.0003,-0.0020,-0.0002,-0.0008,-0.0023,0.0004,0.0009,-0.0020,0.0018,-0.0006,-0.0017,0.0013,-0.0014,-0.0025,0.0011,-0.0011,-0.0023,0.0005,0.0004,-0.0018,-0.0042,-0.0007,-0.0027,-0.0035,0.0008,-0.0028,-0.0040,-0.0008,-0.0014,-0.0037,0.0008,-0.0010,-0.0042,-0.0007,-0.0021,-0.0037,0.0010,-0.0017,-0.0018,-0.0017,0.0024,0.0007,0.0000,0.0016,-0.0015,-0.0026,-0.0018,-0.0016,-0.0026,-0.0024,-0.0031,-0.0023,-0.0023,-0.0036,-0.0016,-0.0016,-0.0037,-0.0016,-0.0022,-0.0030,-0.0022,-0.0017,-0.0021,0.0022,-0.0005,-0.0020,0.0024,-0.0012,0.0005,0.0026,-0.0019,-0.0015,0.0023,-0.0025,-0.0037,-0.0015,-0.0027,-0.0030,-0.0022,-0.0027,0.0007,-0.0002,-0.0017,0.0016,-0.0001,-0.0015,0.0008,-0.0006,-0.0020,-0.0005,0.0002,-0.0020,-0.0027,-0.0011,0.0000,-0.0033,-0.0004,-0.0005,-0.0030,-0.0013,-0.0007,-0.0030,-0.0004,0.0001,-0.0020,0.0010,0.0011,-0.0029,0.0004,0.0008,-0.0030,-0.0004,0.0006,-0.0001,0.0026,-0.0001,0.0001,0.0028,-0.0007,-0.0014,-0.0025,-0.0029});
			return r_tarsal_distal_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 r_tarsal_distal_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 r_tarsal_distal_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.r_tarsal_distal_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.r_tarsal_distal_phalanx_5 self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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