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

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

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