package HumanoidAnimation.Skeleton;

import org.web3d.x3d.jsail.Core.*;
import org.web3d.x3d.jsail.fields.*;
import org.web3d.x3d.jsail.Geometry3D.*;
import org.web3d.x3d.jsail.Grouping.*;
import org.web3d.x3d.jsail.PointingDeviceSensor.*;
import org.web3d.x3d.jsail.Rendering.*;
import org.web3d.x3d.jsail.Shape.*;

// Javadoc metadata annotations follow, see below for X3DJSAIL Java source code.
/**
 * <p> tooth (TODO fix name). </p>
 <p> Related links:  source lpreol2r.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.lpreol2r&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/lpreol2r.x3d">lpreol2r.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> tooth (TODO fix name) </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/lpreol2r.x3d">originals/lpreol2r.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> <a href="https://www.web3d.org/x3d/content/examples/Basic/Medical" target="_blank">https://www.web3d.org/x3d/content/examples/Basic/Medical</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> <a href="https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Medical" target="_blank">https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Medical</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> generator </i> </td>
			<td> X3D-Edit 4.0, <a href="https://www.web3d.org/x3d/tools/X3D-Edit" target="_blank">https://www.web3d.org/x3d/tools/X3D-Edit</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> generator </i> </td>
			<td> X3D Tidy, <a href="https://www.web3d.org/x3d/stylesheets/X3dTidy.html" target="_blank">https://www.web3d.org/x3d/stylesheets/X3dTidy.html</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> identifier </i> </td>
			<td> <a href="https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skeleton/lpreol2r.x3d" target="_blank">https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skeleton/lpreol2r.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 lpreol2r
{
	/** Default constructor to create this object. */
	public lpreol2r ()
	{
	  initialize();
	}

	/** Create and initialize the X3D model for this object. */
	public final void initialize()
	{
            try { // catch-all
  x3dModel = new X3D().setProfile(X3D.PROFILE_INTERACTIVE).setVersion(X3D.VERSION_3_3)
  .setHead(new head()
    .addMeta(new meta().setName(meta.NAME_TITLE      ).setContent("lpreol2r.x3d"))
    .addMeta(new meta().setName(meta.NAME_WARNING    ).setContent("fix naming"))
    .addMeta(new meta().setName(meta.NAME_DESCRIPTION).setContent("tooth (TODO fix name)"))
    .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/lpreol2r.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("https://www.web3d.org/x3d/content/examples/Basic/Medical"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Medical"))
    .addMeta(new meta().setName(meta.NAME_GENERATOR  ).setContent("X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit"))
    .addMeta(new meta().setName(meta.NAME_GENERATOR  ).setContent("X3D Tidy, https://www.web3d.org/x3d/stylesheets/X3dTidy.html"))
    .addMeta(new meta().setName(meta.NAME_IDENTIFIER ).setContent("https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skeleton/lpreol2r.x3d"))
    .addMeta(new meta().setName(meta.NAME_LICENSE    ).setContent("../license.html")))
  .setScene(new Scene()
    .addChild(new WorldInfo().setTitle("*TODO_add_title*"))
    .addChild(new TouchSensor().setDescription("tooth lpreol2r"))
    .addChild(new Transform("lpreol2r")
      .addChild(new Shape()
        .setAppearance(new Appearance()
          .setMaterial(new Material("ToothMaterial").setAmbientIntensity(0.4).setDiffuseColor(1.0,0.9843,0.9843).setShininess(0.05)))
        .setGeometry(new IndexedFaceSet("lpreol2r_geometry").setDEF("lpreol2r_geometry").setCreaseAngle(1.571).setCoordIndex(getlpreol2r_geometry_5_23_coordIndex())
          .setCoord(new Coordinate("lpreol2r_coordinate").setPoint(getlpreol2r_coordinate_6_23_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[] getlpreol2r_geometry_5_23_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,12,-1,20,21,22,-1,23,24,25,-1,26,27,25,-1,28,29,30,-1,31,32,33,-1,34,35,36,-1,37,38,39,-1,23,40,41,-1,23,25,40,-1,0,42,43,-1,44,45,46,-1,47,48,49,-1,50,51,52,-1,13,53,54,-1,55,56,57,-1,8,58,59,-1,5,60,61,-1,62,63,64,-1,5,61,65,-1,8,7,58,-1,56,66,57,-1,13,67,53,-1,50,68,51,-1,69,70,71,-1,69,72,70,-1,47,73,48,-1,44,74,45,-1,0,43,32,-1,38,75,39,-1,34,36,76,-1,77,28,30,-1,26,25,24,-1,18,78,19,-1,15,79,16,-1,12,19,13,-1,11,67,9,-1,8,51,6,-1,5,65,3,-1,39,80,37,-1,20,81,21,-1,20,82,81,-1,57,61,83,-1,61,57,65,-1,84,85,86,-1,84,87,85,-1,88,89,90,-1,88,91,89,-1,87,92,93,-1,92,87,84,-1,94,58,7,-1,94,95,58,-1,96,97,98,-1,97,96,99,-1,98,100,101,-1,100,98,97,-1,102,103,104,-1,102,55,103,-1,90,105,106,-1,105,90,107,-1,92,53,108,-1,53,92,109,-1,110,94,111,-1,110,4,94,-1,112,113,114,-1,113,112,115,-1,116,117,118,-1,119,117,116,-1,120,121,122,-1,120,123,121,-1,54,14,13,-1,14,54,124,-1,125,51,68,-1,125,6,51,-1,49,50,126,-1,49,68,50,-1,114,127,128,-1,127,114,113,-1,129,119,45,-1,129,117,119,-1,130,120,131,-1,130,123,120,-1,48,68,49,-1,48,125,68,-1,47,126,132,-1,47,49,126,-1,133,134,135,-1,133,136,134,-1,137,46,138,-1,137,44,46,-1,10,139,140,-1,139,10,9,-1,141,72,142,-1,141,18,72,-1,132,143,47,-1,144,143,132,-1,145,146,147,-1,145,148,146,-1,149,74,150,-1,149,151,74,-1,152,153,154,-1,153,152,155,-1,153,156,157,-1,156,153,158,-1,141,159,160,-1,159,141,142,-1,144,161,143,-1,162,161,144,-1,163,145,164,-1,163,148,145,-1,165,150,166,-1,165,149,150,-1,167,30,166,-1,77,30,167,-1,156,36,157,-1,168,36,156,-1,159,33,160,-1,31,33,159,-1,162,169,161,-1,170,169,162,-1,171,164,23,-1,171,163,164,-1,165,30,172,-1,30,165,166,-1,33,43,173,-1,33,32,43,-1,174,75,27,-1,39,75,174,-1,175,176,28,-1,177,176,175,-1,178,179,63,-1,178,170,179,-1,1,32,31,-1,1,0,32,-1,81,76,21,-1,76,81,180,-1,42,22,43,-1,42,20,22,-1,179,64,63,-1,179,181,64,-1,175,77,182,-1,175,28,77,-1,174,80,39,-1,174,29,80,-1,40,27,75,-1,25,27,40,-1,181,183,64,-1,171,183,181,-1,182,34,175,-1,35,34,182,-1,172,184,165,-1,172,26,184,-1,181,163,171,-1,181,185,163,-1,161,186,187,-1,169,186,161,-1,160,173,188,-1,33,173,160,-1,157,35,189,-1,36,35,157,-1,190,189,191,-1,189,190,154,-1,184,149,165,-1,184,192,149,-1,185,148,163,-1,185,193,148,-1,187,143,161,-1,187,194,143,-1,195,160,188,-1,160,195,141,-1,154,157,189,-1,157,154,153,-1,137,154,190,-1,154,137,152,-1,192,151,149,-1,192,135,151,-1,15,148,193,-1,148,15,146,-1,47,194,73,-1,143,194,47,-1,78,141,195,-1,141,78,18,-1,19,139,9,-1,78,139,19,-1,130,137,138,-1,152,137,130,-1,127,133,147,-1,133,127,136,-1,126,79,132,-1,79,126,16,-1,71,125,48,-1,71,196,125,-1,9,13,19,-1,9,67,13,-1,138,123,130,-1,138,197,123,-1,198,129,134,-1,129,198,117,-1,199,128,17,-1,128,199,114,-1,101,199,200,-1,199,101,100,-1,14,110,201,-1,14,124,110,-1,123,105,121,-1,123,197,105,-1,198,118,117,-1,198,104,118,-1,100,114,199,-1,114,100,112,-1,111,7,6,-1,111,94,7,-1,109,54,53,-1,54,109,60,-1,107,121,105,-1,121,107,202,-1,104,203,118,-1,104,103,203,-1,204,115,112,-1,115,204,56,-1,205,98,206,-1,98,205,96,-1,84,109,92,-1,109,84,86,-1,89,107,90,-1,107,89,207,-1,55,83,103,-1,55,57,83,-1,20,208,82,-1,20,42,208,-1,58,205,59,-1,58,96,205,-1,66,95,3,-1,209,95,66,-1,99,95,209,-1,95,96,58,-1,99,96,95,-1,203,91,88,-1,203,210,91,-1,85,93,202,-1,93,85,87,-1,4,95,94,-1,4,3,95,-1,99,204,97,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] getlpreol2r_geometry_5_23_coordIndex_2()
		{
			int[] value = {204,99,209,-1,115,55,102,-1,115,56,55,-1,116,90,106,-1,116,88,90,-1,108,93,92,-1,108,122,93,-1,124,4,110,-1,124,5,4,-1,8,52,51,-1,52,8,206,-1,113,102,211,-1,113,115,102,-1,106,119,116,-1,212,119,106,-1,122,11,120,-1,11,122,108,-1,196,6,125,-1,196,111,6,-1,16,50,200,-1,16,126,50,-1,113,136,127,-1,136,113,211,-1,212,45,119,-1,46,45,212,-1,131,11,10,-1,131,120,11,-1,12,201,70,-1,12,14,201,-1,146,17,128,-1,146,15,17,-1,135,129,151,-1,135,134,129,-1,131,140,155,-1,140,131,10,-1,18,70,72,-1,18,12,70,-1,142,69,213,-1,142,72,69,-1,144,79,214,-1,144,132,79,-1,147,215,145,-1,215,147,133,-1,150,44,216,-1,150,74,44,-1,155,158,153,-1,158,155,140,-1,158,217,156,-1,217,158,218,-1,142,219,159,-1,219,142,213,-1,214,162,144,-1,220,162,214,-1,221,145,215,-1,221,164,145,-1,166,216,167,-1,166,150,216,-1,167,182,77,-1,182,167,191,-1,217,168,156,-1,222,168,217,-1,219,31,159,-1,223,31,219,-1,170,220,179,-1,170,162,220,-1,24,164,221,-1,24,23,164,-1,66,65,57,-1,65,66,3,-1,222,21,168,-1,222,22,21,-1,224,41,225,-1,224,183,41,-1,40,225,41,-1,226,225,40,-1,27,172,174,-1,27,26,172,-1,80,28,176,-1,29,28,80,-1,227,170,178,-1,169,170,227,-1,228,186,229,-1,228,223,186,-1,36,21,76,-1,168,21,36,-1,173,22,222,-1,22,173,43,-1,228,31,223,-1,1,31,228,-1,169,229,186,-1,227,229,169,-1,230,76,180,-1,230,34,76,-1,174,30,29,-1,172,30,174,-1,75,226,40,-1,75,38,226,-1,171,41,183,-1,23,41,171,-1,62,183,224,-1,62,64,183,-1,230,175,34,-1,230,177,175,-1,26,221,184,-1,26,24,221,-1,179,185,181,-1,179,220,185,-1,187,223,219,-1,186,223,187,-1,188,222,217,-1,173,222,188,-1,191,35,182,-1,35,191,189,-1,216,191,167,-1,191,216,190,-1,184,215,192,-1,184,221,215,-1,220,193,185,-1,220,214,193,-1,213,187,219,-1,187,213,194,-1,218,188,217,-1,188,218,195,-1,140,218,158,-1,218,140,139,-1,190,44,137,-1,190,216,44,-1,215,135,192,-1,215,133,135,-1,79,193,214,-1,193,79,15,-1,73,213,69,-1,194,213,73,-1,139,195,218,-1,195,139,78,-1,131,152,130,-1,155,152,131,-1,151,45,74,-1,151,129,45,-1,128,147,146,-1,147,128,127,-1,48,69,71,-1,73,69,48,-1,70,196,71,-1,70,201,196,-1,138,212,197,-1,138,46,212,-1,211,134,136,-1,134,211,198,-1,200,17,16,-1,17,200,199,-1,52,200,50,-1,200,52,101,-1,201,111,196,-1,201,110,111,-1,67,108,53,-1,67,11,108,-1,106,197,212,-1,197,106,105,-1,211,104,198,-1,211,102,104,-1,206,101,52,-1,101,206,98,-1,60,124,54,-1,124,60,5,-1,202,122,121,-1,122,202,93,-1,118,88,116,-1,118,203,88,-1,97,112,100,-1,112,97,204,-1,209,56,204,-1,56,209,66,-1,59,206,8,-1,206,59,205,-1,86,60,109,-1,60,86,61,-1,207,202,107,-1,202,207,85,-1,103,210,203,-1,103,83,210,-1,86,83,61,-1,91,207,89,-1,86,210,83,-1,85,210,86,-1,85,91,210,-1,85,207,91,-1,42,2,208,-1,42,0,2,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='lpreol2r_geometry' coordIndex field, scene-graph level=5, element #23, 1756 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 getlpreol2r_geometry_5_23_coordIndex()
		{
			MFInt32 lpreol2r_geometry_5_23_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getlpreol2r_geometry_5_23_coordIndex_1()))
				.append(new MFInt32(getlpreol2r_geometry_5_23_coordIndex_2()));
			return lpreol2r_geometry_5_23_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='lpreol2r_coordinate' point field, scene-graph level=6, element #23, 693 total numbers made up of 231 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 getlpreol2r_coordinate_6_23_point()
		{
			MFVec3f lpreol2r_coordinate_6_23_point = new MFVec3f(new double[] {0.0223,1.6037,0.0704,0.0232,1.6039,0.0708,0.0223,1.6035,0.0703,0.0238,1.6141,0.0753,0.024,1.6139,0.0751,0.0236,1.614,0.075,0.0247,1.6135,0.0749,0.0245,1.6139,0.0752,0.0247,1.6138,0.0755,0.0223,1.6121,0.0729,0.022,1.6122,0.0727,0.0222,1.6131,0.0735,0.0232,1.6118,0.0733,0.0228,1.6129,0.0737,0.0234,1.6128,0.0739,0.025,1.6094,0.0758,0.0253,1.6112,0.0754,0.0248,1.6112,0.0758,0.0229,1.61,0.0723,0.0226,1.6119,0.073,0.0208,1.6039,0.0697,0.0202,1.6041,0.0695,0.0208,1.6042,0.0698,0.0229,1.6049,0.0756,0.0212,1.605,0.0752,0.0214,1.6046,0.0752,0.0201,1.605,0.0748,0.0199,1.6045,0.0747,0.0173,1.6039,0.0721,0.0176,1.6039,0.073,0.0177,1.6051,0.0734,0.0234,1.6051,0.071,0.0224,1.6046,0.0705,0.0223,1.6051,0.0707,0.0182,1.6038,0.0701,0.0185,1.6051,0.0703,0.0189,1.6051,0.0698,0.0186,1.6026,0.0737,0.0198,1.6024,0.0743,0.0186,1.6028,0.0738,0.0214,1.603,0.075,0.0228,1.6033,0.0756,0.0214,1.6038,0.07,0.0214,1.6044,0.0701,0.0195,1.611,0.0736,0.0212,1.6127,0.075,0.021,1.6128,0.0744,0.0258,1.6094,0.0739,0.0252,1.6114,0.0737,0.0255,1.6112,0.0744,0.0253,1.6125,0.0751,0.0249,1.6134,0.0753,0.0249,1.6134,0.0755,0.0229,1.6138,0.0745,0.0232,1.6137,0.0745,0.0235,1.614,0.0759,0.024,1.6139,0.076,0.0235,1.6141,0.0758,0.0243,1.6141,0.0754,0.0243,1.6141,0.0756,0.0233,1.614,0.0749,0.0234,1.6142,0.0752,0.0246,1.6027,0.0755,0.0254,1.6031,0.0747,0.0247,1.6031,0.0756,0.0236,1.6141,0.0753,0.0239,1.6141,0.0759,0.0225,1.613,0.0736,0.0253,1.6125,0.0748,0.025,1.6097,0.0729,0.0239,1.6117,0.0734,0.0248,1.6115,0.0735,0.0237,1.6099,0.0725,0.0255,1.6096,0.0731,0.0196,1.6109,0.0745,0.0199,1.6028,0.0744,0.019,1.6039,0.0696,0.0175,1.6051,0.0722,0.022,1.6101,0.072,0.0255,1.6093,0.0753,0.0177,1.603,0.0729,0.0202,1.603,0.0693,0.0208,1.603,0.0696,0.0232,1.6142,0.0757,0.0231,1.6143,0.0751,0.0228,1.6143,0.0751,0.0232,1.6142,0.0752,0.0228,1.6143,0.0751,0.0223,1.6142,0.0754,0.0227,1.6143,0.0754,0.0223,1.6142,0.0752,0.0227,1.6143,0.0755,0.0229,1.6141,0.0748,0.0225,1.6142,0.0748,0.0243,1.6139,0.0752,0.0242,1.6141,0.0754,0.0243,1.6141,0.0758,0.0244,1.6138,0.076,0.0246,1.6138,0.0759,0.0242,1.6141,0.0759,0.0245,1.6135,0.076,0.0247,1.6134,0.0758,0.0234,1.6136,0.0759,0.0231,1.614,0.0758,0.023,1.6137,0.0758,0.0221,1.6139,0.0746,0.022,1.6139,0.0751,0.0224,1.6142,0.0749,0.0226,1.6138,0.0744,0.0231,1.6141,0.0749,0.024,1.6136,0.0747,0.0245,1.6135,0.0748,0.0242,1.6135,0.076,0.0239,1.6127,0.0759,0.0242,1.6126,0.0759,0.024,1.6136,0.076,0.0221,1.6139,0.0754,0.0219,1.6131,0.0754,0.0224,1.6138,0.0756,0.0215,1.6132,0.0751,0.0218,1.6132,0.0735,0.0222,1.6139,0.0745,0.0223,1.6139,0.0744,0.0216,1.6132,0.0737,0.0236,1.6137,0.0746,0.025,1.6126,0.0743,0.0255,1.6112,0.0748,0.0239,1.6116,0.0759,0.0243,1.6114,0.0759,0.0216,1.6125,0.0754,0.0213,1.6127,0.0732,0.0215,1.6125,0.0729,0.0258,1.6093,0.0745,0.0223,1.6104,0.0757,0.0225,1.6121,0.0757,0.0214,1.6106,0.0755,0.023,1.612,0.0758,0.0198,1.611,0.0725,0.0211,1.6129,0.0735,0.0216,1.6102,0.0718,0.0212,1.6104,0.0716,0.0225,1.6082,0.0716,0.0235,1.6081,0.0719,0.026,1.6078,0.0737,0.0259,1.6077,0.0743,0.0233,1.6079,0.0757,0.0243,1.6095,0.0758,0.0236,1.6098,0.0758,0.0241,1.6078,0.0758,0.019,1.6089,0.0745,0.0183,1.6089,0.0739,0.0203,1.6108,0.075,0.0201,1.6108,0.0721,0.0193,1.6086,0.0708,0.0189,1.6087,0.0712,0.0204,1.6106,0.0717,0.02,1.6066,0.0702,0.0189,1.6066,0.0702,0.0204,1.6084,0.0707,0.0233,1.6064,0.0715,0.0223,1.6065,0.0711,0.0259,1.6062,0.0734,0.0258,1.6062,0.0741,0.0238,1.6062,0.0757,0.023,1.6063,0.0756,0.0186,1.6068,0.0742,0.0177,1.6068,0.0735,0.0176,1.6067,0.0724,0.0201,1.6051,0.0698,0.026,1.605,0.073,0.0258,1.605,0.0738,0.0237,1.6049,0.0757,0.0186,1.605,0.0741,0.0213,1.6051,0.0703,0.0185,1.6041,0.074,0.0176,1.6037,0.0707,0.0173,1.6029,0.0717,0.0176,1.6029,0.0706,0.0258,1.6034,0.0739,0.0253,1.6049,0.0749,0.019,1.6028,0.0693,0.0245,1.6049,0.0756,0.018,1.6051,0.0707,0.0237,1.6032,0.0758,0.0201,1.6066,0.0749,0.0246,1.6062,0.0757,0.0255,1.605,0.0717,0.0255,1.6063,0.0722,0.0212,1.6066,0.0708,0.0184,1.6066,0.0706,0.0185,1.6088,0.0715,0.018,1.6066,0.071,0.0204,1.6088,0.0751,0.0249,1.6077,0.0757,0.0256,1.6079,0.0726,0.0215,1.6083,0.0712,0.0246,1.6127,0.0741,0.0215,1.6133,0.074,0.0226,1.6129,0.0757,0.0246,1.6126,0.0759,0.025,1.6125,0.0756,0.0239,1.6127,0.074,0.0224,1.6142,0.0749,0.0226,1.6141,0.0756,0.0242,1.6139,0.076,0.0243,1.6141,0.0756,0.0247,1.6138,0.0756,0.0227,1.6143,0.0752,0.0213,1.6031,0.0698,0.024,1.6141,0.0759,0.0229,1.6143,0.0756,0.0232,1.6128,0.0758,0.0214,1.6133,0.0746,0.025,1.6079,0.0723,0.0255,1.6076,0.0752,0.0216,1.6084,0.0754,0.0181,1.6089,0.0728,0.0206,1.6066,0.0705,0.021,1.6084,0.071,0.0248,1.6063,0.0719,0.0253,1.6061,0.0751,0.0213,1.6065,0.0753,0.0207,1.6051,0.0701,0.0249,1.6051,0.0714,0.0237,1.6026,0.0757,0.0227,1.6024,0.0755,0.0213,1.6023,0.075,0.0261,1.6037,0.0731,0.0245,1.604,0.0712,0.0257,1.6038,0.0717,0.0182,1.6029,0.0698});
			return lpreol2r_coordinate_6_23_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 lpreol2r 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 lpreol2r().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.lpreol2r\" 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.lpreol2r self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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