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> *enter description here, short-sentence summaries preferred*. </p>
 <p> Related links:  source lfreecrt.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.lfreecrt&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/lfreecrt.x3d">lfreecrt.x3d</a> </td>
		</tr>
		<tr style="color:burntorange">
			<td style="text-align:right; vertical-align: text-top;"> <i> warning </i> </td>
			<td> fix naming </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> description </i> </td>
			<td> *enter description here, short-sentence summaries preferred* </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/lfreecrt.x3d">originals/lfreecrt.x3d</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> *enter reference citation or relative/online url here* </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/lfreecrt.x3d" target="_blank">https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skeleton/lfreecrt.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 lfreecrt
{
	/** Default constructor to create this object. */
	public lfreecrt ()
	{
	  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("lfreecrt.x3d"))
    .addMeta(new meta().setName(meta.NAME_WARNING    ).setContent("fix naming"))
    .addMeta(new meta().setName(meta.NAME_DESCRIPTION).setContent("*enter description here, short-sentence summaries preferred*"))
    .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/lfreecrt.x3d"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("*enter reference citation or relative/online url here*"))
    .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/lfreecrt.x3d"))
    .addMeta(new meta().setName(meta.NAME_LICENSE    ).setContent("../license.html")))
  .setScene(new Scene()
    .addChild(new WorldInfo().setTitle("*TODO_add_title*"))
    .addComments(" user hovering reveals description, user selection/deselection temporarily binds/unbinds a hidden close-up viewpoint ")
    .addChild(new TouchSensor("UserTouchSensor").setDescription("cartilage lfreecrt"))
    .addChild(new Transform("lfreecrt").setTranslation(0.0390,1.3548,0.0658)
      .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("CartilageMaterial").setAmbientIntensity(0.965).setDiffuseColor(0.9843,0.949,0.7843).setShininess(0.05).setSpecularColor(0.9647,0.949,0.9098)))
        .setGeometry(new IndexedFaceSet("lfreecrt_geometry").setDEF("lfreecrt_geometry").setCreaseAngle(1.571).setCoordIndex(getlfreecrt_geometry_5_25_coordIndex())
          .setCoord(new Coordinate("lfreecrt_coordinate").setPoint(getlfreecrt_coordinate_6_25_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[] getlfreecrt_geometry_5_25_coordIndex_1()
		{
			int[] value = {0,1,2,-1,1,3,2,-1,4,5,6,-1,6,7,4,-1,7,8,4,-1,9,10,11,-1,12,0,13,-1,0,2,13,-1,14,15,16,-1,16,17,14,-1,15,18,19,-1,19,16,15,-1,20,13,2,-1,2,21,20,-1,22,23,24,-1,24,25,22,-1,26,27,28,-1,29,18,15,-1,30,26,31,-1,30,27,26,-1,24,23,32,-1,32,33,24,-1,31,34,35,-1,31,26,34,-1,36,37,38,-1,37,39,38,-1,40,41,42,-1,40,43,41,-1,44,43,40,-1,40,45,44,-1,40,42,46,-1,46,47,40,-1,48,44,45,-1,45,49,48,-1,50,51,52,-1,53,37,36,-1,53,54,37,-1,55,56,57,-1,55,58,56,-1,59,10,60,-1,59,11,10,-1,17,61,62,-1,17,63,61,-1,64,65,66,-1,65,64,67,-1,68,69,59,-1,68,70,69,-1,35,1,31,-1,35,3,1,-1,30,71,32,-1,30,72,71,-1,73,74,75,-1,33,74,73,-1,76,19,77,-1,76,78,19,-1,17,79,63,-1,16,79,17,-1,80,66,81,-1,66,80,64,-1,82,83,84,-1,82,85,83,-1,86,70,68,-1,86,21,70,-1,35,87,69,-1,35,34,87,-1,68,60,83,-1,68,59,60,-1,88,89,67,-1,88,90,89,-1,91,65,92,-1,65,91,62,-1,72,93,71,-1,72,94,93,-1,75,95,96,-1,74,95,75,-1,97,78,76,-1,97,98,78,-1,25,33,73,-1,25,24,33,-1,27,32,23,-1,32,27,30,-1,99,100,98,-1,99,101,100,-1,61,4,8,-1,61,63,4,-1,98,79,78,-1,98,100,79,-1,15,102,29,-1,14,102,15,-1,103,92,104,-1,92,103,91,-1,23,28,27,-1,23,22,28,-1,105,87,34,-1,105,106,87,-1,25,107,22,-1,108,107,25,-1,109,82,80,-1,109,110,82,-1,111,86,85,-1,111,112,86,-1,112,21,86,-1,112,20,21,-1,110,85,82,-1,110,111,85,-1,14,62,91,-1,62,14,17,-1,0,113,94,-1,0,12,113,-1,93,114,95,-1,93,115,114,-1,99,97,116,-1,97,99,98,-1,96,116,97,-1,96,117,116,-1,94,115,93,-1,94,113,115,-1,81,7,118,-1,8,7,81,-1,80,118,109,-1,81,118,80,-1,117,95,114,-1,95,117,96,-1,11,106,9,-1,87,106,11,-1,26,105,34,-1,26,28,105,-1,9,90,10,-1,9,104,90,-1,91,102,14,-1,91,103,102,-1,29,108,18,-1,29,107,108,-1,63,100,4,-1,79,100,63,-1,77,18,108,-1,19,18,77,-1,4,101,5,-1,100,101,4,-1,73,108,25,-1,77,108,73,-1,96,76,75,-1,96,97,76,-1,71,95,74,-1,71,93,95,-1,1,94,72,-1,1,0,94,-1,92,67,89,-1,67,92,65,-1,83,88,84,-1,83,60,88,-1,11,69,87,-1,69,11,59,-1,21,3,70,-1,21,2,3,-1,86,83,85,-1,83,86,68,-1,82,64,80,-1,64,82,84,-1,61,81,66,-1,61,8,81,-1,78,16,19,-1,78,79,16,-1,75,77,73,-1,75,76,77,-1,33,71,74,-1,32,71,33,-1,31,72,30,-1,31,1,72,-1,3,69,70,-1,69,3,35,-1,84,67,64,-1,67,84,88,-1,62,66,65,-1,62,61,66,-1,90,60,10,-1,60,90,88,-1,119,57,50,-1,120,57,119,-1,121,122,123,-1,121,124,122,-1,125,126,127,-1,128,126,125,-1,129,46,130,-1,129,47,46,-1,131,132,133,-1,132,131,134,-1,135,55,38,-1,135,58,55,-1,57,51,50,-1,57,56,51,-1,121,136,124,-1,121,137,136,-1,138,139,140,-1,138,141,139,-1,53,142,54,-1,143,142,53,-1,127,49,45,-1,127,126,49,-1,40,127,45,-1,127,40,47,-1,46,144,133,-1,46,42,144,-1,145,131,146,-1,131,145,147,-1,134,143,132,-1,134,139,143,-1,36,130,53,-1,130,36,129,-1,147,148,149,-1,147,145,148,-1,150,151,152,-1,153,151,150,-1,154,126,155,-1,154,49,126,-1,150,120,119,-1,155,120,150,-1,122,153,123,-1,153,122,149,-1,152,156,157,-1,151,156,152,-1,38,128,125,-1,38,55,128,-1,158,146,159,-1,146,158,145,-1,145,160,148,-1,145,158,160,-1,161,49,154,-1,48,49,161,-1,151,160,156,-1,148,160,151,-1,144,41,162,-1,42,41,144,-1,159,144,162,-1,144,159,146,-1,157,154,152,-1,157,161,154,-1,163,149,122,-1,149,163,147,-1,119,153,150,-1,119,123,153,-1,155,128,120,-1,126,128,155,-1,152,155,150,-1,152,154,155,-1,153,148,151,-1,149,148,153,-1,129,38,125,-1,129,36,38,-1,53,132,143,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] getlfreecrt_geometry_5_25_coordIndex_2()
		{
			int[] value = {132,53,130,-1,163,139,134,-1,163,140,139,-1,146,133,144,-1,133,146,131,-1,52,121,50,-1,52,137,121,-1,141,143,139,-1,141,142,143,-1,124,138,140,-1,124,136,138,-1,147,134,131,-1,134,147,163,-1,130,133,132,-1,130,46,133,-1,125,47,129,-1,125,127,47,-1,140,122,124,-1,122,140,163,-1,50,123,119,-1,50,121,123,-1,120,55,57,-1,128,55,120,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='lfreecrt_geometry' coordIndex field, scene-graph level=5, element #25, 1092 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 getlfreecrt_geometry_5_25_coordIndex()
		{
			MFInt32 lfreecrt_geometry_5_25_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getlfreecrt_geometry_5_25_coordIndex_1()))
				.append(new MFInt32(getlfreecrt_geometry_5_25_coordIndex_2()));
			return lfreecrt_geometry_5_25_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='lfreecrt_coordinate' point field, scene-graph level=6, element #25, 492 total numbers made up of 164 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 getlfreecrt_coordinate_6_25_point()
		{
			MFVec3f lfreecrt_coordinate_6_25_point = new MFVec3f(new double[] {0.0048,0.0290,-0.0099,-0.0078,0.0273,-0.0088,0.0051,0.0294,-0.0091,-0.0073,0.0277,-0.0078,0.0090,0.0071,-0.0004,0.0223,0.0103,-0.0052,0.0227,0.0110,-0.0045,0.0229,0.0122,-0.0041,0.0091,0.0088,0.0005,-0.0233,0.0250,-0.0049,-0.0231,0.0251,-0.0048,-0.0230,0.0251,-0.0048,0.0162,0.0332,-0.0141,0.0162,0.0336,-0.0136,-0.0195,0.0077,-0.0007,-0.0226,0.0091,-0.0042,-0.0142,0.0076,-0.0021,-0.0129,0.0074,0.0000,-0.0226,0.0092,-0.0042,-0.0152,0.0092,-0.0036,0.0172,0.0332,-0.0122,0.0055,0.0284,-0.0075,-0.0250,0.0247,-0.0109,-0.0248,0.0247,-0.0111,-0.0248,0.0247,-0.0111,-0.0248,0.0246,-0.0111,-0.0220,0.0311,-0.0121,-0.0220,0.0311,-0.0121,-0.0223,0.0310,-0.0118,-0.0229,0.0093,-0.0040,-0.0154,0.0267,-0.0099,-0.0148,0.0282,-0.0098,-0.0165,0.0236,-0.0095,-0.0168,0.0219,-0.0092,-0.0205,0.0321,-0.0108,-0.0142,0.0285,-0.0087,-0.0176,-0.0235,0.0126,-0.0179,-0.0235,0.0123,-0.0158,-0.0256,0.0107,-0.0163,-0.0254,0.0106,0.0122,-0.0329,0.0108,0.0259,-0.0285,0.0070,0.0118,-0.0299,0.0118,0.0253,-0.0310,0.0060,0.0253,-0.0310,0.0060,0.0127,-0.0335,0.0101,-0.0035,-0.0270,0.0138,-0.0022,-0.0305,0.0132,0.0253,-0.0308,0.0052,0.0120,-0.0336,0.0087,-0.0221,-0.0203,0.0054,-0.0219,-0.0208,0.0057,-0.0222,-0.0202,0.0056,-0.0197,-0.0193,0.0125,-0.0200,-0.0194,0.0123,-0.0173,-0.0271,0.0080,-0.0205,-0.0240,0.0068,-0.0205,-0.0240,0.0066,-0.0175,-0.0268,0.0080,-0.0150,0.0239,-0.0044,-0.0150,0.0209,-0.0027,-0.0054,0.0078,0.0022,-0.0133,0.0092,0.0013,-0.0053,0.0061,0.0010,-0.0066,0.0128,0.0017,-0.0142,0.0120,0.0013,-0.0062,0.0107,0.0022,-0.0145,0.0135,0.0011,-0.0076,0.0233,-0.0037,-0.0144,0.0271,-0.0069,-0.0074,0.0263,-0.0059,-0.0091,0.0227,-0.0086,-0.0083,0.0258,-0.0090,-0.0168,0.0191,-0.0082,-0.0093,0.0205,-0.0080,-0.0091,0.0176,-0.0069,-0.0088,0.0123,-0.0048,-0.0166,0.0134,-0.0059,-0.0075,0.0081,-0.0024,-0.0065,0.0063,-0.0009,0.0081,0.0145,-0.0002,0.0086,0.0117,0.0005,0.0076,0.0175,-0.0013,-0.0073,0.0201,-0.0018,-0.0069,0.0152,0.0007,0.0069,0.0222,-0.0035,0.0060,0.0256,-0.0054,-0.0214,0.0308,-0.0086,-0.0148,0.0159,0.0000,-0.0227,0.0151,0.0006,-0.0227,0.0151,0.0006,-0.0209,0.0101,0.0013,-0.0227,0.0150,0.0006,0.0044,0.0244,-0.0097,0.0046,0.0273,-0.0101,0.0046,0.0218,-0.0090,0.0053,0.0176,-0.0073,0.0057,0.0134,-0.0055,0.0068,0.0094,-0.0034,0.0202,0.0136,-0.0081,0.0079,0.0072,-0.0018,0.0214,0.0103,-0.0061,-0.0199,0.0079,-0.0008,-0.0213,0.0100,0.0011,-0.0230,0.0150,0.0005,-0.0208,0.0319,-0.0107,-0.0217,0.0307,-0.0088,-0.0260,0.0145,-0.0075,-0.0258,0.0145,-0.0077,0.0220,0.0196,-0.0055,0.0215,0.0224,-0.0066,0.0202,0.0275,-0.0086,0.0187,0.0307,-0.0106,0.0166,0.0311,-0.0144,0.0174,0.0267,-0.0137,0.0169,0.0288,-0.0143,0.0194,0.0179,-0.0101,0.0189,0.0200,-0.0110,0.0224,0.0157,-0.0046,-0.0133,-0.0257,0.0074,-0.0120,-0.0287,0.0083,-0.0233,-0.0137,0.0032,-0.0126,-0.0127,0.0050,-0.0146,-0.0190,0.0056,-0.0205,-0.0074,0.0026,-0.0078,-0.0307,0.0124,-0.0024,-0.0330,0.0100,-0.0012,-0.0326,0.0121,-0.0090,-0.0317,0.0100,-0.0093,-0.0290,0.0140,-0.0110,-0.0252,0.0144,-0.0038,-0.0146,0.0094,-0.0117,-0.0185,0.0130,-0.0040,-0.0203,0.0126,-0.0110,-0.0129,0.0096,-0.0162,-0.0255,0.0104,-0.0207,-0.0074,0.0028,-0.0234,-0.0137,0.0034,-0.0195,-0.0059,0.0040,-0.0194,-0.0069,0.0071,-0.0192,-0.0057,0.0039,-0.0197,-0.0070,0.0070,-0.0209,-0.0125,0.0107,-0.0206,-0.0125,0.0109,0.0116,-0.0232,0.0111,0.0085,-0.0147,0.0049,0.0109,-0.0176,0.0084,-0.0049,-0.0126,0.0060,0.0078,-0.0156,0.0042,-0.0059,-0.0138,0.0049,-0.0058,-0.0268,0.0072,0.0082,-0.0216,0.0048,0.0096,-0.0284,0.0064,-0.0071,-0.0201,0.0055,0.0101,-0.0296,0.0067,-0.0047,-0.0292,0.0079,0.0223,-0.0188,0.0012,0.0238,-0.0257,0.0026,0.0206,-0.0125,0.0011,0.0244,-0.0162,0.0044,0.0202,-0.0130,0.0006,0.0238,-0.0258,0.0026,0.0260,-0.0217,0.0064,-0.0114,-0.0113,0.0063});
			return lfreecrt_coordinate_6_25_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 lfreecrt 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 lfreecrt().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.lfreecrt\" 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.lfreecrt self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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