package HumanoidAnimation.Skeleton;

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

// Javadoc metadata annotations follow, see below for X3DJSAIL Java source code.
/**
 * <p> tooth (TODO fix name). </p>
 <p> Related links:  source rprem1lr.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.rprem1lr&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/rprem1lr.x3d">rprem1lr.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/rprem1lr.x3d">originals/rprem1lr.x3d</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> *enter reference citation or relative/online url here* </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> <a href="https://en.wikipedia.org/wiki/List_of_bones_of_the_human_skeleton" target="_blank">https://en.wikipedia.org/wiki/List_of_bones_of_the_human_skeleton</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> usage examples <a href="https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Medical" target="_blank">https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Medical</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> generator </i> </td>
			<td> X3D-Edit 4.0, <a href="https://www.web3d.org/x3d/tools/X3D-Edit" target="_blank">https://www.web3d.org/x3d/tools/X3D-Edit</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> generator </i> </td>
			<td> X3D Tidy, <a href="https://www.web3d.org/x3d/stylesheets/X3dTidy.html" target="_blank">https://www.web3d.org/x3d/stylesheets/X3dTidy.html</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> identifier </i> </td>
			<td> <a href="https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skeleton/rprem1lr.x3d" target="_blank">https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skeleton/rprem1lr.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 rprem1lr
{
	/** Default constructor to create this object. */
	public rprem1lr ()
	{
	  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("rprem1lr.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/rprem1lr.x3d"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("*enter reference citation or relative/online url here*"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("https://en.wikipedia.org/wiki/List_of_bones_of_the_human_skeleton"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("usage examples https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Medical"))
    .addMeta(new meta().setName(meta.NAME_GENERATOR  ).setContent("X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit"))
    .addMeta(new meta().setName(meta.NAME_GENERATOR  ).setContent("X3D Tidy, https://www.web3d.org/x3d/stylesheets/X3dTidy.html"))
    .addMeta(new meta().setName(meta.NAME_IDENTIFIER ).setContent("https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skeleton/rprem1lr.x3d"))
    .addMeta(new meta().setName(meta.NAME_LICENSE    ).setContent("../license.html")))
  .setScene(new Scene()
    .addChild(new WorldInfo().setTitle("*TODO_add_title*"))
    .addComments(" user hovering reveals description, user selection/deselection temporarily binds/unbinds a hidden close-up viewpoint ")
    .addChild(new TouchSensor("UserTouchSensor").setDescription("tooth rprem1lr"))
    .addChild(new Transform("rprem1lr").setTranslation(-0.0170,1.5793,0.0796)
      .addChild(new Viewpoint("HiddenViewpoint").setNearDistance(0.001).setPosition(0.0,0.0,0.3)
        .setNavigationInfo(new NavigationInfo().setTransitionType(new String[] {"ANIMATE"}).setType(new String[] {"EXAMINE"})))
      .addChild(new ROUTE().setFromNode("UserTouchSensor").setFromField("isActive").setToNode("HiddenViewpoint").setToField("set_bind"))
      .addChild(new Shape()
        .setAppearance(new Appearance()
          .setMaterial(new Material("ToothMaterial").setAmbientIntensity(0.4).setDiffuseColor(1.0,0.9843,0.9843).setShininess(0.05)))
        .setGeometry(new IndexedFaceSet("rprem1lr_geometry").setDEF("rprem1lr_geometry").setCreaseAngle(1.571).setCoordIndex(getrprem1lr_geometry_5_25_coordIndex())
          .setCoord(new Coordinate("rprem1lr_coordinate").setPoint(getrprem1lr_coordinate_6_25_point()))))));
            }
            catch (Exception ex)
            {       
                System.err.println ("*** Further hints on X3DJSAIL errors and exceptions at");
                System.err.println ("*** https://www.web3d.org/specifications/java/X3DJSAIL.html");
                throw (ex);
            }
	}
	// end of initialize() method


		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=1 */
		private int[] getrprem1lr_geometry_5_25_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,0,-1,17,18,19,-1,19,20,17,-1,15,0,9,-1,12,21,13,-1,9,0,10,-1,6,22,7,-1,3,5,23,-1,24,23,5,-1,24,25,23,-1,0,2,10,-1,26,27,28,-1,29,27,26,-1,30,31,32,-1,30,33,31,-1,34,35,36,-1,37,35,34,-1,38,39,40,-1,38,41,39,-1,42,43,44,-1,42,45,43,-1,46,47,48,-1,49,47,46,-1,50,51,19,-1,28,51,50,-1,52,53,54,-1,31,53,52,-1,36,55,56,-1,36,57,55,-1,39,58,59,-1,39,60,58,-1,43,61,62,-1,43,63,61,-1,20,64,17,-1,20,62,64,-1,65,66,67,-1,68,66,65,-1,69,70,16,-1,69,71,70,-1,72,73,74,-1,75,73,72,-1,76,72,77,-1,78,72,76,-1,79,80,21,-1,79,81,80,-1,82,18,83,-1,84,18,82,-1,85,86,87,-1,85,88,86,-1,89,9,90,-1,89,15,9,-1,90,22,91,-1,90,92,22,-1,93,94,95,-1,93,96,94,-1,97,12,14,-1,98,12,97,-1,99,100,101,-1,102,100,99,-1,2,103,104,-1,2,105,103,-1,22,106,7,-1,22,92,106,-1,95,107,108,-1,95,94,107,-1,109,14,110,-1,97,14,109,-1,111,101,112,-1,99,101,111,-1,113,111,114,-1,115,111,113,-1,116,117,118,-1,116,119,117,-1,120,121,122,-1,120,8,121,-1,123,124,125,-1,123,126,124,-1,127,128,129,-1,130,128,127,-1,131,127,132,-1,133,127,131,-1,134,135,136,-1,134,137,135,-1,138,139,140,-1,138,141,139,-1,142,143,144,-1,142,145,143,-1,146,147,148,-1,149,147,146,-1,150,24,151,-1,150,152,24,-1,153,132,154,-1,131,132,153,-1,136,155,156,-1,136,135,155,-1,140,157,158,-1,140,139,157,-1,159,160,161,-1,160,159,162,-1,163,164,165,-1,163,166,164,-1,5,167,168,-1,4,167,5,-1,169,170,171,-1,169,172,170,-1,173,48,47,-1,174,48,173,-1,25,175,23,-1,25,176,175,-1,177,164,178,-1,177,165,164,-1,157,159,179,-1,157,180,159,-1,155,49,181,-1,155,182,49,-1,173,154,183,-1,173,153,154,-1,170,151,168,-1,184,151,170,-1,172,184,170,-1,185,184,172,-1,153,47,186,-1,153,173,47,-1,179,158,157,-1,158,179,187,-1,188,189,162,-1,188,156,189,-1,183,174,173,-1,190,174,183,-1,189,191,192,-1,181,191,189,-1,193,164,166,-1,193,175,164,-1,179,161,194,-1,161,179,159,-1,139,180,157,-1,139,195,180,-1,135,182,155,-1,135,196,182,-1,197,146,185,-1,146,197,198,-1,152,25,24,-1,152,144,25,-1,148,125,150,-1,147,125,148,-1,145,199,143,-1,145,122,199,-1,141,195,139,-1,141,118,195,-1,135,113,196,-1,137,113,135,-1,132,129,198,-1,127,129,132,-1,129,109,149,-1,128,109,129,-1,126,142,124,-1,126,108,142,-1,8,138,121,-1,8,7,138,-1,119,134,117,-1,119,104,134,-1,114,112,133,-1,111,112,114,-1,112,200,130,-1,101,200,112,-1,110,13,123,-1,14,13,110,-1,94,120,107,-1,94,201,120,-1,10,104,119,-1,10,2,104,-1,202,102,99,-1,86,102,202,-1,203,98,97,-1,83,98,203,-1,94,76,201,-1,96,76,94,-1,11,90,9,-1,90,11,92,-1,70,87,1,-1,70,85,87,-1,100,84,82,-1,67,84,100,-1,64,21,12,-1,64,79,21,-1,96,78,76,-1,204,78,96,-1,78,75,72,-1,58,75,78,-1,55,16,15,-1,55,69,16,-1,88,68,65,-1,54,68,88,-1,62,79,64,-1,62,61,79,-1,63,205,61,-1,63,206,205,-1,58,207,75,-1,60,207,58,-1,57,69,55,-1,57,208,69,-1,54,209,68,-1,53,209,54,-1,19,44,20,-1,51,44,19,-1,51,42,44,-1,210,42,51,-1,211,40,206,-1,211,38,40,-1,207,37,34,-1,212,37,207,-1,213,32,208,-1,213,30,32,-1,209,29,26,-1,214,29,209,-1,33,53,31,-1,33,215,53,-1,35,57,36,-1,35,216,57,-1,39,217,60,-1,41,217,39,-1,45,63,43,-1,45,218,63,-1,154,198,197,-1,154,132,198,-1,66,28,50,-1,26,28,66,-1,32,52,71,-1,32,31,52,-1,73,36,56,-1,34,36,73,-1,40,59,219,-1,40,39,59,-1,205,220,81,-1,205,219,220,-1,67,50,84,-1,66,50,67,-1,71,85,70,-1,71,52,85,-1,74,56,89,-1,73,56,74,-1,219,204,220,-1,219,59,204,-1,81,93,80,-1,81,220,93,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] getrprem1lr_geometry_5_25_coordIndex_2()
		{
			int[] value = {83,17,98,-1,18,17,83,-1,86,65,102,-1,88,65,86,-1,91,89,90,-1,74,89,91,-1,6,91,22,-1,77,91,6,-1,80,95,221,-1,80,93,95,-1,101,82,200,-1,100,82,101,-1,1,105,2,-1,1,87,105,-1,92,116,106,-1,92,11,116,-1,221,108,126,-1,221,95,108,-1,97,128,203,-1,97,109,128,-1,115,99,111,-1,202,99,115,-1,137,115,113,-1,103,115,137,-1,106,118,141,-1,106,116,118,-1,107,122,145,-1,107,120,122,-1,147,123,125,-1,110,123,147,-1,133,130,127,-1,112,130,133,-1,222,133,131,-1,114,133,222,-1,117,136,223,-1,117,134,136,-1,121,140,224,-1,121,138,140,-1,124,144,152,-1,124,142,144,-1,143,178,176,-1,143,199,178,-1,148,151,184,-1,148,150,151,-1,186,131,153,-1,222,131,186,-1,223,156,188,-1,223,136,156,-1,224,158,177,-1,224,140,158,-1,165,225,163,-1,225,165,187,-1,171,168,167,-1,171,170,168,-1,226,172,169,-1,226,227,172,-1,162,192,160,-1,192,162,189,-1,180,162,159,-1,180,188,162,-1,197,183,154,-1,197,227,183,-1,24,168,151,-1,24,5,168,-1,227,185,172,-1,197,185,227,-1,49,186,47,-1,182,186,49,-1,175,178,164,-1,176,178,175,-1,181,156,155,-1,156,181,189,-1,177,187,165,-1,177,158,187,-1,37,216,35,-1,210,45,42,-1,37,213,216,-1,212,213,37,-1,212,30,213,-1,217,30,212,-1,217,33,30,-1,41,33,217,-1,41,215,33,-1,38,215,41,-1,38,214,215,-1,211,214,38,-1,211,29,214,-1,218,29,211,-1,218,27,29,-1,45,27,218,-1,45,210,27,-1,190,227,226,-1,190,183,227,-1,191,49,46,-1,191,181,49,-1,23,193,3,-1,175,193,23,-1,194,187,179,-1,187,194,225,-1,199,177,178,-1,199,224,177,-1,195,188,180,-1,195,223,188,-1,182,222,186,-1,196,222,182,-1,185,148,184,-1,146,148,185,-1,144,176,25,-1,144,143,176,-1,125,152,150,-1,125,124,152,-1,122,224,199,-1,122,121,224,-1,118,223,195,-1,118,117,223,-1,196,114,222,-1,113,114,196,-1,198,149,146,-1,129,149,198,-1,149,110,147,-1,109,110,149,-1,108,145,142,-1,108,107,145,-1,7,141,138,-1,7,106,141,-1,104,137,134,-1,104,103,137,-1,105,115,103,-1,105,202,115,-1,130,203,128,-1,200,203,130,-1,13,126,123,-1,13,221,126,-1,201,8,120,-1,201,6,8,-1,11,119,116,-1,11,10,119,-1,87,202,105,-1,87,86,202,-1,200,83,203,-1,82,83,200,-1,21,221,13,-1,21,80,221,-1,201,77,6,-1,76,77,201,-1,77,74,91,-1,72,74,77,-1,16,1,0,-1,16,70,1,-1,102,67,100,-1,65,67,102,-1,98,64,12,-1,17,64,98,-1,220,96,93,-1,220,204,96,-1,59,78,204,-1,59,58,78,-1,56,15,89,-1,56,55,15,-1,52,88,85,-1,52,54,88,-1,84,19,18,-1,50,19,84,-1,61,81,79,-1,61,205,81,-1,206,219,205,-1,206,40,219,-1,75,34,73,-1,207,34,75,-1,208,71,69,-1,208,32,71,-1,68,26,66,-1,209,26,68,-1,44,62,20,-1,44,43,62,-1,28,210,51,-1,27,210,28,-1,218,206,63,-1,218,211,206,-1,60,212,207,-1,217,212,60,-1,216,208,57,-1,216,213,208,-1,53,214,209,-1,215,214,53,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='rprem1lr_geometry' coordIndex field, scene-graph level=5, element #25, 1740 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 getrprem1lr_geometry_5_25_coordIndex()
		{
			MFInt32 rprem1lr_geometry_5_25_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getrprem1lr_geometry_5_25_coordIndex_1()))
				.append(new MFInt32(getrprem1lr_geometry_5_25_coordIndex_2()));
			return rprem1lr_geometry_5_25_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='rprem1lr_coordinate' point field, scene-graph level=6, element #25, 684 total numbers made up of 228 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 getrprem1lr_coordinate_6_25_point()
		{
			MFVec3f rprem1lr_coordinate_6_25_point = new MFVec3f(new double[] {-0.0010,-0.0051,0.0002,-0.0006,-0.0051,0.0006,-0.0010,-0.0034,0.0012,0.0008,0.0083,-0.0030,0.0015,0.0084,-0.0030,0.0016,0.0071,-0.0031,-0.0014,-0.0031,-0.0019,-0.0022,-0.0013,-0.0010,-0.0015,-0.0012,-0.0017,-0.0014,-0.0051,-0.0001,-0.0015,-0.0034,0.0009,-0.0019,-0.0033,0.0004,0.0027,-0.0047,-0.0026,0.0025,-0.0028,-0.0035,0.0030,-0.0029,-0.0029,-0.0009,-0.0064,-0.0005,-0.0007,-0.0064,-0.0002,0.0023,-0.0062,-0.0020,0.0022,-0.0062,-0.0016,0.0018,-0.0075,-0.0018,0.0018,-0.0074,-0.0022,0.0022,-0.0047,-0.0030,-0.0018,-0.0032,-0.0012,0.0009,0.0070,-0.0030,0.0016,0.0056,-0.0033,0.0009,0.0056,-0.0031,0.0010,-0.0084,-0.0017,0.0009,-0.0085,-0.0020,0.0011,-0.0083,-0.0019,0.0008,-0.0085,-0.0019,0.0003,-0.0085,-0.0016,0.0003,-0.0084,-0.0014,0.0001,-0.0084,-0.0014,0.0004,-0.0085,-0.0016,-0.0001,-0.0084,-0.0021,0.0001,-0.0085,-0.0019,-0.0002,-0.0084,-0.0018,0.0001,-0.0085,-0.0021,0.0006,-0.0085,-0.0025,0.0005,-0.0083,-0.0026,0.0007,-0.0083,-0.0027,0.0005,-0.0085,-0.0024,0.0010,-0.0085,-0.0022,0.0012,-0.0083,-0.0025,0.0013,-0.0083,-0.0023,0.0010,-0.0085,-0.0024,-0.0001,0.0070,0.0035,0.0010,0.0062,0.0026,0.0010,0.0071,0.0028,-0.0001,0.0061,0.0033,0.0016,-0.0075,-0.0015,0.0012,-0.0083,-0.0021,0.0003,-0.0076,-0.0006,0.0005,-0.0084,-0.0014,0.0006,-0.0076,-0.0007,-0.0005,-0.0076,-0.0010,-0.0006,-0.0076,-0.0013,-0.0001,-0.0084,-0.0016,0.0002,-0.0075,-0.0023,0.0005,-0.0074,-0.0025,0.0003,-0.0083,-0.0024,0.0014,-0.0074,-0.0027,0.0018,-0.0074,-0.0025,0.0011,-0.0083,-0.0027,0.0023,-0.0062,-0.0024,0.0010,-0.0064,-0.0003,0.0013,-0.0075,-0.0012,0.0016,-0.0063,-0.0007,0.0009,-0.0076,-0.0009,-0.0003,-0.0076,-0.0008,-0.0004,-0.0064,0.0001,-0.0001,-0.0076,-0.0006,-0.0005,-0.0063,-0.0017,-0.0004,-0.0075,-0.0017,-0.0008,-0.0063,-0.0014,-0.0001,-0.0075,-0.0020,-0.0003,-0.0049,-0.0023,-0.0009,-0.0049,-0.0017,0.0000,-0.0062,-0.0022,0.0019,-0.0061,-0.0028,0.0015,-0.0047,-0.0032,0.0013,-0.0061,-0.0029,0.0023,-0.0049,-0.0010,0.0027,-0.0048,-0.0015,0.0020,-0.0063,-0.0012,0.0001,-0.0064,0.0001,0.0005,-0.0051,0.0004,0.0000,-0.0051,0.0005,0.0005,-0.0064,0.0000,-0.0010,-0.0064,-0.0008,-0.0015,-0.0050,-0.0005,-0.0013,-0.0050,-0.0013,-0.0021,-0.0033,-0.0003,0.0010,-0.0047,-0.0030,0.0002,-0.0030,-0.0031,0.0010,-0.0029,-0.0036,0.0004,-0.0048,-0.0027,0.0032,-0.0029,-0.0022,0.0028,-0.0048,-0.0021,0.0011,-0.0033,0.0007,0.0018,-0.0050,-0.0004,0.0020,-0.0032,0.0001,0.0010,-0.0050,0.0002,-0.0005,-0.0015,0.0017,-0.0013,-0.0015,0.0017,-0.0002,-0.0033,0.0012,-0.0025,-0.0014,0.0001,0.0001,-0.0011,-0.0030,0.0010,-0.0010,-0.0035,0.0033,-0.0010,-0.0020,0.0032,-0.0010,-0.0027,0.0011,-0.0014,0.0011,0.0021,-0.0013,0.0004,0.0001,0.0010,0.0021,0.0010,0.0010,0.0016,0.0002,-0.0015,0.0016,-0.0023,-0.0015,0.0009,-0.0021,0.0009,0.0019,-0.0026,0.0009,0.0013,-0.0018,-0.0015,0.0014,-0.0007,-0.0012,-0.0024,-0.0017,0.0012,-0.0015,-0.0009,0.0013,-0.0022,0.0025,-0.0010,-0.0034,0.0016,0.0015,-0.0035,0.0026,0.0015,-0.0033,0.0016,-0.0010,-0.0036,0.0029,0.0012,-0.0001,0.0032,-0.0011,-0.0012,0.0033,0.0013,-0.0009,0.0028,-0.0012,-0.0005,0.0021,0.0033,0.0012,0.0029,0.0035,0.0002,0.0021,0.0011,0.0008,-0.0015,0.0009,0.0023,-0.0007,0.0031,0.0027,-0.0017,0.0031,0.0027,-0.0006,0.0009,0.0023,-0.0025,0.0011,-0.0007,-0.0031,0.0032,0.0008,-0.0027,0.0033,-0.0004,-0.0028,0.0010,0.0005,0.0009,0.0015,-0.0034,-0.0001,0.0036,-0.0026,0.0009,0.0037,-0.0032,0.0000,0.0014,-0.0028,0.0036,0.0036,-0.0016,0.0033,0.0015,-0.0026,0.0034,0.0037,-0.0024,0.0035,0.0014,-0.0018,0.0027,0.0037,-0.0031,0.0027,0.0056,-0.0030,0.0016,0.0037,-0.0034,0.0022,0.0052,0.0015,0.0030,0.0053,0.0005,-0.0009,0.0050,0.0032,-0.0019,0.0049,0.0032,-0.0033,0.0051,0.0012,-0.0029,0.0052,-0.0002,-0.0033,0.0062,0.0024,-0.0029,0.0070,0.0033,-0.0035,0.0073,0.0025,-0.0028,0.0061,0.0031,-0.0024,0.0079,-0.0009,-0.0014,0.0068,-0.0018,-0.0023,0.0067,-0.0010,-0.0017,0.0081,-0.0017,0.0024,0.0085,-0.0027,0.0026,0.0071,-0.0028,0.0035,0.0077,-0.0010,0.0034,0.0070,-0.0020,0.0033,0.0082,-0.0020,0.0036,0.0068,-0.0011,0.0020,0.0064,0.0018,0.0020,0.0070,0.0020,-0.0003,0.0069,-0.0025,-0.0002,0.0055,-0.0025,-0.0021,0.0053,-0.0010,-0.0012,0.0054,-0.0018,-0.0036,0.0064,0.0014,-0.0031,0.0050,0.0021,-0.0011,0.0059,0.0034,0.0000,0.0050,0.0030,0.0029,0.0066,0.0008,0.0035,0.0056,-0.0022,0.0037,0.0055,-0.0014,0.0010,0.0051,0.0024,-0.0032,0.0065,0.0000,-0.0025,0.0049,0.0027,-0.0020,0.0059,0.0035,0.0028,0.0072,0.0010,-0.0012,0.0066,0.0036,-0.0022,0.0066,0.0037,-0.0004,0.0081,-0.0024,-0.0037,0.0076,0.0015,-0.0028,0.0031,0.0017,0.0000,0.0031,0.0026,0.0035,0.0054,-0.0004,0.0034,0.0035,-0.0006,-0.0010,0.0035,-0.0020,0.0027,-0.0031,-0.0007,-0.0006,-0.0030,-0.0026,0.0004,-0.0033,0.0011,0.0031,-0.0030,-0.0015,0.0005,-0.0062,-0.0025,0.0011,-0.0074,-0.0028,0.0008,-0.0083,-0.0027,0.0001,-0.0083,-0.0022,0.0000,-0.0084,-0.0015,0.0007,-0.0084,-0.0016,0.0010,-0.0085,-0.0021,0.0008,-0.0084,-0.0025,0.0002,-0.0085,-0.0022,0.0002,-0.0085,-0.0017,0.0007,-0.0085,-0.0017,0.0005,-0.0085,-0.0017,0.0001,-0.0085,-0.0018,0.0004,-0.0085,-0.0023,0.0009,-0.0084,-0.0025,0.0008,-0.0074,-0.0027,0.0009,-0.0062,-0.0028,0.0016,-0.0029,-0.0038,0.0010,0.0032,0.0020,-0.0023,0.0031,0.0023,-0.0019,0.0034,-0.0012,-0.0034,0.0076,0.0001,0.0033,0.0074,0.0001,0.0034,0.0066,-0.0001});
			return rprem1lr_coordinate_6_25_point;
		}

	/** The initialized model object, created within initialize() method. */
	private X3D x3dModel;

	/** 
	 * Provide a 
	 * <a href="https://dzone.com/articles/java-copy-shallow-vs-deep-in-which-you-will-swim" target="_blank">shallow copy</a>
	 * of the X3D model.
	 * @see <a href="https://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/Core/X3D.html">X3D</a>
	 * @return rprem1lr 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 rprem1lr().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.rprem1lr\" 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.rprem1lr self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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