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

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] getrprem2lr_geometry_5_23_coordIndex_2()
		{
			int[] value = {19,42,242,-1,47,36,35,-1,47,46,36,-1,14,119,22,-1,14,117,119,-1,107,116,131,-1,107,114,116,-1,112,104,110,-1,104,112,114,-1,49,21,109,-1,49,12,21,-1,120,106,108,-1,243,106,120,-1,105,106,244,-1,105,102,106,-1,11,90,8,-1,90,11,113,-1,16,96,245,-1,101,96,16,-1,246,51,50,-1,246,88,51,-1,100,95,247,-1,95,100,94,-1,92,0,2,-1,71,0,92,-1,86,90,248,-1,86,85,90,-1,244,249,105,-1,82,249,244,-1,87,91,85,-1,87,195,91,-1,82,193,249,-1,81,193,82,-1,79,246,3,-1,79,199,246,-1,77,95,75,-1,77,202,95,-1,0,201,54,-1,72,201,0,-1,67,180,212,-1,69,180,67,-1,185,250,251,-1,185,184,250,-1,99,70,252,-1,99,68,70,-1,93,73,71,-1,198,73,93,-1,203,76,53,-1,203,74,76,-1,200,66,247,-1,200,78,66,-1,88,83,80,-1,197,83,88,-1,194,86,253,-1,194,84,86,-1,89,82,244,-1,80,82,89,-1,253,248,103,-1,253,86,248,-1,9,93,55,-1,254,93,9,-1,48,76,101,-1,53,76,48,-1,3,50,4,-1,3,246,50,-1,94,45,56,-1,94,100,45,-1,41,2,7,-1,92,2,41,-1,110,103,248,-1,103,110,104,-1,51,243,52,-1,51,89,243,-1,13,117,14,-1,13,52,117,-1,245,17,16,-1,245,57,17,-1,113,123,111,-1,113,11,123,-1,112,127,115,-1,112,111,127,-1,118,108,130,-1,120,108,118,-1,23,109,21,-1,109,23,238,-1,122,43,237,-1,44,43,122,-1,40,255,124,-1,40,20,255,-1,125,236,126,-1,125,124,236,-1,235,131,116,-1,131,235,129,-1,234,22,119,-1,22,234,134,-1,38,256,39,-1,38,135,256,-1,121,140,242,-1,121,136,140,-1,257,140,138,-1,258,140,257,-1,142,241,128,-1,241,142,259,-1,132,260,240,-1,132,143,260,-1,261,133,145,-1,239,133,261,-1,151,135,147,-1,256,135,151,-1,262,151,149,-1,233,151,262,-1,263,138,152,-1,257,138,263,-1,259,24,163,-1,259,142,24,-1,168,143,155,-1,260,143,168,-1,261,61,264,-1,261,145,61,-1,226,173,265,-1,226,264,173,-1,266,149,157,-1,262,149,266,-1,267,152,159,-1,263,152,267,-1,65,163,24,-1,163,65,161,-1,168,171,166,-1,168,155,171,-1,264,63,173,-1,264,61,63,-1,164,169,183,-1,164,161,169,-1,167,170,187,-1,167,166,170,-1,265,175,190,-1,265,173,175,-1,157,191,266,-1,157,176,191,-1,181,159,178,-1,267,159,181,-1,181,69,215,-1,181,180,69,-1,185,222,183,-1,222,185,268,-1,188,221,187,-1,221,188,269,-1,190,27,219,-1,190,28,27,-1,191,59,218,-1,191,30,59,-1,210,268,270,-1,210,209,268,-1,185,270,268,-1,185,251,270,-1,271,188,211,-1,188,271,269,-1,189,272,192,-1,189,214,272,-1,205,34,33,-1,205,204,34,-1,213,207,206,-1,213,182,207,-1,214,271,272,-1,269,271,214,-1,218,207,179,-1,218,59,207,-1,205,219,27,-1,177,219,205,-1,269,174,221,-1,174,269,214,-1,172,268,209,-1,172,222,268,-1,69,98,215,-1,98,69,68,-1,216,181,215,-1,216,267,181,-1,266,218,217,-1,266,191,218,-1,220,190,219,-1,220,265,190,-1,62,187,221,-1,62,167,187,-1,223,183,222,-1,223,164,183,-1,155,223,171,-1,155,154,223,-1,216,263,267,-1,224,263,216,-1,217,262,266,-1,225,262,217,-1,156,265,220,-1,156,226,265,-1,227,264,226,-1,227,261,264,-1,228,168,165,-1,228,260,168,-1,229,163,162,-1,229,259,163,-1,230,263,224,-1,230,257,263,-1,225,233,262,-1,231,233,225,-1,256,233,232,-1,256,151,233,-1,239,227,37,-1,239,261,227,-1,234,260,228,-1,234,240,260,-1,235,259,229,-1,235,241,259,-1,236,257,230,-1,236,258,257,-1,255,140,258,-1,255,242,140,-1,232,39,256,-1,237,39,232,-1,37,238,239,-1,36,238,37,-1,119,240,234,-1,119,118,240,-1,241,116,115,-1,116,241,235,-1,124,258,236,-1,124,255,258,-1,255,19,242,-1,20,19,255,-1,237,17,39,-1,43,17,237,-1,238,46,109,-1,46,238,36,-1,108,131,130,-1,108,107,131,-1,102,114,107,-1,102,104,114,-1,11,40,123,-1,11,10,40,-1,47,245,56,-1,245,47,57,-1,52,120,117,-1,52,243,120,-1,243,244,106,-1,89,244,243,-1,248,113,110,-1,248,90,113,-1,18,92,41,-1,55,92,18,-1,96,56,245,-1,96,94,56,-1,4,13,12,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=3 */
		private int[] getrprem2lr_geometry_5_23_coordIndex_3()
		{
			int[] value = {4,50,13,-1,5,247,66,-1,247,5,100,-1,101,75,96,-1,76,75,101,-1,91,9,8,-1,91,254,9,-1,105,253,103,-1,249,253,105,-1,195,254,91,-1,195,196,254,-1,249,194,253,-1,193,194,249,-1,246,197,88,-1,199,197,246,-1,247,202,200,-1,202,247,95,-1,54,203,53,-1,201,203,54,-1,254,198,93,-1,196,198,254,-1,184,252,250,-1,184,99,252,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='rprem2lr_geometry' coordIndex field, scene-graph level=5, element #23, 2092 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 getrprem2lr_geometry_5_23_coordIndex()
		{
			MFInt32 rprem2lr_geometry_5_23_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getrprem2lr_geometry_5_23_coordIndex_1()))
				.append(new MFInt32(getrprem2lr_geometry_5_23_coordIndex_2()))
				.append(new MFInt32(getrprem2lr_geometry_5_23_coordIndex_3()));
			return rprem2lr_geometry_5_23_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='rprem2lr_coordinate' point field, scene-graph level=6, element #23, 819 total numbers made up of 273 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 getrprem2lr_coordinate_6_23_point()
		{
			MFVec3f rprem2lr_coordinate_6_23_point = new MFVec3f(new double[] {-0.0196,1.5724,0.0698,-0.0193,1.5726,0.0696,-0.0195,1.5726,0.07,-0.0198,1.5726,0.0687,-0.0197,1.5728,0.0685,-0.0196,1.5728,0.0685,-0.0189,1.5732,0.0698,-0.0193,1.5731,0.0703,-0.0203,1.5725,0.0703,-0.0201,1.5725,0.0704,-0.0201,1.5729,0.0708,-0.0205,1.5729,0.0708,-0.0195,1.5734,0.0684,-0.0197,1.5734,0.0685,-0.0193,1.5751,0.0685,-0.0189,1.5732,0.0695,-0.0189,1.5733,0.0692,-0.0179,1.575,0.0696,-0.0198,1.573,0.0707,-0.0192,1.5746,0.0714,-0.0198,1.5745,0.0717,-0.0191,1.5751,0.0684,-0.0192,1.5773,0.0687,-0.0188,1.5773,0.0686,-0.0222,1.5822,0.0744,-0.0218,1.5822,0.0746,-0.022,1.5838,0.0752,-0.0171,1.5873,0.0701,-0.0177,1.5873,0.0698,-0.0178,1.5887,0.07,-0.0165,1.5872,0.0725,-0.0166,1.5885,0.073,-0.0172,1.5884,0.074,-0.0165,1.5873,0.0715,-0.0165,1.5887,0.0719,-0.0177,1.5773,0.0689,-0.0181,1.5773,0.0687,-0.0179,1.579,0.0689,-0.0174,1.5772,0.0694,-0.0173,1.5771,0.07,-0.0203,1.5745,0.0717,-0.0195,1.573,0.0705,-0.0187,1.5746,0.0712,-0.018,1.5749,0.0701,-0.0182,1.5748,0.0706,-0.0191,1.5734,0.0685,-0.0184,1.5752,0.0686,-0.0182,1.5752,0.0688,-0.0193,1.5726,0.0693,-0.0193,1.5734,0.0684,-0.0198,1.5728,0.0686,-0.02,1.5728,0.0687,-0.02,1.5733,0.0686,-0.0195,1.5725,0.0693,-0.0195,1.5724,0.0695,-0.0198,1.5725,0.0703,-0.019,1.5734,0.0687,-0.018,1.5751,0.0692,-0.0175,1.579,0.0692,-0.0169,1.5871,0.0736,-0.0172,1.5887,0.0704,-0.019,1.5827,0.0693,-0.0195,1.5844,0.0697,-0.0189,1.5845,0.0695,-0.0195,1.5827,0.0696,-0.0224,1.5838,0.0749,-0.0197,1.5726,0.0687,-0.0216,1.5875,0.0764,-0.0222,1.5865,0.0757,-0.0215,1.5865,0.076,-0.0223,1.5874,0.076,-0.0197,1.5724,0.07,-0.0197,1.5723,0.0697,-0.0198,1.5723,0.0698,-0.0196,1.5725,0.069,-0.0195,1.5725,0.0689,-0.0195,1.5725,0.069,-0.0196,1.5725,0.069,-0.0197,1.5725,0.0688,-0.0198,1.5725,0.0688,-0.0202,1.5725,0.069,-0.0202,1.5724,0.0692,-0.0203,1.5725,0.0692,-0.0201,1.5724,0.0691,-0.0203,1.5723,0.0697,-0.0203,1.5723,0.07,-0.0205,1.5723,0.0698,-0.0202,1.5723,0.0698,-0.02,1.5725,0.0689,-0.0202,1.5727,0.0689,-0.0204,1.5725,0.0702,-0.0202,1.5723,0.0701,-0.0197,1.5726,0.0702,-0.0199,1.5723,0.0701,-0.0194,1.5727,0.0688,-0.0195,1.5725,0.0689,-0.0194,1.5727,0.0689,-0.0226,1.5854,0.0752,-0.0222,1.5854,0.0756,-0.0226,1.5865,0.0754,-0.0195,1.5728,0.0687,-0.0193,1.5727,0.069,-0.0208,1.5732,0.0694,-0.0207,1.5726,0.0696,-0.021,1.5731,0.0699,-0.0205,1.5727,0.0693,-0.0206,1.5733,0.0691,-0.0213,1.5748,0.0699,-0.021,1.5749,0.0696,-0.0187,1.5752,0.0684,-0.0209,1.573,0.0703,-0.0211,1.5745,0.0716,-0.0215,1.5746,0.0711,-0.0206,1.5729,0.0707,-0.0216,1.5747,0.0704,-0.0219,1.5765,0.072,-0.022,1.5767,0.0711,-0.0199,1.575,0.0688,-0.0207,1.577,0.0696,-0.0199,1.5772,0.069,-0.0204,1.575,0.0691,-0.0184,1.5766,0.0718,-0.0177,1.5768,0.0712,-0.0208,1.5745,0.0717,-0.0206,1.5764,0.0727,-0.0211,1.5764,0.0726,-0.0215,1.5786,0.0734,-0.0215,1.5764,0.0724,-0.0218,1.5786,0.0733,-0.0221,1.5788,0.0711,-0.0214,1.5769,0.07,-0.0218,1.5768,0.0705,-0.0216,1.5788,0.0705,-0.0189,1.5791,0.0689,-0.0194,1.5791,0.0691,-0.0172,1.579,0.0697,-0.0182,1.5787,0.0725,-0.0175,1.5788,0.0718,-0.0191,1.58,0.0735,-0.0182,1.5801,0.0729,-0.0191,1.5787,0.0731,-0.0216,1.58,0.0739,-0.022,1.58,0.0737,-0.0218,1.5802,0.0709,-0.0223,1.5801,0.0715,-0.019,1.5804,0.0691,-0.0194,1.5804,0.0692,-0.0172,1.5804,0.0698,-0.0175,1.5804,0.0694,-0.0169,1.5827,0.0708,-0.017,1.5827,0.0702,-0.0171,1.5804,0.0705,-0.0191,1.5823,0.0742,-0.0182,1.5824,0.0735,-0.0225,1.5825,0.072,-0.022,1.5825,0.0713,-0.0174,1.5828,0.0696,-0.0166,1.5844,0.0711,-0.0167,1.5845,0.0704,-0.019,1.584,0.0748,-0.0181,1.5841,0.0741,-0.023,1.5838,0.0742,-0.0229,1.5824,0.0728,-0.0228,1.5823,0.0739,-0.0231,1.5839,0.0731,-0.0201,1.5827,0.07,-0.0214,1.5842,0.071,-0.0201,1.5844,0.0701,-0.0212,1.5826,0.0708,-0.0232,1.5854,0.0745,-0.0216,1.5858,0.0712,-0.0222,1.5841,0.0715,-0.0225,1.5857,0.0717,-0.0183,1.5845,0.0694,-0.0189,1.5861,0.0696,-0.0183,1.5862,0.0694,-0.0165,1.5861,0.0714,-0.0166,1.5862,0.0706,-0.0191,1.5857,0.0753,-0.018,1.5858,0.0745,-0.0203,1.5866,0.076,-0.0203,1.5855,0.0759,-0.0192,1.5868,0.0754,-0.0234,1.5855,0.0733,-0.0233,1.5865,0.0746,-0.0235,1.5866,0.0734,-0.0216,1.5869,0.0713,-0.0203,1.5859,0.0703,-0.0203,1.5871,0.0704,-0.0184,1.5873,0.0696,-0.0177,1.5862,0.0697,-0.0164,1.5861,0.0723,-0.0183,1.5887,0.0698,-0.0203,1.5724,0.0693,-0.0204,1.5723,0.0695,-0.0202,1.5723,0.0699,-0.0201,1.5723,0.07,-0.02,1.5725,0.069,-0.0199,1.5723,0.0699,-0.0199,1.5725,0.0689,-0.0197,1.5725,0.0689,-0.0196,1.5724,0.0694,-0.0196,1.5725,0.069,-0.0196,1.5724,0.0693,-0.0167,1.5887,0.071,-0.0167,1.5873,0.0707,-0.0181,1.5882,0.0749,-0.0181,1.5869,0.0747,-0.0218,1.5882,0.0716,-0.0225,1.5868,0.0718,-0.0228,1.5881,0.0722,-0.0206,1.5885,0.0706,-0.0205,1.5877,0.0764,-0.0193,1.5881,0.0758,-0.019,1.5872,0.0697,-0.0214,1.5854,0.0759,-0.0213,1.5839,0.0756,-0.017,1.5842,0.073,-0.0168,1.586,0.0734,-0.017,1.5862,0.0699,-0.0171,1.5845,0.0698,-0.0196,1.586,0.0697,-0.023,1.5856,0.0723,-0.0227,1.584,0.0722,-0.0212,1.5822,0.0749,-0.0172,1.5825,0.0726,-0.0179,1.5828,0.0694,-0.018,1.5804,0.0691,-0.02,1.5804,0.0696,-0.0225,1.5801,0.0723,-0.0209,1.58,0.0741,-0.0175,1.5802,0.0721,-0.0171,1.5789,0.0711,-0.0171,1.5803,0.0712,-0.02,1.579,0.0694,-0.0224,1.5787,0.0718,-0.0208,1.5786,0.0736,-0.0174,1.577,0.0706,-0.0184,1.5774,0.0685,-0.0184,1.5791,0.0688,-0.0209,1.5789,0.0701,-0.0223,1.5786,0.0727,-0.0191,1.5765,0.0723,-0.0203,1.5733,0.0688,-0.0204,1.5727,0.0691,-0.0189,1.5734,0.0689,-0.0199,1.5726,0.0687,-0.0196,1.5726,0.0688,-0.0206,1.5725,0.0699,-0.0204,1.5724,0.0693,-0.0235,1.5876,0.0749,-0.0237,1.588,0.0736,-0.0228,1.5874,0.0756,-0.0205,1.5724,0.0696,-0.0201,1.5723,0.0702,-0.0198,1.5764,0.0726,-0.0171,1.579,0.0704,-0.02,1.58,0.074,-0.02,1.5787,0.0735,-0.0224,1.58,0.0732,-0.0211,1.5803,0.0703,-0.0185,1.5804,0.069,-0.0169,1.5826,0.0717,-0.0201,1.5822,0.0749,-0.0184,1.5827,0.0692,-0.0177,1.5845,0.0696,-0.0166,1.5843,0.072,-0.0201,1.5839,0.0755,-0.0231,1.5867,0.0725,-0.0197,1.5871,0.0699,-0.0234,1.588,0.0728,-0.0199,1.5885,0.0701,-0.0191,1.5887,0.0699});
			return rprem2lr_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 rprem2lr 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 rprem2lr().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.rprem2lr\" 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.rprem2lr self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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