package HumanoidAnimation.Bones;

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.Lighting.*;
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> cartilage model, TODO finish. </p>
 <p> Related links:  source rfreecrt.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.Bones.rfreecrt&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/Bones/rfreecrt.x3d">rfreecrt.x3d</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> TODO </i> </td>
			<td> fix naming, cartilage? </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> description </i> </td>
			<td> cartilage model, TODO finish </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> 16 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/Bones/originals/rfreecrt.x3d">originals/rfreecrt.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/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/Bones/rfreecrt.x3d" target="_blank">https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Bones/rfreecrt.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/Bones/../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 rfreecrt
{
	/** Default constructor to create this object. */
	public rfreecrt ()
	{
	  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("rfreecrt.x3d"))
    .addMeta(new meta().setName(meta.NAME_TODO       ).setContent("fix naming, cartilage?"))
    .addMeta(new meta().setName(meta.NAME_DESCRIPTION).setContent("cartilage model, TODO finish"))
    .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("16 March 2026"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("originals/rfreecrt.x3d"))
    .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/Bones/rfreecrt.x3d"))
    .addMeta(new meta().setName(meta.NAME_LICENSE    ).setContent("../license.html")))
  .setScene(new Scene()
    .addChild(new WorldInfo().setTitle("*TODO_add_title*"))
    .addComments(" user hover lights bone and reveals description, user selection/deselection temporarily binds/unbinds close-up hidden viewpoint ")
    .addChild(new TouchSensor("UserTouchSensor").setDescription("cartilage rfreecrt"))
    .addChild(new Transform("rfreecrt").setTranslation(-0.0390,1.3548,0.0658)
      .addChild(new Viewpoint("HiddenViewpoint").setNearDistance(0.001).setPosition(0.0,0.0,0.3).setRetainUserOffsets(true)
        .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 DirectionalLight("HiddenLight").setAmbientIntensity(1).setColor(0.1,0.1,1.0).setOn(false))
      .addChild(new ROUTE().setFromNode("UserTouchSensor").setFromField("isOver").setToNode("HiddenLight").setToField("on"))
      .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("rfreecrt_geometry").setDEF("rfreecrt_geometry").setCreaseAngle(1.571).setCoordIndex(getrfreecrt_geometry_5_26_coordIndex())
          .setCoord(new Coordinate("rfreecrt_coordinate").setPoint(getrfreecrt_coordinate_6_26_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[] getrfreecrt_geometry_5_26_coordIndex_1()
		{
			int[] value = {0,1,2,-1,2,3,0,-1,4,5,6,-1,6,7,4,-1,8,9,10,-1,11,5,4,-1,1,0,12,-1,12,13,1,-1,14,15,16,-1,16,17,14,-1,18,8,19,-1,18,9,8,-1,14,17,20,-1,20,21,14,-1,22,23,24,-1,25,26,27,-1,25,28,26,-1,27,29,25,-1,30,31,32,-1,31,33,32,-1,17,34,20,-1,34,35,20,-1,36,37,38,-1,38,39,36,-1,40,41,42,-1,42,43,40,-1,44,45,46,-1,46,47,44,-1,48,49,50,-1,51,52,53,-1,53,54,51,-1,55,56,37,-1,37,57,55,-1,58,51,54,-1,54,56,58,-1,55,59,56,-1,59,58,56,-1,56,54,38,-1,38,37,56,-1,60,45,44,-1,60,61,45,-1,39,38,62,-1,38,63,62,-1,64,65,23,-1,66,65,64,-1,67,30,32,-1,67,68,30,-1,69,70,71,-1,66,70,69,-1,72,34,73,-1,74,34,72,-1,75,7,6,-1,75,35,7,-1,76,2,77,-1,2,76,3,-1,78,79,80,-1,78,81,79,-1,19,82,18,-1,19,83,82,-1,7,84,4,-1,74,84,7,-1,85,68,67,-1,85,25,68,-1,71,86,87,-1,70,86,71,-1,88,89,90,-1,91,89,88,-1,34,16,73,-1,34,17,16,-1,72,22,92,-1,93,22,72,-1,66,88,70,-1,66,64,88,-1,69,33,94,-1,32,33,69,-1,95,35,75,-1,95,20,35,-1,96,76,77,-1,96,97,76,-1,81,98,79,-1,81,99,98,-1,100,80,13,-1,80,100,78,-1,101,29,27,-1,29,101,102,-1,9,78,100,-1,78,9,18,-1,102,103,29,-1,103,102,83,-1,100,10,9,-1,100,104,10,-1,105,31,106,-1,105,107,31,-1,65,24,23,-1,65,108,24,-1,109,4,84,-1,109,11,4,-1,110,22,24,-1,22,110,92,-1,96,111,112,-1,98,111,96,-1,113,87,114,-1,87,113,85,-1,28,85,113,-1,85,28,25,-1,115,95,97,-1,115,116,95,-1,117,98,99,-1,117,111,98,-1,19,106,118,-1,19,8,106,-1,99,119,117,-1,120,119,99,-1,112,97,96,-1,112,115,97,-1,116,20,95,-1,116,21,20,-1,30,106,31,-1,118,106,30,-1,90,121,86,-1,90,122,121,-1,16,123,89,-1,16,15,123,-1,89,122,90,-1,89,123,122,-1,86,114,87,-1,86,121,114,-1,104,13,12,-1,13,104,100,-1,92,109,84,-1,92,110,109,-1,11,0,5,-1,11,12,0,-1,33,107,108,-1,31,107,33,-1,105,8,10,-1,8,105,106,-1,83,120,82,-1,83,102,120,-1,29,68,25,-1,29,103,68,-1,102,119,120,-1,102,101,119,-1,3,5,0,-1,6,5,3,-1,2,13,80,-1,2,1,13,-1,82,99,81,-1,82,120,99,-1,96,79,98,-1,79,96,77,-1,97,75,76,-1,97,95,75,-1,94,66,69,-1,94,65,66,-1,64,91,88,-1,64,93,91,-1,92,74,72,-1,92,84,74,-1,73,89,91,-1,73,16,89,-1,88,86,70,-1,88,90,86,-1,67,87,85,-1,71,87,67,-1,83,118,103,-1,118,83,19,-1,18,81,78,-1,18,82,81,-1,77,80,79,-1,80,77,2,-1,76,6,3,-1,76,75,6,-1,35,74,7,-1,35,34,74,-1,72,91,93,-1,72,73,91,-1,32,71,67,-1,69,71,32,-1,68,118,30,-1,68,103,118,-1,23,93,64,-1,23,22,93,-1,43,124,40,-1,124,43,62,-1,125,50,126,-1,125,127,50,-1,128,129,130,-1,131,129,128,-1,132,133,134,-1,132,57,133,-1,135,136,137,-1,131,136,135,-1,138,130,129,-1,138,139,130,-1,140,141,142,-1,140,143,141,-1,127,48,50,-1,127,144,48,-1,132,145,146,-1,137,145,132,-1,142,131,135,-1,142,129,131,-1,134,47,140,-1,133,47,134,-1,60,36,39,-1,60,44,36,-1,147,148,149,-1,148,147,150,-1,151,152,153,-1,151,154,152,-1,62,151,124,-1,151,62,63,-1,148,126,153,-1,148,125,126,-1,150,131,128,-1,136,131,150,-1,154,155,152,-1,154,156,155,-1,146,157,158,-1,145,157,146,-1,59,146,158,-1,146,59,55,-1,159,149,160,-1,149,159,147,-1,53,156,154,-1,156,53,52,-1,159,161,147,-1,159,162,161,-1,145,162,157,-1,161,162,145,-1,62,60,39,-1,62,43,60,-1,160,152,155,-1,152,160,149,-1,148,128,125,-1,150,128,148,-1,124,153,126,-1,153,124,151,-1,63,154,151,-1,63,53,154,-1,149,153,152,-1,153,149,148,-1,147,136,150,-1,147,161,136,-1,133,44,47,-1,36,44,133,-1,140,135,134,-1,140,142,135,-1,137,161,145,-1};
			return value;
		}

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

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