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 lpreol2c.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.lpreol2c&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/lpreol2c.x3d">lpreol2c.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/lpreol2c.x3d">originals/lpreol2c.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/lpreol2c.x3d" target="_blank">https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skeleton/lpreol2c.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 lpreol2c
{
	/** Default constructor to create this object. */
	public lpreol2c ()
	{
	  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("lpreol2c.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/lpreol2c.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/lpreol2c.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 lpreol2c"))
    .addChild(new Transform("lpreol2c")
      .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("lpreol2c_geometry").setDEF("lpreol2c_geometry").setCreaseAngle(1.571).setCoordIndex(getlpreol2c_geometry_5_23_coordIndex())
          .setCoord(new Coordinate("lpreol2c_coordinate").setPoint(getlpreol2c_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[] getlpreol2c_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,20,-1,21,22,23,-1,24,16,20,-1,25,26,27,-1,25,28,26,-1,29,30,31,-1,32,33,34,-1,35,36,37,-1,38,39,40,-1,8,38,41,-1,42,43,44,-1,45,46,47,-1,48,49,50,-1,47,51,11,-1,52,53,42,-1,54,50,10,-1,55,56,57,-1,58,59,60,-1,61,62,63,-1,48,64,65,-1,66,67,68,-1,9,11,51,-1,69,70,71,-1,72,73,74,-1,75,76,29,-1,32,30,33,-1,77,78,79,-1,78,31,32,-1,2,1,80,-1,81,82,83,-1,84,85,86,-1,15,87,88,-1,24,17,16,-1,14,89,90,-1,91,92,93,-1,20,19,62,-1,26,94,95,-1,96,97,75,-1,7,6,77,-1,98,52,99,-1,100,66,43,-1,101,102,66,-1,99,52,42,-1,62,61,103,-1,55,104,105,-1,106,44,66,-1,64,48,107,-1,65,108,109,-1,108,110,109,-1,51,52,98,-1,99,111,22,-1,92,112,93,-1,41,111,99,-1,113,114,115,-1,116,12,117,-1,118,119,73,-1,120,121,24,-1,122,86,85,-1,21,123,124,-1,125,126,79,-1,34,127,128,-1,129,130,131,-1,71,61,69,-1,132,72,9,-1,102,91,93,-1,91,133,95,-1,115,62,19,-1,64,133,134,-1,69,63,48,-1,135,70,105,-1,136,137,60,-1,138,139,105,-1,56,139,69,-1,139,56,105,-1,74,140,54,-1,141,14,142,-1,65,64,134,-1,110,143,51,-1,43,65,100,-1,99,144,41,-1,39,7,40,-1,32,34,145,-1,28,146,26,-1,120,24,103,-1,22,40,23,-1,19,18,133,-1,147,148,31,-1,149,116,150,-1,6,151,77,-1,16,15,152,-1,87,15,17,-1,21,23,126,-1,22,111,40,-1,146,76,26,-1,78,32,145,-1,106,153,8,-1,53,143,43,-1,46,110,47,-1,65,134,100,-1,142,119,141,-1,54,10,74,-1,56,69,57,-1,57,69,48,-1,60,59,136,-1,70,138,105,-1,63,62,154,-1,64,113,133,-1,115,154,62,-1,102,101,91,-1,9,155,132,-1,110,46,109,-1,154,115,114,-1,140,74,73,-1,147,151,156,-1,157,21,126,-1,31,78,77,-1,34,37,127,-1,85,158,122,-1,118,73,72,-1,116,159,12,-1,8,153,160,-1,161,97,96,-1,22,124,99,-1,98,155,51,-1,65,109,48,-1,67,66,102,-1,106,66,153,-1,74,10,9,-1,42,144,99,-1,49,48,109,-1,68,160,153,-1,66,44,43,-1,98,99,124,-1,40,7,77,-1,77,23,40,-1,26,95,27,-1,20,62,103,-1,8,7,39,-1,137,105,140,-1,14,13,89,-1,162,119,118,-1,163,121,120,-1,24,121,17,-1,87,164,88,-1,86,165,84,-1,83,166,81,-1,2,80,167,-1,168,167,169,-1,21,124,22,-1,32,31,30,-1,96,75,29,-1,74,9,72,-1,63,107,48,-1,9,51,155,-1,94,75,97,-1,66,68,153,-1,133,18,95,-1,69,61,63,-1,58,60,90,-1,55,105,56,-1,45,109,46,-1,108,65,43,-1,47,110,51,-1,109,45,49,-1,42,53,43,-1,38,8,39,-1,35,129,36,-1,31,148,29,-1,146,170,76,-1,24,20,103,-1,157,126,125,-1,20,171,18,-1,14,141,12,-1,5,172,3,-1,2,173,0,-1,174,159,116,-1,159,174,175,-1,176,83,177,-1,166,83,176,-1,178,179,180,-1,181,179,178,-1,149,174,116,-1,174,149,182,-1,183,184,185,-1,186,184,183,-1,169,187,168,-1,169,188,187,-1,189,190,191,-1,189,192,190,-1,161,68,97,-1,156,68,161,-1,160,68,156,-1,55,48,50,-1,55,57,48,-1,135,137,136,-1,135,105,137,-1,97,92,94,-1,97,112,92,-1,91,134,133,-1,91,101,134,-1,64,114,113,-1,64,107,114,-1,163,193,121,-1,163,194,193,-1,195,124,123,-1,98,124,195,-1,30,35,33,-1,30,170,35,-1,183,128,127,-1,128,183,185,-1,196,168,187,-1,196,197,168,-1,125,198,157,-1,199,198,125,-1,123,157,200,-1,157,123,21,-1,189,201,202,-1,203,201,189,-1,204,190,117,-1,204,191,190,-1,28,88,130,-1,28,25,88,-1,129,205,36,-1,205,129,131,-1,81,206,207,-1,206,81,3,-1,158,82,208,-1,158,85,82,-1,158,193,122,-1,209,193,158,-1,210,122,211,-1,210,86,122,-1,141,117,12,-1,117,141,204,-1,211,212,210,-1,58,212,211,-1,51,53,52,-1,51,143,53,-1,104,140,105,-1,54,140,104,-1,213,210,212,-1,213,214,210,-1,215,89,13,-1,215,216,89,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] getlpreol2c_geometry_5_23_coordIndex_2()
		{
			int[] value = {210,165,86,-1,214,165,210,-1,121,209,17,-1,121,193,209,-1,85,83,82,-1,85,84,83,-1,207,205,217,-1,205,207,206,-1,218,205,206,-1,218,36,205,-1,217,87,219,-1,164,87,217,-1,204,220,191,-1,220,204,162,-1,203,200,201,-1,221,200,203,-1,169,80,222,-1,167,80,169,-1,223,197,196,-1,224,197,223,-1,34,223,145,-1,34,128,223,-1,79,23,77,-1,126,23,79,-1,161,29,148,-1,161,96,29,-1,132,98,195,-1,155,98,132,-1,163,59,194,-1,163,136,59,-1,63,114,107,-1,63,154,114,-1,97,67,112,-1,67,97,68,-1,10,47,11,-1,10,45,47,-1,144,44,106,-1,144,42,44,-1,172,127,218,-1,183,127,172,-1,29,170,30,-1,170,29,76,-1,20,152,171,-1,152,20,16,-1,159,13,12,-1,215,13,159,-1,190,225,150,-1,190,192,225,-1,226,150,225,-1,226,149,150,-1,167,227,2,-1,227,167,168,-1,186,172,5,-1,186,183,172,-1,2,228,173,-1,228,2,227,-1,229,186,5,-1,229,230,186,-1,228,180,179,-1,228,227,180,-1,166,231,4,-1,176,231,166,-1,165,232,233,-1,165,214,232,-1,213,234,235,-1,234,213,216,-1,175,215,159,-1,175,236,215,-1,84,177,83,-1,237,177,84,-1,0,226,1,-1,226,0,238,-1,184,181,178,-1,239,181,184,-1,214,235,232,-1,214,213,235,-1,178,185,184,-1,178,224,185,-1,224,180,197,-1,224,178,180,-1,222,188,169,-1,222,202,188,-1,191,203,189,-1,191,220,203,-1,133,115,19,-1,133,113,115,-1,171,25,27,-1,171,152,25,-1,37,33,35,-1,33,37,34,-1,35,146,129,-1,35,170,146,-1,8,151,6,-1,151,160,156,-1,8,160,151,-1,50,45,10,-1,49,45,50,-1,104,50,54,-1,55,50,104,-1,58,89,212,-1,58,90,89,-1,95,92,91,-1,92,95,94,-1,134,66,100,-1,101,66,134,-1,76,94,26,-1,75,94,76,-1,79,145,240,-1,145,79,78,-1,187,240,196,-1,199,240,187,-1,188,199,187,-1,188,198,199,-1,200,198,201,-1,198,200,157,-1,192,80,225,-1,192,222,80,-1,117,150,116,-1,190,150,117,-1,241,195,221,-1,132,195,241,-1,81,208,82,-1,81,207,208,-1,4,81,166,-1,3,81,4,-1,164,130,88,-1,164,131,130,-1,209,208,219,-1,209,158,208,-1,88,152,15,-1,152,88,25,-1,193,211,122,-1,211,193,194,-1,204,119,162,-1,204,141,119,-1,14,60,142,-1,14,90,60,-1,194,58,211,-1,59,58,194,-1,27,18,171,-1,27,95,18,-1,61,120,103,-1,120,61,71,-1,135,71,70,-1,135,120,71,-1,120,136,163,-1,135,136,120,-1,219,17,209,-1,87,17,219,-1,164,205,131,-1,164,217,205,-1,206,172,218,-1,3,172,206,-1,219,207,217,-1,207,219,208,-1,162,241,220,-1,241,162,118,-1,221,123,200,-1,195,123,221,-1,201,188,202,-1,188,201,198,-1,240,125,79,-1,125,240,199,-1,196,145,223,-1,196,240,145,-1,185,223,128,-1,223,185,224,-1,130,146,28,-1,129,146,130,-1,148,156,161,-1,156,148,147,-1,142,137,140,-1,137,142,60,-1,241,72,132,-1,118,72,241,-1,112,102,93,-1,112,67,102,-1,69,138,70,-1,69,139,138,-1,216,212,89,-1,213,212,216,-1,140,119,142,-1,140,73,119,-1,43,110,108,-1,143,110,43,-1,41,106,8,-1,144,106,41,-1,37,218,127,-1,37,36,218,-1,41,40,111,-1,41,38,40,-1,220,221,203,-1,220,241,221,-1,202,192,189,-1,222,192,202,-1,1,225,80,-1,1,226,225,-1,151,31,77,-1,151,147,31,-1,197,227,168,-1,180,227,197,-1,4,229,5,-1,4,231,229,-1,239,186,230,-1,239,184,186,-1,238,149,226,-1,149,238,182,-1,165,237,84,-1,233,237,165,-1,215,234,216,-1,236,234,215,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='lpreol2c_geometry' coordIndex field, scene-graph level=5, element #23, 1844 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 getlpreol2c_geometry_5_23_coordIndex()
		{
			MFInt32 lpreol2c_geometry_5_23_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getlpreol2c_geometry_5_23_coordIndex_1()))
				.append(new MFInt32(getlpreol2c_geometry_5_23_coordIndex_2()));
			return lpreol2c_geometry_5_23_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='lpreol2c_coordinate' point field, scene-graph level=6, element #23, 726 total numbers made up of 242 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 getlpreol2c_coordinate_6_23_point()
		{
			MFVec3f lpreol2c_coordinate_6_23_point = new MFVec3f(new double[] {0.0173,1.6029,0.0717,0.0172,1.6025,0.0717,0.0176,1.6026,0.0729,0.0256,1.6013,0.075,0.0256,1.6027,0.0747,0.0247,1.6022,0.0755,0.021,1.5962,0.0751,0.0204,1.5955,0.0745,0.021,1.5966,0.0742,0.0202,1.5954,0.0693,0.0207,1.596,0.0694,0.0204,1.5956,0.0698,0.0203,1.601,0.0686,0.0208,1.6012,0.0688,0.0208,1.5996,0.0684,0.0263,1.5955,0.0717,0.026,1.5953,0.0709,0.0262,1.5964,0.0707,0.025,1.5946,0.0717,0.0251,1.5952,0.071,0.0257,1.5951,0.0708,0.0186,1.5947,0.073,0.0196,1.5945,0.0734,0.0198,1.595,0.0742,0.0247,1.5967,0.0695,0.0256,1.5941,0.0729,0.0248,1.5943,0.0744,0.0255,1.594,0.0728,0.025,1.5945,0.0744,0.0229,1.5958,0.0759,0.0229,1.596,0.076,0.0218,1.5966,0.0757,0.022,1.5969,0.0759,0.0228,1.5967,0.0761,0.0227,1.5981,0.0761,0.0237,1.5963,0.0759,0.0245,1.598,0.0757,0.0236,1.5981,0.076,0.0204,1.5954,0.074,0.0204,1.5956,0.0743,0.0203,1.5953,0.0743,0.0205,1.5957,0.0736,0.0207,1.5954,0.072,0.0213,1.5961,0.0715,0.0213,1.5962,0.0722,0.0208,1.5963,0.07,0.0207,1.5964,0.0703,0.0205,1.5959,0.0701,0.0221,1.5975,0.071,0.0213,1.5969,0.0705,0.0214,1.5968,0.0702,0.0201,1.5953,0.0704,0.0199,1.5947,0.0716,0.0207,1.5955,0.0716,0.0211,1.5964,0.069,0.0217,1.5969,0.0692,0.0219,1.5973,0.0692,0.0221,1.5975,0.0707,0.0224,1.6002,0.069,0.0226,1.5988,0.0686,0.0216,1.5985,0.0683,0.0242,1.5968,0.0699,0.0244,1.5965,0.07,0.0225,1.5974,0.0708,0.0222,1.5973,0.0711,0.022,1.5974,0.0711,0.0218,1.597,0.0724,0.0219,1.597,0.0727,0.0214,1.597,0.0737,0.0223,1.5975,0.0707,0.0227,1.5972,0.069,0.0233,1.5975,0.0692,0.0196,1.5958,0.0692,0.02,1.5965,0.0686,0.0204,1.596,0.0688,0.0232,1.5955,0.0751,0.0237,1.5953,0.0756,0.021,1.5961,0.0752,0.0211,1.5969,0.0755,0.02,1.5966,0.0747,0.0169,1.6014,0.0718,0.0263,1.6014,0.0739,0.0262,1.6019,0.0724,0.0261,1.6033,0.0729,0.0257,1.6033,0.0716,0.0258,1.6019,0.0711,0.0246,1.6024,0.0704,0.0264,1.5963,0.0717,0.026,1.5948,0.073,0.0214,1.6014,0.0691,0.0215,1.5998,0.0685,0.0236,1.5958,0.0731,0.0237,1.5955,0.0737,0.0235,1.596,0.0735,0.0242,1.5946,0.0741,0.0248,1.5941,0.0725,0.0228,1.5959,0.0752,0.0227,1.596,0.0749,0.0196,1.5944,0.0712,0.0199,1.5946,0.0728,0.0217,1.597,0.0717,0.0219,1.597,0.0723,0.022,1.5971,0.0725,0.0245,1.5966,0.0696,0.0216,1.5968,0.0689,0.022,1.5971,0.0688,0.0211,1.5965,0.0734,0.0223,1.5975,0.071,0.0212,1.5967,0.0709,0.0212,1.5969,0.0707,0.0206,1.5962,0.0707,0.02,1.5948,0.0735,0.0232,1.596,0.074,0.024,1.5958,0.0714,0.0241,1.5962,0.0712,0.0245,1.5959,0.0711,0.019,1.6024,0.0691,0.0189,1.6007,0.0688,0.0193,1.5966,0.0688,0.0202,1.5979,0.0683,0.0235,1.5974,0.069,0.0252,1.5975,0.0695,0.0249,1.6009,0.0699,0.0184,1.5946,0.072,0.0194,1.5943,0.0725,0.0189,1.5965,0.074,0.0192,1.5957,0.0741,0.0236,1.6,0.0759,0.0226,1.6002,0.0758,0.0245,1.5962,0.0754,0.0253,1.5954,0.0746,0.0255,1.5961,0.0746,0.0194,1.5952,0.0697,0.0238,1.5953,0.0719,0.0219,1.597,0.0717,0.0227,1.5972,0.0689,0.0228,1.5976,0.0687,0.0219,1.5974,0.0686,0.0222,1.5972,0.069,0.0222,1.5972,0.0692,0.0209,1.5967,0.0686,0.0202,1.5994,0.0683,0.0209,1.5982,0.0682,0.0207,1.5957,0.071,0.0206,1.5956,0.0731,0.0211,1.598,0.0756,0.0239,1.5955,0.0756,0.0218,1.5966,0.0756,0.0219,1.5966,0.0756,0.0181,1.6025,0.0697,0.0181,1.6021,0.0696,0.0212,1.5963,0.0753,0.0259,1.5946,0.0719,0.0213,1.5971,0.0736,0.0242,1.5963,0.0707,0.02,1.5949,0.07,0.0218,1.5967,0.0754,0.0178,1.5959,0.073,0.0261,1.6002,0.0709,0.0202,1.6026,0.0691,0.0213,1.5971,0.0738,0.0221,1.5964,0.0754,0.019,1.5975,0.0687,0.0236,1.5977,0.0689,0.0263,1.5963,0.0731,0.0245,1.6036,0.0711,0.026,1.603,0.0738,0.0175,1.6013,0.0729,0.0183,1.6012,0.0737,0.0175,1.6008,0.0729,0.0237,1.5955,0.0757,0.0256,1.5945,0.0719,0.0247,1.6016,0.0755,0.0177,1.603,0.0729,0.019,1.6028,0.0693,0.0202,1.603,0.0693,0.0258,1.6034,0.0739,0.0261,1.6037,0.0731,0.0213,1.6019,0.0751,0.0198,1.6024,0.0743,0.0197,1.602,0.0744,0.0213,1.6023,0.075,0.0182,1.6029,0.0698,0.0236,1.6016,0.0757,0.0227,1.602,0.0756,0.0226,1.6016,0.0756,0.0237,1.6021,0.0757,0.0185,1.5994,0.074,0.0174,1.5992,0.0729,0.0173,1.5993,0.0699,0.0182,1.6005,0.0693,0.0182,1.5992,0.0691,0.0172,1.6005,0.0701,0.0249,1.5991,0.0695,0.0236,1.599,0.0689,0.0187,1.5947,0.0711,0.0196,1.5999,0.0745,0.0196,1.6014,0.0745,0.0175,1.5974,0.0729,0.0187,1.5976,0.074,0.0175,1.5959,0.0718,0.017,1.5974,0.0717,0.0167,1.5993,0.0717,0.0176,1.5975,0.07,0.0189,1.5991,0.0686,0.0257,1.5979,0.0748,0.0256,1.5998,0.0749,0.0264,1.5998,0.0736,0.0265,1.5998,0.0723,0.0261,1.5986,0.0706,0.0231,1.6024,0.0701,0.0233,1.6006,0.0694,0.0223,1.6019,0.0696,0.0224,1.6031,0.0702,0.0232,1.6035,0.0706,0.0208,1.6026,0.0694,0.0215,1.6027,0.0697,0.0265,1.5978,0.0733,0.0245,1.5997,0.0756,0.0265,1.5981,0.0719,0.0182,1.5975,0.0693,0.018,1.5959,0.0703,0.0168,1.6005,0.0717,0.0212,1.6003,0.0752,0.0212,1.6017,0.0751,0.0173,1.6017,0.0703,0.0175,1.6025,0.0705,0.0185,1.6023,0.0738,0.0186,1.6026,0.0737,0.0246,1.6027,0.0755,0.0237,1.6026,0.0757,0.0254,1.6031,0.0747,0.0232,1.6039,0.0708,0.0245,1.604,0.0712,0.0213,1.6031,0.0698,0.0223,1.6035,0.0703,0.0208,1.603,0.0696,0.0257,1.6038,0.0717,0.0176,1.6029,0.0706,0.0227,1.6024,0.0755,0.0196,1.598,0.0747,0.0188,1.5962,0.0693});
			return lpreol2c_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 lpreol2c 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 lpreol2c().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.lpreol2c\" 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.lpreol2c self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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