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 r_molar2lr.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.r_molar2lr&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/r_molar2lr.x3d">r_molar2lr.x3d</a> </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/rmolr2lr.x3d">originals/rmolr2lr.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/r_molar2lr.x3d" target="_blank">https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skeleton/r_molar2lr.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 r_molar2lr
{
	/** Default constructor to create this object. */
	public r_molar2lr ()
	{
	  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("r_molar2lr.x3d"))
    .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/rmolr2lr.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/r_molar2lr.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 r_molar2lr"))
    .addChild(new Transform("rmolr2lr")
      .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("rmolr2lr_geometry").setDEF("rmolr2lr_geometry").setCreaseAngle(1.571).setCoordIndex(getrmolr2lr_geometry_5_22_coordIndex())
          .setCoord(new Coordinate("rmolr2lr_coordinate").setPoint(getrmolr2lr_coordinate_6_22_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[] getrmolr2lr_geometry_5_22_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,3,2,18,-1,19,10,9,-1,12,8,20,-1,21,22,23,-1,0,24,25,-1,26,27,28,-1,29,30,31,-1,32,33,34,-1,35,36,37,-1,38,39,40,-1,41,42,43,-1,44,45,46,-1,47,48,49,-1,50,51,52,-1,53,54,55,-1,56,57,58,-1,59,58,60,-1,55,54,61,-1,62,63,64,-1,65,66,67,-1,68,69,70,-1,71,72,73,-1,74,75,76,-1,77,78,79,-1,80,81,82,-1,83,84,63,-1,85,86,87,-1,88,89,90,-1,91,53,92,-1,93,94,95,-1,31,96,42,-1,97,38,98,-1,99,100,101,-1,102,103,104,-1,26,105,106,-1,33,107,34,-1,30,108,31,-1,109,110,111,-1,102,112,113,-1,114,115,116,-1,14,87,86,-1,117,73,11,-1,70,118,68,-1,119,17,16,-1,77,120,121,-1,12,122,11,-1,11,10,12,-1,7,22,123,-1,2,5,24,-1,124,70,69,-1,69,125,124,-1,2,3,5,-1,123,8,7,-1,121,78,77,-1,118,126,68,-1,10,19,127,-1,86,122,14,-1,119,128,17,-1,116,67,114,-1,113,129,102,-1,111,130,109,-1,30,131,108,-1,33,29,107,-1,132,26,106,-1,130,133,109,-1,130,134,133,-1,102,129,103,-1,100,135,101,-1,97,136,38,-1,31,108,96,-1,93,137,94,-1,91,138,53,-1,88,90,85,-1,85,90,86,-1,63,139,83,-1,82,140,80,-1,77,79,141,-1,75,142,76,-1,71,73,117,-1,68,143,69,-1,62,139,63,-1,55,61,144,-1,59,60,145,-1,56,49,57,-1,53,146,54,-1,50,147,51,-1,47,49,56,-1,44,148,45,-1,41,43,149,-1,38,150,39,-1,35,151,36,-1,152,153,154,-1,152,155,153,-1,32,34,156,-1,29,31,107,-1,105,26,28,-1,82,6,140,-1,25,157,0,-1,22,7,23,-1,158,127,19,-1,25,124,159,-1,126,118,160,-1,12,14,122,-1,9,11,73,-1,8,127,6,-1,2,24,0,-1,161,162,163,-1,37,162,161,-1,164,165,166,-1,164,167,165,-1,168,169,170,-1,168,171,169,-1,172,115,100,-1,172,116,115,-1,173,174,175,-1,174,173,176,-1,177,178,179,-1,177,180,178,-1,181,182,183,-1,182,181,184,-1,16,70,124,-1,16,118,70,-1,185,186,187,-1,185,188,186,-1,189,190,191,-1,190,189,192,-1,193,140,158,-1,193,80,140,-1,121,194,78,-1,194,121,195,-1,6,23,7,-1,6,82,23,-1,196,126,160,-1,197,126,196,-1,169,198,199,-1,169,171,198,-1,200,114,201,-1,200,115,114,-1,202,203,176,-1,203,202,204,-1,205,206,179,-1,206,205,207,-1,208,209,210,-1,209,208,211,-1,212,213,214,-1,213,212,215,-1,216,158,19,-1,158,216,193,-1,18,217,3,-1,18,218,217,-1,48,219,49,-1,48,220,219,-1,221,222,223,-1,221,224,222,-1,225,113,226,-1,113,225,129,-1,227,228,229,-1,227,99,228,-1,136,111,110,-1,230,111,136,-1,27,211,28,-1,27,231,211,-1,228,101,232,-1,228,99,101,-1,223,233,234,-1,223,222,233,-1,225,103,129,-1,225,235,103,-1,106,236,137,-1,106,105,236,-1,38,110,150,-1,136,110,38,-1,42,107,31,-1,107,42,41,-1,28,208,237,-1,28,211,208,-1,232,148,44,-1,232,101,148,-1,234,238,239,-1,234,233,238,-1,103,240,241,-1,103,235,240,-1,242,93,95,-1,243,93,242,-1,154,244,245,-1,154,153,244,-1,246,202,247,-1,248,202,246,-1,239,249,250,-1,239,238,249,-1,251,91,252,-1,251,149,91,-1,94,48,47,-1,94,253,48,-1,254,39,255,-1,40,39,254,-1,250,256,257,-1,250,249,256,-1,258,259,260,-1,261,259,258,-1,147,46,45,-1,46,147,50,-1,262,254,263,-1,264,254,262,-1,252,92,265,-1,252,91,92,-1,266,267,268,-1,269,267,266,-1,257,270,271,-1,257,256,270,-1,272,260,273,-1,258,260,272,-1,56,59,268,-1,56,58,59,-1,274,263,275,-1,262,263,274,-1,276,277,278,-1,276,279,277,-1,88,52,51,-1,52,88,280,-1,271,281,282,-1,271,270,281,-1,273,283,272,-1,273,284,283,-1,285,286,287,-1,288,286,285,-1,289,290,291,-1,289,292,290,-1,284,293,283,-1,284,294,293,-1,280,85,295,-1,280,88,85,-1,282,296,297,-1,282,281,296,-1,298,299,291,-1,299,298,300,-1,83,60,301,-1,145,60,83,-1,302,303,304,-1,305,303,302,-1,306,297,296,-1,297,306,307,-1,143,294,308,-1,293,294,143,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] getrmolr2lr_geometry_5_22_coordIndex_2()
		{
			int[] value = {295,87,309,-1,295,85,87,-1,310,311,312,-1,310,302,311,-1,313,300,298,-1,300,313,21,-1,301,84,83,-1,301,1,84,-1,216,314,315,-1,216,316,314,-1,306,120,317,-1,306,318,120,-1,319,320,308,-1,319,181,320,-1,188,64,186,-1,321,64,188,-1,192,322,323,-1,192,189,322,-1,324,159,325,-1,159,324,326,-1,327,328,125,-1,327,329,328,-1,330,123,331,-1,123,330,332,-1,333,78,194,-1,78,333,79,-1,182,334,183,-1,182,335,334,-1,336,337,338,-1,339,337,336,-1,340,75,322,-1,75,340,142,-1,341,33,32,-1,342,33,341,-1,342,29,33,-1,231,29,342,-1,231,30,29,-1,231,131,30,-1,231,343,131,-1,27,343,231,-1,27,130,343,-1,26,130,27,-1,132,130,26,-1,132,134,130,-1,330,344,345,-1,346,344,330,-1,347,333,348,-1,333,347,349,-1,335,350,351,-1,335,352,350,-1,353,326,324,-1,353,338,326,-1,354,355,356,-1,354,357,355,-1,358,338,353,-1,336,338,358,-1,334,351,359,-1,334,335,351,-1,360,333,349,-1,360,79,333,-1,332,345,361,-1,332,330,345,-1,323,75,346,-1,323,322,75,-1,362,339,336,-1,187,339,362,-1,183,329,327,-1,183,334,329,-1,348,194,13,-1,194,348,333,-1,352,363,350,-1,352,364,363,-1,76,356,355,-1,356,76,142,-1,192,313,190,-1,313,192,365,-1,311,188,366,-1,311,321,188,-1,1,367,84,-1,1,0,367,-1,368,181,319,-1,368,184,181,-1,120,369,121,-1,318,369,120,-1,315,193,216,-1,193,315,370,-1,321,62,64,-1,304,62,321,-1,21,164,300,-1,164,21,23,-1,312,371,310,-1,371,312,191,-1,372,309,369,-1,372,295,309,-1,294,319,308,-1,294,373,319,-1,296,318,306,-1,296,374,318,-1,304,285,62,-1,303,285,304,-1,60,18,301,-1,60,375,18,-1,291,376,298,-1,291,290,376,-1,281,374,296,-1,281,377,374,-1,180,283,293,-1,177,283,180,-1,291,277,289,-1,277,291,299,-1,61,274,305,-1,54,274,61,-1,59,287,286,-1,59,145,287,-1,278,299,166,-1,278,277,299,-1,378,282,379,-1,378,271,282,-1,380,280,381,-1,380,52,280,-1,272,177,382,-1,272,283,177,-1,289,279,265,-1,279,289,277,-1,54,262,274,-1,146,262,54,-1,286,268,59,-1,266,268,286,-1,382,258,272,-1,383,258,382,-1,384,271,378,-1,384,257,271,-1,385,52,380,-1,385,50,52,-1,268,47,56,-1,267,47,268,-1,265,386,252,-1,386,265,279,-1,263,255,387,-1,254,255,263,-1,388,147,45,-1,388,168,147,-1,259,389,260,-1,259,245,389,-1,249,390,256,-1,249,391,390,-1,255,242,269,-1,39,242,255,-1,392,393,220,-1,392,394,393,-1,149,138,91,-1,149,43,138,-1,238,391,249,-1,238,395,391,-1,148,388,45,-1,148,396,388,-1,240,245,259,-1,240,154,245,-1,43,96,397,-1,42,96,43,-1,243,39,150,-1,243,242,39,-1,151,251,36,-1,151,398,251,-1,155,239,153,-1,155,234,239,-1,399,44,400,-1,399,232,44,-1,174,103,241,-1,104,103,174,-1,34,41,398,-1,34,107,41,-1,133,137,93,-1,133,106,137,-1,401,234,155,-1,401,223,234,-1,402,232,399,-1,402,228,232,-1,341,156,403,-1,341,32,156,-1,402,229,228,-1,404,229,402,-1,226,405,225,-1,226,406,405,-1,224,407,222,-1,224,408,407,-1,253,220,48,-1,253,392,220,-1,375,218,18,-1,375,409,218,-1,9,216,19,-1,9,316,216,-1,410,214,165,-1,214,410,212,-1,208,161,394,-1,210,161,208,-1,411,179,178,-1,179,411,205,-1,247,176,173,-1,176,247,202,-1,412,201,248,-1,412,200,201,-1,169,413,414,-1,169,199,413,-1,3,415,4,-1,217,415,3,-1,8,10,127,-1,12,10,8,-1,90,117,86,-1,90,416,117,-1,180,126,178,-1,180,68,126,-1,415,193,370,-1,193,415,80,-1,365,323,331,-1,323,365,192,-1,417,188,185,-1,417,366,188,-1,337,0,157,-1,337,367,0,-1,15,118,16,-1,15,160,118,-1,184,418,182,-1,418,184,419,-1,179,382,177,-1,382,179,206,-1,104,176,203,-1,104,174,176,-1,100,200,135,-1,100,115,200,-1,420,168,388,-1,168,420,171,-1,214,166,165,-1,278,166,214,-1,210,37,161,-1,35,37,210,-1,341,209,342,-1,341,403,209,-1,163,276,213,-1,162,276,163,-1,412,135,200,-1,396,135,412,-1,414,170,169,-1,89,170,414,-1,112,421,65,-1,112,102,421,-1,175,422,173,-1,175,383,422,-1,317,77,423,-1,77,317,120,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=3 */
		private int[] getrmolr2lr_geometry_5_22_coordIndex_3()
		{
			int[] value = {327,181,183,-1,327,320,181,-1,196,316,72,-1,314,316,196,-1,187,424,339,-1,187,186,424,-1,189,340,322,-1,340,189,425,-1,158,6,127,-1,158,140,6,-1,72,9,73,-1,316,9,72,-1,195,13,194,-1,13,195,14,-1,5,128,119,-1,5,4,128,-1,24,119,25,-1,24,5,119,-1,11,86,117,-1,86,11,122,-1,416,71,117,-1,416,426,71,-1,171,246,198,-1,171,420,246,-1,204,421,203,-1,421,204,427,-1,207,422,206,-1,422,207,428,-1,211,342,209,-1,342,211,231,-1,215,163,213,-1,163,215,393,-1,81,167,82,-1,167,81,429,-1,17,370,315,-1,17,128,370,-1,49,430,57,-1,49,219,430,-1,105,237,236,-1,105,28,237,-1,431,223,401,-1,431,221,223,-1,100,227,172,-1,227,100,99,-1,97,230,136,-1,343,230,97,-1,222,432,233,-1,222,407,432,-1,225,152,235,-1,225,405,152,-1,150,109,243,-1,110,109,150,-1,403,151,35,-1,403,156,151,-1,101,396,148,-1,101,135,396,-1,233,395,238,-1,233,432,395,-1,235,154,240,-1,235,152,154,-1,237,394,392,-1,237,208,394,-1,433,38,40,-1,98,38,433,-1,398,149,251,-1,398,41,149,-1,175,241,261,-1,174,241,175,-1,400,46,434,-1,400,44,46,-1,153,250,244,-1,153,239,250,-1,36,252,386,-1,36,251,252,-1,267,94,47,-1,95,94,267,-1,264,40,254,-1,433,40,264,-1,244,257,384,-1,244,250,257,-1,383,261,258,-1,175,261,383,-1,434,50,385,-1,434,46,50,-1,146,264,262,-1,435,264,146,-1,220,215,219,-1,220,393,215,-1,387,269,266,-1,255,269,387,-1,256,436,270,-1,256,390,436,-1,260,437,273,-1,260,389,437,-1,147,170,51,-1,147,168,170,-1,275,387,288,-1,263,387,275,-1,92,55,292,-1,92,53,55,-1,219,212,430,-1,219,215,212,-1,51,89,88,-1,51,170,89,-1,270,377,281,-1,270,436,377,-1,438,273,437,-1,273,438,284,-1,58,375,60,-1,58,57,375,-1,303,288,285,-1,275,288,303,-1,292,144,290,-1,292,55,144,-1,284,373,294,-1,284,438,373,-1,381,295,372,-1,381,280,295,-1,379,297,439,-1,379,282,297,-1,300,166,299,-1,166,300,164,-1,139,145,83,-1,287,145,139,-1,61,302,310,-1,61,305,302,-1,439,307,368,-1,439,297,307,-1,68,293,143,-1,180,293,68,-1,302,321,311,-1,302,304,321,-1,298,190,313,-1,298,376,190,-1,2,301,18,-1,301,2,1,-1,415,81,80,-1,217,81,415,-1,14,309,87,-1,309,14,195,-1,307,317,419,-1,307,306,317,-1,308,69,143,-1,308,320,69,-1,63,186,64,-1,63,424,186,-1,191,425,189,-1,191,312,425,-1,326,25,159,-1,25,326,157,-1,440,329,441,-1,329,440,328,-1,8,332,20,-1,8,123,332,-1,335,418,352,-1,182,418,335,-1,338,157,326,-1,338,337,157,-1,185,356,417,-1,185,354,356,-1,346,74,344,-1,346,75,74,-1,348,442,347,-1,348,20,442,-1,364,443,363,-1,364,141,443,-1,325,328,440,-1,325,159,328,-1,362,357,354,-1,362,444,357,-1,444,336,358,-1,362,336,444,-1,334,441,329,-1,334,359,441,-1,141,360,443,-1,141,79,360,-1,361,20,332,-1,20,361,442,-1,130,230,343,-1,130,111,230,-1,331,346,330,-1,331,323,346,-1,187,354,185,-1,187,362,354,-1,159,125,328,-1,159,124,125,-1,141,423,77,-1,423,141,364,-1,20,13,12,-1,13,20,348,-1,364,418,423,-1,352,418,364,-1,417,142,340,-1,417,356,142,-1,365,21,313,-1,21,365,22,-1,312,366,425,-1,312,311,366,-1,84,424,63,-1,84,367,424,-1,307,184,368,-1,307,419,184,-1,195,369,309,-1,369,195,121,-1,229,172,227,-1,112,226,113,-1,112,406,226,-1,65,406,112,-1,65,431,406,-1,67,431,65,-1,67,221,431,-1,67,224,221,-1,67,408,224,-1,404,172,229,-1,404,116,172,-1,408,116,404,-1,67,116,408,-1,72,197,196,-1,71,197,72,-1,217,429,81,-1,218,429,217,-1,376,191,190,-1,376,371,191,-1,374,369,318,-1,374,372,369,-1,71,411,197,-1,426,411,71,-1,373,368,319,-1,373,439,368,-1,144,310,371,-1,144,61,310,-1,62,287,139,-1,285,287,62,-1,409,429,218,-1,409,410,429,-1,290,371,376,-1,290,144,371,-1,377,372,374,-1,377,381,372,-1,426,205,411,-1,413,205,426,-1,438,439,373,-1,438,379,439,-1,305,275,303,-1,274,275,305,-1,430,410,409,-1,430,212,410,-1,437,379,438,-1,437,378,379,-1,436,381,377,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=4 */
		private int[] getrmolr2lr_geometry_5_22_coordIndex_4()
		{
			int[] value = {436,380,381,-1,413,207,205,-1,199,207,413,-1,265,292,289,-1,265,92,292,-1,288,266,286,-1,387,266,288,-1,199,428,207,-1,198,428,199,-1,389,378,437,-1,389,384,378,-1,390,380,436,-1,390,385,380,-1,162,279,276,-1,162,386,279,-1,53,435,146,-1,138,435,53,-1,391,385,390,-1,391,434,385,-1,198,247,428,-1,246,247,198,-1,245,384,389,-1,245,244,384,-1,435,433,264,-1,397,433,435,-1,95,269,242,-1,95,267,269,-1,386,37,36,-1,37,386,162,-1,138,397,435,-1,43,397,138,-1,395,434,391,-1,395,400,434,-1,241,259,261,-1,241,240,259,-1,397,98,433,-1,96,98,397,-1,137,253,94,-1,137,236,253,-1,432,400,395,-1,432,399,400,-1,248,204,202,-1,201,204,248,-1,398,156,34,-1,156,398,151,-1,96,97,98,-1,108,97,96,-1,243,133,93,-1,109,133,243,-1,201,427,204,-1,114,427,201,-1,405,155,152,-1,405,401,155,-1,407,399,432,-1,407,402,399,-1,134,106,133,-1,134,132,106,-1,108,343,97,-1,131,343,108,-1,407,404,402,-1,408,404,407,-1,114,66,427,-1,67,66,114,-1,406,401,405,-1,406,431,401,-1,236,392,253,-1,236,237,392,-1,57,409,375,-1,57,430,409,-1,315,15,17,-1,15,315,314,-1,429,165,167,-1,165,429,410,-1,394,163,393,-1,161,163,394,-1,197,178,126,-1,178,197,411,-1,428,173,422,-1,173,428,247,-1,427,65,421,-1,65,427,66,-1,420,248,246,-1,420,412,248,-1,416,413,426,-1,416,414,413,-1,82,164,23,-1,167,164,82,-1,124,119,16,-1,25,119,124,-1,4,370,128,-1,370,4,415,-1,22,331,123,-1,331,22,365,-1,425,417,340,-1,417,425,366,-1,339,367,337,-1,339,424,367,-1,314,160,15,-1,314,196,160,-1,125,320,327,-1,125,69,320,-1,419,423,418,-1,423,419,317,-1,206,383,382,-1,383,206,422,-1,203,102,104,-1,102,203,421,-1,89,416,90,-1,89,414,416,-1,396,420,388,-1,396,412,420,-1,278,213,276,-1,278,214,213,-1,35,209,403,-1,35,210,209,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='rmolr2lr_geometry' coordIndex field, scene-graph level=5, element #22, 3460 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 getrmolr2lr_geometry_5_22_coordIndex()
		{
			MFInt32 rmolr2lr_geometry_5_22_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getrmolr2lr_geometry_5_22_coordIndex_1()))
				.append(new MFInt32(getrmolr2lr_geometry_5_22_coordIndex_2()))
				.append(new MFInt32(getrmolr2lr_geometry_5_22_coordIndex_3()))
				.append(new MFInt32(getrmolr2lr_geometry_5_22_coordIndex_4()));
			return rmolr2lr_geometry_5_22_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='rmolr2lr_coordinate' point field, scene-graph level=6, element #22, 1335 total numbers made up of 445 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 getrmolr2lr_coordinate_6_22_point()
		{
			MFVec3f rmolr2lr_coordinate_6_22_point = new MFVec3f(new double[] {-0.0227,1.5846,0.0524,-0.0229,1.5834,0.0525,-0.0235,1.5836,0.0521,-0.0238,1.5837,0.0521,-0.0236,1.5847,0.0519,-0.0232,1.5847,0.0519,-0.0311,1.5851,0.0535,-0.0313,1.5851,0.0536,-0.0318,1.5863,0.0534,-0.0306,1.5861,0.0529,-0.0317,1.5863,0.0531,-0.0314,1.5858,0.0518,-0.0318,1.5864,0.0531,-0.0316,1.5868,0.0515,-0.0316,1.586,0.0511,-0.0235,1.5857,0.0516,-0.0228,1.5858,0.0515,-0.0235,1.5856,0.0517,-0.0241,1.5818,0.0522,-0.0307,1.5861,0.053,-0.0317,1.5878,0.0536,-0.0311,1.5837,0.0543,-0.0313,1.585,0.0543,-0.0308,1.5839,0.0537,-0.023,1.5846,0.052,-0.0226,1.5858,0.0518,-0.0279,1.5767,0.0509,-0.0284,1.5767,0.0509,-0.0281,1.5771,0.0508,-0.0291,1.5765,0.0518,-0.0289,1.5765,0.0517,-0.0291,1.5766,0.0522,-0.0294,1.5766,0.0516,-0.0293,1.5765,0.0517,-0.0296,1.5767,0.0521,-0.0297,1.5775,0.0518,-0.0298,1.5778,0.0521,-0.0297,1.5779,0.0518,-0.0278,1.5769,0.052,-0.0269,1.5771,0.052,-0.0276,1.5772,0.0523,-0.0294,1.577,0.0525,-0.0291,1.577,0.0525,-0.0291,1.5773,0.0528,-0.0314,1.579,0.0476,-0.0317,1.5795,0.0484,-0.0313,1.5795,0.0477,-0.0256,1.5779,0.051,-0.0262,1.5781,0.0509,-0.0256,1.5786,0.0511,-0.0312,1.5801,0.0478,-0.0314,1.5807,0.0487,-0.0312,1.5808,0.0479,-0.029,1.5783,0.0536,-0.0284,1.5789,0.0541,-0.029,1.5789,0.0542,-0.0252,1.5784,0.0512,-0.0252,1.5794,0.0513,-0.0247,1.5792,0.0515,-0.0248,1.5791,0.0518,-0.0242,1.5802,0.052,-0.0283,1.5797,0.0547,-0.0249,1.5807,0.0546,-0.0234,1.5829,0.0542,-0.0245,1.5826,0.0553,-0.0299,1.5776,0.0474,-0.0301,1.5776,0.0474,-0.0305,1.5776,0.0475,-0.0239,1.5839,0.0496,-0.023,1.5853,0.0501,-0.0231,1.5852,0.0505,-0.0289,1.5843,0.0509,-0.0286,1.5853,0.0518,-0.0308,1.5856,0.052,-0.029,1.5882,0.0577,-0.0292,1.5869,0.0572,-0.0279,1.5882,0.0575,-0.0285,1.5869,0.0484,-0.03,1.5873,0.049,-0.0299,1.5884,0.0496,-0.0285,1.5851,0.0527,-0.0285,1.5839,0.0528,-0.0307,1.5839,0.0536,-0.0234,1.5815,0.0528,-0.0229,1.5833,0.0529,-0.0316,1.5831,0.0497,-0.0313,1.5846,0.0508,-0.0317,1.5848,0.0504,-0.0315,1.5818,0.0491,-0.0312,1.5816,0.0494,-0.0312,1.583,0.0499,-0.0294,1.5779,0.0532,-0.0294,1.5784,0.0535,-0.0267,1.577,0.0511,-0.0263,1.5774,0.0509,-0.0263,1.5773,0.0512,-0.0288,1.577,0.0523,-0.0285,1.5767,0.0519,-0.0283,1.577,0.0522,-0.0314,1.5779,0.0477,-0.0312,1.5779,0.048,-0.0315,1.5783,0.048,-0.0289,1.5778,0.0476,-0.0281,1.5781,0.0474,-0.0284,1.5781,0.0478,-0.0275,1.577,0.0508,-0.0272,1.5769,0.0508,-0.0294,1.5766,0.0522,-0.0288,1.5767,0.052,-0.0273,1.5767,0.0513,-0.0277,1.5767,0.0516,-0.0281,1.5765,0.0514,-0.0297,1.5776,0.0473,-0.0296,1.5776,0.0472,-0.0305,1.5778,0.0481,-0.0309,1.5779,0.0481,-0.0306,1.5776,0.0476,-0.0311,1.5846,0.0509,-0.0233,1.5852,0.0506,-0.0227,1.5858,0.0518,-0.0286,1.5862,0.048,-0.0301,1.5864,0.0486,-0.0316,1.5858,0.0518,-0.0316,1.5861,0.0544,-0.0226,1.5859,0.0515,-0.0227,1.586,0.0508,-0.0241,1.5839,0.0497,-0.0317,1.5863,0.0534,-0.0235,1.5856,0.0518,-0.0288,1.5778,0.0473,-0.0279,1.5766,0.0513,-0.0288,1.5765,0.0517,-0.0278,1.5767,0.0509,-0.0272,1.5768,0.051,-0.0278,1.5767,0.051,-0.0312,1.5783,0.0483,-0.028,1.5767,0.0518,-0.0268,1.5772,0.0509,-0.0291,1.5778,0.0532,-0.0242,1.581,0.0539,-0.0306,1.5851,0.0533,-0.0284,1.5884,0.0488,-0.0282,1.5868,0.0572,-0.0234,1.584,0.0491,-0.029,1.5798,0.0547,-0.0241,1.5801,0.0523,-0.0285,1.5782,0.0535,-0.0315,1.58,0.0485,-0.0316,1.5789,0.0482,-0.0294,1.5774,0.0528,-0.0273,1.5769,0.0518,-0.0297,1.5774,0.052,-0.0285,1.5783,0.0465,-0.0285,1.579,0.0461,-0.0279,1.5788,0.0465,-0.029,1.5785,0.0463,-0.0296,1.5769,0.0518,-0.0225,1.5857,0.0523,-0.0306,1.5861,0.0531,-0.0225,1.5873,0.052,-0.0238,1.5851,0.0507,-0.0295,1.5779,0.0516,-0.0297,1.5785,0.052,-0.0295,1.5785,0.0518,-0.0304,1.5821,0.0535,-0.0299,1.5809,0.0528,-0.0301,1.5808,0.053,-0.0302,1.5821,0.0534,-0.0311,1.58,0.049,-0.0308,1.5805,0.0492,-0.0311,1.5806,0.0491,-0.0308,1.5799,0.0491,-0.0308,1.5776,0.0475,-0.0273,1.579,0.0482,-0.0277,1.5785,0.0479,-0.027,1.579,0.048,-0.0279,1.5786,0.0481,-0.0253,1.5813,0.0484,-0.0247,1.5827,0.049,-0.0256,1.5813,0.0486,-0.0245,1.5827,0.0489,-0.024,1.5856,0.0481,-0.0251,1.5867,0.0481,-0.0238,1.5865,0.0486,-0.0253,1.5858,0.0476,-0.0256,1.5852,0.0565,-0.0243,1.5842,0.0557,-0.0241,1.5852,0.0559,-0.0257,1.5842,0.0562,-0.0294,1.5844,0.0566,-0.03,1.5832,0.0558,-0.0293,1.5829,0.0563,-0.0301,1.5846,0.0561,-0.0284,1.5858,0.0527,-0.0311,1.5871,0.0503,-0.0312,1.5862,0.0499,-0.0261,1.5853,0.0513,-0.0264,1.5841,0.0503,-0.0297,1.5798,0.049,-0.0295,1.5804,0.0492,-0.0309,1.5783,0.0484,-0.0303,1.5782,0.0484,-0.0289,1.5787,0.0484,-0.0286,1.5781,0.048,-0.0293,1.5782,0.0483,-0.0273,1.5814,0.049,-0.0262,1.5802,0.0484,-0.0278,1.5803,0.0489,-0.0288,1.5775,0.0512,-0.0294,1.5771,0.0515,-0.0295,1.5775,0.0516,-0.0288,1.5771,0.0511,-0.0283,1.5799,0.0518,-0.0296,1.5791,0.052,-0.0298,1.5799,0.0524,-0.0284,1.5791,0.0515,-0.0285,1.5858,0.0526,-0.0261,1.5838,0.0524,-0.0261,1.5822,0.0523,-0.027,1.5789,0.0511,-0.0275,1.5784,0.051,-0.0302,1.5777,0.0468,-0.0302,1.5781,0.0465,-0.0299,1.5781,0.0465,-0.0303,1.5777,0.0469,-0.0288,1.5778,0.0471,-0.0296,1.5776,0.0471,-0.0309,1.5776,0.0475,-0.0313,1.578,0.0473,-0.0308,1.5777,0.0473,-0.0283,1.5765,0.0515,-0.0288,1.5767,0.0511,-0.0314,1.5784,0.0475,-0.03,1.5785,0.0464,-0.0296,1.5785,0.0463,-0.0282,1.5782,0.047,-0.0272,1.5774,0.0508,-0.0278,1.5774,0.0508,-0.0297,1.5792,0.0463,-0.0292,1.5791,0.0462,-0.0274,1.5786,0.047,-0.0274,1.5785,0.0474,-0.0265,1.5772,0.0516,-0.0269,1.5769,0.0515,-0.0279,1.5795,0.046,-0.0272,1.5793,0.0464,-0.0299,1.5792,0.0489,-0.0284,1.5791,0.0486,-0.0301,1.5787,0.0487,-0.0294,1.5797,0.0462,-0.0288,1.5796,0.0461,-0.0297,1.5776,0.0526,-0.0298,1.5781,0.0529,-0.0267,1.5776,0.0508,-0.0273,1.5776,0.0526,-0.0266,1.5775,0.0523,-0.0291,1.5803,0.0462,-0.0285,1.5802,0.0461,-0.0261,1.5795,0.0477,-0.0267,1.5791,0.047,-0.0263,1.5797,0.0471,-0.0266,1.579,0.0475,-0.0279,1.5781,0.0533,-0.027,1.5781,0.053,-0.0281,1.5777,0.0529,-0.0299,1.5787,0.0531,-0.0257,1.578,0.0521,-0.0257,1.5777,0.0513,-0.0253,1.5783,0.0515,-0.026,1.5776,0.0518,-0.0288,1.5811,0.0462,-0.0281,1.581,0.0461,-0.0256,1.5802,0.0478,-0.0257,1.5804,0.0472,-0.0278,1.5788,0.0539,-0.0267,1.5787,0.0536,-0.0298,1.5791,0.0522,-0.0302,1.5796,0.0531,-0.03,1.5798,0.0525,-0.03,1.5789,0.0526,-0.0311,1.5819,0.0481,-0.0284,1.5822,0.0463,-0.0277,1.5821,0.0462,-0.0249,1.5813,0.048,-0.025,1.5815,0.0473,-0.0253,1.5795,0.0539,-0.0251,1.5788,0.0526,-0.0247,1.5797,0.0532,-0.0258,1.5786,0.0532,-0.03,1.5794,0.0535,-0.0295,1.58,0.0545,-0.0301,1.5803,0.0539,-0.0295,1.5791,0.0539,-0.024,1.5827,0.0485,-0.0241,1.5829,0.0478,-0.0312,1.5833,0.0486,-0.0281,1.5836,0.0467,-0.0272,1.5835,0.0465,-0.0304,1.5816,0.0546,-0.0304,1.5806,0.0535,-0.0306,1.5819,0.054,-0.0234,1.5816,0.0524,-0.0274,1.5808,0.0553,-0.0263,1.5796,0.0543,-0.0261,1.5807,0.055,-0.0275,1.5797,0.0546,-0.0278,1.5853,0.0473,-0.0268,1.5852,0.0471,-0.0234,1.5842,0.0484,-0.0313,1.5852,0.0494,-0.0283,1.5809,0.0554,-0.0273,1.5827,0.0561,-0.0283,1.5828,0.0562,-0.0308,1.5835,0.055,-0.026,1.5857,0.0521,-0.026,1.5857,0.0521,-0.0285,1.5858,0.0525,-0.0276,1.5861,0.0478,-0.0287,1.5854,0.0475,-0.0242,1.5845,0.0475,-0.0232,1.5854,0.0492,-0.0258,1.5826,0.0558,-0.0294,1.5855,0.0569,-0.0302,1.5857,0.0563,-0.0222,1.589,0.053,-0.0223,1.5892,0.0523,-0.0224,1.5872,0.0526,-0.0229,1.5862,0.0499,-0.0226,1.5875,0.0511,-0.0228,1.5876,0.0503,-0.031,1.5874,0.0557,-0.0311,1.5859,0.0553,-0.0315,1.5876,0.0547,-0.031,1.5883,0.0509,-0.0237,1.588,0.049,-0.025,1.5882,0.0484,-0.0228,1.5868,0.055,-0.0224,1.5856,0.0529,-0.0223,1.587,0.0532,-0.0229,1.5853,0.0546,-0.0283,1.5854,0.0569,-0.0293,1.5766,0.0515,-0.0291,1.5767,0.0513,-0.0286,1.5765,0.0516,-0.03,1.5885,0.0571,-0.0311,1.5887,0.0561,-0.0301,1.5871,0.0566,-0.0317,1.5896,0.0524,-0.0315,1.5881,0.0521,-0.0311,1.5897,0.0509,-0.0262,1.5898,0.0486,-0.0248,1.5899,0.0487,-0.0264,1.5883,0.0485,-0.0221,1.5888,0.0538,-0.0255,1.5867,0.0568,-0.0267,1.5881,0.0573,-0.0272,1.5868,0.0571,-0.0252,1.588,0.0569,-0.0225,1.5883,0.0556,-0.0234,1.5898,0.0493,-0.03,1.5897,0.0498,-0.0316,1.589,0.0551,-0.024,1.5866,0.0562,-0.0273,1.5898,0.0488,-0.0274,1.5883,0.0486,-0.031,1.5848,0.0552,-0.0273,1.5843,0.0565,-0.0226,1.5845,0.0529,-0.0254,1.5849,0.0471,-0.0302,1.5854,0.0482,-0.026,1.5856,0.0522,-0.0292,1.5811,0.0555,-0.0302,1.5836,0.0475,-0.0249,1.5832,0.047,-0.0289,1.5836,0.0469,-0.0247,1.5804,0.0517,-0.0297,1.5813,0.0551,-0.0292,1.5822,0.0465,-0.0271,1.5809,0.0461,-0.0266,1.5821,0.0462,-0.0304,1.581,0.0469,-0.0303,1.5821,0.0471,-0.026,1.5801,0.0483,-0.0265,1.5795,0.0481,-0.0275,1.5801,0.0461,-0.0306,1.5802,0.0469,-0.0299,1.5784,0.0523,-0.0262,1.578,0.0526,-0.0312,1.5794,0.0488,-0.0267,1.5799,0.0465,-0.0297,1.5803,0.0464,-0.0299,1.5797,0.0464,-0.0276,1.5778,0.0509,-0.0286,1.5785,0.0513,-0.0287,1.5779,0.0512,-0.0302,1.5791,0.0464,-0.0312,1.5788,0.0486,-0.0287,1.5773,0.0526,-0.0297,1.5772,0.0523,-0.031,1.5785,0.0469,-0.0309,1.5791,0.0469,-0.0294,1.578,0.0464,-0.0309,1.5781,0.0469,-0.0295,1.577,0.0516,-0.0307,1.5777,0.047,-0.0291,1.578,0.0466,-0.0297,1.5777,0.0469,-0.0305,1.5781,0.0466,-0.0305,1.5777,0.0469,-0.0265,1.5807,0.0518,-0.0283,1.5809,0.0522,-0.0268,1.5828,0.0496,-0.0309,1.5788,0.0487,-0.0293,1.5815,0.0494,-0.031,1.5816,0.0495,-0.026,1.5849,0.0523,-0.031,1.583,0.05,-0.0273,1.5853,0.0567,-0.0265,1.5868,0.0481,-0.0267,1.586,0.0476,-0.031,1.5794,0.0489,-0.0291,1.5778,0.0477,-0.0267,1.5795,0.0483,-0.0275,1.5869,0.0482,-0.0231,1.5843,0.0545,-0.0283,1.5844,0.0566,-0.0291,1.5828,0.0502,-0.0297,1.5778,0.0479,-0.0281,1.5797,0.0487,-0.0282,1.5822,0.0527,-0.0267,1.5797,0.0514,-0.0299,1.5777,0.0468,-0.0304,1.5785,0.0465,-0.0283,1.5773,0.0525,-0.0308,1.5796,0.0469,-0.0286,1.5778,0.0531,-0.0294,1.5811,0.0464,-0.0263,1.5806,0.0465,-0.0256,1.5818,0.0466,-0.026,1.5834,0.0465,-0.0224,1.5894,0.0515,-0.0226,1.5896,0.0506,-0.0319,1.5893,0.0541,-0.0283,1.5898,0.0489,-0.0238,1.588,0.0565});
			return rmolr2lr_coordinate_6_22_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 r_molar2lr 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 r_molar2lr().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.r_molar2lr\" 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.r_molar2lr self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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