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

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] getlmolr3lr_geometry_5_22_coordIndex_2()
		{
			int[] value = {292,105,60,-1,105,292,315,-1,289,307,287,-1,307,289,316,-1,308,284,317,-1,308,282,284,-1,106,280,318,-1,106,278,280,-1,275,301,319,-1,274,301,275,-1,271,242,309,-1,271,270,242,-1,267,320,56,-1,320,267,240,-1,118,306,0,-1,118,258,306,-1,50,266,263,-1,50,49,266,-1,246,304,261,-1,304,246,321,-1,258,61,306,-1,61,258,255,-1,100,137,322,-1,144,137,100,-1,144,140,137,-1,144,323,140,-1,141,323,144,-1,141,324,323,-1,141,135,324,-1,141,85,135,-1,26,85,141,-1,26,18,85,-1,26,114,18,-1,26,325,114,-1,26,326,325,-1,26,133,326,-1,258,149,256,-1,258,118,149,-1,253,264,232,-1,252,264,253,-1,327,250,107,-1,327,328,250,-1,223,240,267,-1,240,223,238,-1,329,30,29,-1,162,30,329,-1,243,330,331,-1,243,222,330,-1,239,226,272,-1,239,241,226,-1,236,248,234,-1,248,236,220,-1,256,332,218,-1,256,149,332,-1,232,214,253,-1,232,231,214,-1,328,65,250,-1,328,333,65,-1,225,238,223,-1,238,225,211,-1,334,162,329,-1,335,162,334,-1,222,40,330,-1,222,67,40,-1,205,333,219,-1,333,205,336,-1,235,201,337,-1,235,217,201,-1,216,91,95,-1,216,213,91,-1,227,198,212,-1,227,338,198,-1,339,211,225,-1,211,339,195,-1,215,109,213,-1,215,187,109,-1,207,336,205,-1,336,207,185,-1,337,203,182,-1,337,201,203,-1,213,34,91,-1,213,109,34,-1,68,340,41,-1,68,199,340,-1,197,341,342,-1,197,196,341,-1,194,37,38,-1,70,37,194,-1,173,14,98,-1,38,14,173,-1,340,170,193,-1,340,343,170,-1,341,168,190,-1,341,344,168,-1,194,166,189,-1,194,175,166,-1,35,187,186,-1,109,187,35,-1,345,185,207,-1,185,345,183,-1,346,182,203,-1,182,346,180,-1,77,347,186,-1,77,116,347,-1,120,32,183,-1,32,120,33,-1,130,178,180,-1,178,130,176,-1,98,174,173,-1,98,97,174,-1,343,172,170,-1,343,348,172,-1,344,84,168,-1,344,136,84,-1,138,175,139,-1,166,175,138,-1,349,350,351,-1,350,349,352,-1,164,87,86,-1,164,353,87,-1,111,93,92,-1,93,111,30,-1,354,159,353,-1,159,354,160,-1,90,233,125,-1,156,233,90,-1,355,21,20,-1,355,154,21,-1,350,150,2,-1,350,151,150,-1,356,19,357,-1,356,20,19,-1,108,29,46,-1,108,329,29,-1,358,147,146,-1,358,359,147,-1,99,144,100,-1,99,142,144,-1,140,167,138,-1,167,140,323,-1,16,325,348,-1,16,114,325,-1,360,131,80,-1,131,360,129,-1,132,176,130,-1,176,132,361,-1,128,88,127,-1,128,86,88,-1,115,126,125,-1,115,12,126,-1,81,23,362,-1,81,24,23,-1,363,116,10,-1,347,116,363,-1,122,33,120,-1,33,122,364,-1,351,2,1,-1,351,350,2,-1,121,365,119,-1,121,179,365,-1,110,9,8,-1,110,366,9,-1,123,347,363,-1,124,347,123,-1,34,83,367,-1,83,34,36,-1,92,351,111,-1,92,349,351,-1,155,113,112,-1,155,368,113,-1,172,133,134,-1,172,326,133,-1,324,136,369,-1,136,324,135,-1,139,322,137,-1,139,174,322,-1,26,143,27,-1,143,26,141,-1,148,334,209,-1,148,145,334,-1,332,150,152,-1,150,332,149,-1,21,79,78,-1,21,112,79,-1,153,356,152,-1,153,370,356,-1,89,371,157,-1,371,89,367,-1,143,161,158,-1,142,161,143,-1,335,163,162,-1,164,163,335,-1,93,128,7,-1,93,163,128,-1,159,96,13,-1,159,161,96,-1,12,313,254,-1,12,11,313,-1,167,372,165,-1,372,167,369,-1,16,169,17,-1,373,169,16,-1,134,358,171,-1,358,134,25,-1,346,80,131,-1,346,101,80,-1,179,345,177,-1,345,179,121,-1,110,76,31,-1,76,110,8,-1,35,22,36,-1,35,124,22,-1,178,204,181,-1,204,178,177,-1,32,208,184,-1,208,32,31,-1,371,154,355,-1,371,82,154,-1,188,372,196,-1,188,165,372,-1,191,373,199,-1,191,169,373,-1,146,171,358,-1,146,192,171,-1,147,354,145,-1,160,354,147,-1,189,195,339,-1,195,189,188,-1,338,191,198,-1,338,190,191,-1,193,103,72,-1,103,193,192,-1,19,202,357,-1,202,19,200,-1,181,206,374,-1,206,181,204,-1,66,208,45,-1,66,184,208,-1,145,335,334,-1,354,335,145,-1,197,229,210,-1,229,197,342,-1,231,215,214,-1,231,73,215,-1,218,357,202,-1,218,332,357,-1,374,220,236,-1,220,374,206,-1,228,212,221,-1,228,227,212,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=3 */
		private int[] getlmolr3lr_geometry_5_22_coordIndex_3()
		{
			int[] value = {39,48,375,-1,48,39,71,-1,244,69,224,-1,244,42,69,-1,210,226,241,-1,226,210,229,-1,249,43,230,-1,249,44,43,-1,95,251,216,-1,126,251,95,-1,237,217,235,-1,237,257,217,-1,219,328,376,-1,328,219,333,-1,270,221,242,-1,270,228,221,-1,259,48,47,-1,259,375,48,-1,224,245,244,-1,268,245,224,-1,248,321,246,-1,321,248,376,-1,49,230,266,-1,49,249,230,-1,126,254,251,-1,12,254,126,-1,377,257,237,-1,377,255,257,-1,311,259,260,-1,311,331,259,-1,377,262,59,-1,262,377,247,-1,299,107,51,-1,299,327,107,-1,265,252,300,-1,265,264,252,-1,58,268,55,-1,58,245,268,-1,239,269,297,-1,269,239,272,-1,310,331,311,-1,310,243,331,-1,277,54,378,-1,57,54,277,-1,281,379,279,-1,281,298,379,-1,283,312,380,-1,285,312,283,-1,381,288,305,-1,288,381,286,-1,291,382,290,-1,291,303,382,-1,295,383,293,-1,295,384,383,-1,294,304,299,-1,294,302,304,-1,57,5,6,-1,57,63,5,-1,363,23,123,-1,10,23,363,-1,10,362,23,-1,9,362,10,-1,366,362,9,-1,364,362,366,-1,122,362,364,-1,122,368,362,-1,119,368,122,-1,365,368,119,-1,365,113,368,-1,361,113,365,-1,132,113,361,-1,129,113,132,-1,129,360,113,-1,308,309,282,-1,308,271,309,-1,320,281,278,-1,281,320,297,-1,53,288,287,-1,53,94,288,-1,53,52,94,-1,105,306,61,-1,105,305,306,-1,11,62,313,-1,5,62,11,-1,62,5,63,-1,51,384,295,-1,384,51,50,-1,384,263,276,-1,384,50,263,-1,262,303,291,-1,303,262,261,-1,56,278,106,-1,56,320,278,-1,260,312,311,-1,307,312,260,-1,383,276,273,-1,384,276,383,-1,303,314,382,-1,303,302,314,-1,315,305,105,-1,305,315,381,-1,316,312,307,-1,312,316,380,-1,298,317,379,-1,298,308,317,-1,378,106,318,-1,54,106,378,-1,62,319,301,-1,62,104,319,-1,309,243,310,-1,309,242,243,-1,240,297,320,-1,297,240,239,-1,254,300,252,-1,313,300,254,-1,321,299,304,-1,299,321,327,-1,255,59,61,-1,59,255,377,-1,237,247,377,-1,247,237,234,-1,352,151,350,-1,352,233,151,-1,232,266,230,-1,264,266,232,-1,376,327,321,-1,327,376,328,-1,268,223,267,-1,268,224,223,-1,331,375,259,-1,331,330,375,-1,272,228,270,-1,272,226,228,-1,220,376,248,-1,376,220,219,-1,218,257,256,-1,257,218,217,-1,216,253,214,-1,251,253,216,-1,250,44,249,-1,250,65,44,-1,211,241,238,-1,241,211,210,-1,127,42,244,-1,127,88,42,-1,330,39,375,-1,330,40,39,-1,336,65,333,-1,65,336,66,-1,236,337,374,-1,236,235,337,-1,156,370,153,-1,156,157,370,-1,43,73,231,-1,43,102,73,-1,229,338,227,-1,229,342,338,-1,225,70,339,-1,225,69,70,-1,73,187,215,-1,73,75,187,-1,185,66,336,-1,66,185,184,-1,182,374,337,-1,374,182,181,-1,157,355,370,-1,157,371,355,-1,340,72,41,-1,72,340,193,-1,342,190,338,-1,342,341,190,-1,189,70,194,-1,339,70,189,-1,359,160,147,-1,158,160,359,-1,199,343,340,-1,199,373,343,-1,196,344,341,-1,196,372,344,-1,200,78,101,-1,200,19,78,-1,31,74,208,-1,74,31,76,-1,177,207,204,-1,207,177,345,-1,203,101,346,-1,203,200,101,-1,124,186,347,-1,35,186,124,-1,121,183,345,-1,183,121,120,-1,180,131,130,-1,180,346,131,-1,27,158,359,-1,143,158,27,-1,373,348,343,-1,373,16,348,-1,136,372,369,-1,344,372,136,-1,245,6,117,-1,6,245,58,-1,353,13,87,-1,353,159,13,-1,115,349,3,-1,349,115,352,-1,354,164,335,-1,353,164,354,-1,125,352,115,-1,233,352,125,-1,367,82,371,-1,82,367,83,-1,370,20,356,-1,370,355,20,-1,4,349,92,-1,349,4,3,-1,152,357,332,-1,152,356,357,-1,329,209,334,-1,108,209,329,-1,359,25,27,-1,358,25,359,-1,97,322,174,-1,97,100,322,-1,323,369,167,-1,369,323,324,-1,348,326,172,-1,348,325,326,-1,79,360,80,-1,79,113,360,-1,1,111,351,-1,1,28,111,-1,13,98,14,-1,13,96,98,-1,91,367,89,-1,367,91,34,-1,362,155,81,-1,155,362,368,-1,33,366,110,-1,33,364,366,-1,361,179,176,-1,179,361,365,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='lmolr3lr_geometry' coordIndex field, scene-graph level=5, element #22, 2964 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 getlmolr3lr_geometry_5_22_coordIndex()
		{
			MFInt32 lmolr3lr_geometry_5_22_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getlmolr3lr_geometry_5_22_coordIndex_1()))
				.append(new MFInt32(getlmolr3lr_geometry_5_22_coordIndex_2()))
				.append(new MFInt32(getlmolr3lr_geometry_5_22_coordIndex_3()));
			return lmolr3lr_geometry_5_22_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='lmolr3lr_coordinate' point field, scene-graph level=6, element #22, 1155 total numbers made up of 385 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 getlmolr3lr_coordinate_6_22_point()
		{
			MFVec3f lmolr3lr_coordinate_6_22_point = new MFVec3f(new double[] {0.0243,1.5905,0.0426,0.0244,1.5905,0.0424,0.0251,1.5897,0.0425,0.0324,1.5904,0.044,0.0325,1.5904,0.0439,0.0326,1.5906,0.044,0.0326,1.5905,0.0438,0.032,1.5895,0.0433,0.0303,1.5809,0.0413,0.0301,1.5809,0.0411,0.0301,1.5809,0.041,0.0325,1.5905,0.0441,0.0323,1.5896,0.044,0.0301,1.5831,0.0403,0.0304,1.5831,0.0401,0.031,1.5847,0.0409,0.0284,1.5823,0.0382,0.0285,1.5823,0.0381,0.0286,1.5821,0.0383,0.0276,1.5826,0.0408,0.0279,1.5827,0.0404,0.0286,1.5817,0.0402,0.0303,1.5811,0.0406,0.0302,1.5809,0.0406,0.0301,1.5811,0.0405,0.0282,1.5821,0.0389,0.0284,1.5819,0.0388,0.0284,1.582,0.0391,0.0244,1.5905,0.0424,0.025,1.5898,0.0421,0.0271,1.5897,0.0427,0.03,1.5812,0.0421,0.0297,1.5812,0.0421,0.0299,1.5809,0.0415,0.0305,1.5823,0.041,0.0304,1.5814,0.0408,0.0304,1.5815,0.0406,0.0309,1.5848,0.0405,0.0304,1.5831,0.0398,0.0261,1.5871,0.0395,0.0265,1.5871,0.0391,0.027,1.5853,0.0385,0.0315,1.5866,0.0413,0.0308,1.5858,0.0452,0.0302,1.5858,0.0456,0.0299,1.5837,0.0448,0.0247,1.5899,0.0418,0.0247,1.59,0.0412,0.0253,1.5885,0.0407,0.0308,1.5891,0.0462,0.0309,1.5899,0.0466,0.0297,1.5899,0.0465,0.0244,1.5906,0.0421,0.0244,1.5907,0.0416,0.0324,1.5921,0.0425,0.0324,1.5908,0.0422,0.0319,1.591,0.0415,0.0326,1.5916,0.0436,0.0326,1.5906,0.0433,0.0246,1.59,0.0451,0.0245,1.5909,0.0454,0.0241,1.5901,0.0445,0.0325,1.5913,0.0448,0.0327,1.5914,0.0442,0.0327,1.5922,0.0445,0.0293,1.5858,0.0456,0.0293,1.5837,0.0448,0.0267,1.5871,0.0388,0.0271,1.5854,0.0382,0.0314,1.5867,0.0404,0.0307,1.5849,0.0397,0.0258,1.5869,0.0402,0.0268,1.5853,0.0389,0.0305,1.5837,0.0437,0.03,1.582,0.043,0.0303,1.582,0.0425,0.0303,1.5812,0.042,0.0303,1.5813,0.0417,0.0283,1.5816,0.0404,0.029,1.5811,0.0405,0.029,1.5811,0.0406,0.03,1.5812,0.0403,0.0297,1.5815,0.0402,0.0302,1.5815,0.0405,0.0287,1.5822,0.0381,0.0287,1.582,0.0383,0.0311,1.5865,0.0419,0.0308,1.5847,0.0412,0.0315,1.5865,0.0417,0.0305,1.5841,0.0415,0.0309,1.5864,0.0427,0.0307,1.584,0.0418,0.0297,1.5902,0.0433,0.0297,1.5896,0.0431,0.0243,1.5907,0.0425,0.0313,1.5863,0.043,0.0298,1.5824,0.0398,0.0295,1.5816,0.0391,0.03,1.5824,0.0397,0.0294,1.5816,0.0392,0.0293,1.5816,0.039,0.0283,1.5815,0.0408,0.0303,1.5837,0.0444,0.0266,1.5851,0.0396,0.0326,1.592,0.045,0.0239,1.591,0.0448,0.0321,1.5923,0.0416,0.0296,1.589,0.0462,0.0253,1.5884,0.0413,0.0305,1.5822,0.0413,0.0301,1.5809,0.0414,0.0272,1.5902,0.0428,0.0292,1.5811,0.0404,0.0293,1.581,0.0406,0.0285,1.5821,0.0383,0.032,1.5897,0.0437,0.0303,1.581,0.0411,0.0323,1.5896,0.0431,0.0245,1.5896,0.0427,0.0296,1.5809,0.0411,0.0297,1.5809,0.0415,0.0295,1.5809,0.0414,0.0298,1.5809,0.0412,0.0302,1.5809,0.0407,0.0304,1.5811,0.0407,0.0315,1.5882,0.0434,0.0319,1.5881,0.0436,0.032,1.5881,0.0424,0.0315,1.588,0.0426,0.0292,1.5809,0.0408,0.0291,1.581,0.0411,0.029,1.581,0.0408,0.0293,1.5809,0.0409,0.0284,1.582,0.0387,0.0282,1.5822,0.0387,0.0288,1.582,0.0383,0.0289,1.5821,0.0382,0.0293,1.5817,0.0387,0.0294,1.5819,0.0385,0.0295,1.5818,0.0387,0.0292,1.5818,0.0385,0.0287,1.5818,0.039,0.0291,1.5817,0.0393,0.0286,1.5819,0.0392,0.029,1.5817,0.039,0.0269,1.585,0.0405,0.0272,1.5833,0.0395,0.0274,1.5833,0.0397,0.0266,1.585,0.0402,0.025,1.5883,0.0424,0.0255,1.5884,0.0423,0.0273,1.5883,0.0425,0.0262,1.5867,0.0418,0.0275,1.5865,0.0419,0.0291,1.5816,0.0402,0.0295,1.5812,0.0403,0.0294,1.5863,0.0423,0.0293,1.5841,0.0412,0.0285,1.5823,0.0396,0.0293,1.5831,0.0403,0.0281,1.5831,0.0401,0.0292,1.5823,0.0398,0.0275,1.5882,0.0422,0.0297,1.5881,0.0426,0.0296,1.5865,0.042,0.0295,1.5826,0.0383,0.0298,1.5826,0.0386,0.0292,1.582,0.0383,0.0285,1.5828,0.038,0.0282,1.5828,0.038,0.0278,1.5827,0.0384,0.0277,1.5827,0.0388,0.0282,1.5822,0.0384,0.0301,1.5825,0.0394,0.0295,1.5816,0.039,0.03,1.5825,0.039,0.0292,1.5809,0.0412,0.0289,1.5813,0.0419,0.0286,1.5813,0.0417,0.0294,1.5809,0.0413,0.0284,1.5814,0.0416,0.0279,1.5822,0.0427,0.0277,1.5823,0.0425,0.0294,1.5812,0.0421,0.0294,1.582,0.0433,0.029,1.5821,0.0433,0.0304,1.5814,0.0412,0.0305,1.5821,0.0418,0.0295,1.5834,0.0383,0.03,1.5833,0.0388,0.0282,1.5836,0.0379,0.0278,1.5836,0.0379,0.0271,1.5834,0.039,0.0273,1.5835,0.0385,0.0303,1.5832,0.0392,0.0298,1.5851,0.0386,0.0291,1.5835,0.0381,0.0292,1.5851,0.0383,0.0274,1.5853,0.0381,0.0275,1.5836,0.038,0.0276,1.5825,0.0412,0.0264,1.5841,0.0431,0.0265,1.5843,0.042,0.0275,1.5823,0.0421,0.0283,1.5821,0.0429,0.0281,1.5837,0.0445,0.0276,1.5838,0.0442,0.0286,1.5821,0.0431,0.0298,1.582,0.0433,0.0258,1.5868,0.0408,0.0294,1.5869,0.0388,0.0302,1.5869,0.0391,0.0271,1.5871,0.0387,0.0307,1.5839,0.0421,0.0313,1.5861,0.044,0.0307,1.5838,0.0429,0.0313,1.5862,0.0434,0.0254,1.5863,0.0438,0.0254,1.5865,0.0427,0.0277,1.5858,0.0453,0.027,1.5859,0.045,0.0268,1.5887,0.0392,0.0264,1.5887,0.0394,0.0315,1.5885,0.0404,0.0319,1.5884,0.0411,0.0311,1.5868,0.0398,0.0287,1.5886,0.0393,0.0278,1.5871,0.0386,0.0278,1.5887,0.0392,0.0287,1.587,0.0387,0.0312,1.5876,0.0457,0.0311,1.586,0.0446,0.0316,1.5878,0.0451,0.0296,1.5882,0.0429,0.0259,1.5877,0.0451,0.0257,1.5862,0.0444,0.0263,1.586,0.0447,0.0252,1.5878,0.0447,0.0305,1.5886,0.0398,0.0296,1.5902,0.0401,0.0307,1.5902,0.0405,0.0296,1.5886,0.0395,0.0264,1.5903,0.0398,0.0258,1.5902,0.0399,0.0321,1.5882,0.0421,0.0324,1.5899,0.0428,0.0265,1.5891,0.0456,0.0256,1.5891,0.0453,0.0267,1.5877,0.0453,0.0305,1.5876,0.046,0.0295,1.5876,0.0459,0.0318,1.5881,0.044,0.0322,1.5894,0.0449,0.0318,1.5879,0.0445,0.0323,1.5895,0.0443,0.0244,1.5893,0.0444,0.0248,1.5882,0.0431,0.0248,1.5879,0.0441,0.0243,1.5895,0.0433,0.0251,1.5901,0.0405,0.0249,1.5909,0.0408,0.0264,1.5899,0.0458,0.0254,1.5899,0.0455,0.0318,1.59,0.0463,0.0319,1.5893,0.0454,0.0321,1.5901,0.0457,0.0316,1.5891,0.0459,0.0317,1.5901,0.0411,0.0322,1.59,0.0418,0.0286,1.5911,0.0402,0.0275,1.5903,0.0398,0.0274,1.5911,0.04,0.0286,1.5902,0.0399,0.0316,1.5916,0.0469,0.0321,1.591,0.046,0.0321,1.5918,0.0462,0.0317,1.5909,0.0466,0.0327,1.5925,0.0437,0.0309,1.5923,0.0408,0.0298,1.5932,0.0405,0.031,1.5933,0.0409,0.0297,1.5922,0.0405,0.0262,1.5919,0.0401,0.0254,1.5923,0.0403,0.0261,1.5925,0.0402,0.0255,1.5917,0.0402,0.024,1.5919,0.0427,0.0242,1.5914,0.0417,0.0241,1.5913,0.0426,0.0242,1.592,0.0419,0.025,1.5915,0.046,0.0252,1.5908,0.0458,0.0244,1.5916,0.0456,0.0294,1.5915,0.0472,0.0284,1.5906,0.0468,0.0295,1.5907,0.0469,0.0284,1.5913,0.047,0.0297,1.5911,0.0404,0.0286,1.5921,0.0403,0.0285,1.5899,0.0464,0.0324,1.5903,0.0451,0.0324,1.5912,0.0454,0.0274,1.5906,0.0465,0.0263,1.5907,0.0462,0.0274,1.5899,0.0462,0.0239,1.5911,0.0437,0.0241,1.5903,0.0434,0.0247,1.5916,0.0409,0.0274,1.5919,0.04,0.0262,1.5911,0.04,0.0257,1.5911,0.0402,0.0253,1.591,0.0404,0.0251,1.5917,0.0404,0.0325,1.5904,0.0445,0.0274,1.5912,0.0467,0.0238,1.5917,0.045,0.0247,1.5922,0.041,0.0273,1.5926,0.04,0.0323,1.5934,0.0418,0.0325,1.592,0.0456,0.0308,1.591,0.0408,0.0275,1.589,0.0459,0.0294,1.5816,0.039,0.0291,1.5818,0.0384,0.029,1.5819,0.0383,0.0285,1.5821,0.0384,0.0285,1.582,0.0385,0.0285,1.589,0.0461,0.0285,1.5876,0.0458,0.0257,1.5884,0.0417,0.0261,1.5887,0.0396,0.0255,1.5902,0.0401,0.0255,1.5866,0.042,0.0285,1.5858,0.0455,0.0263,1.5868,0.0412,0.0276,1.5866,0.0417,0.0287,1.5837,0.0448,0.0266,1.584,0.0437,0.028,1.5853,0.0381,0.0303,1.585,0.0391,0.0274,1.5836,0.0382,0.0287,1.5835,0.038,0.0286,1.5852,0.0382,0.0279,1.5828,0.0382,0.0288,1.5827,0.0381,0.0291,1.5812,0.042,0.0283,1.5814,0.0413,0.0304,1.581,0.0409,0.0283,1.5822,0.0383,0.0297,1.5902,0.0433,0.0272,1.5897,0.0428,0.0272,1.5902,0.0429,0.0298,1.5897,0.0433,0.0296,1.5847,0.0413,0.0281,1.5848,0.041,0.0286,1.5825,0.0403,0.027,1.5844,0.041,0.0266,1.5844,0.0412,0.0278,1.5826,0.0391,0.028,1.5825,0.0394,0.0292,1.581,0.0406,0.0294,1.5809,0.041,0.0299,1.581,0.0405,0.0302,1.5809,0.0409,0.0299,1.5809,0.0412,0.0295,1.5809,0.0411,0.03,1.5808,0.0412,0.0303,1.5824,0.0408,0.0296,1.581,0.0404,0.0291,1.5821,0.0382,0.028,1.5843,0.0409,0.0295,1.5825,0.0405,0.0291,1.5827,0.0381,0.028,1.5828,0.0381,0.0271,1.5838,0.044,0.0257,1.5886,0.04,0.0276,1.5876,0.0456,0.0248,1.5892,0.0449,0.0325,1.5931,0.0427,0.0286,1.5929,0.0403,0.025,1.5922,0.0405,0.0237,1.5918,0.0439,0.0263,1.5913,0.0464,0.0306,1.5914,0.0472,0.0308,1.5907,0.047});
			return lmolr3lr_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 l_molar3lr 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 l_molar3lr().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.l_molar3lr\" 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.l_molar3lr self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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