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

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] getlmolr2lc_geometry_5_22_coordIndex_2()
		{
			int[] value = {10,234,250,-1,165,290,291,-1,292,290,165,-1,293,294,295,-1,293,296,294,-1,297,166,298,-1,297,119,166,-1,299,300,301,-1,302,300,299,-1,303,304,305,-1,304,303,306,-1,307,308,309,-1,307,310,308,-1,196,50,17,-1,196,311,50,-1,48,214,21,-1,48,312,214,-1,53,313,288,-1,53,314,313,-1,315,316,317,-1,315,318,316,-1,319,320,321,-1,319,322,320,-1,323,91,324,-1,91,323,126,-1,12,148,147,-1,148,12,14,-1,233,25,23,-1,233,242,25,-1,240,325,326,-1,240,327,325,-1,328,329,330,-1,328,331,329,-1,313,332,288,-1,313,326,332,-1,221,224,223,-1,221,245,224,-1,192,213,287,-1,192,79,213,-1,215,1,0,-1,1,215,194,-1,333,247,209,-1,333,334,247,-1,214,203,9,-1,214,312,203,-1,208,210,64,-1,208,207,210,-1,211,251,270,-1,211,207,251,-1,80,78,256,-1,80,76,78,-1,76,80,192,-1,275,70,102,-1,275,71,70,-1,248,335,246,-1,248,336,335,-1,258,263,101,-1,258,90,263,-1,63,97,72,-1,205,97,63,-1,205,111,97,-1,312,231,337,-1,48,231,312,-1,338,199,339,-1,199,338,200,-1,27,265,241,-1,27,233,265,-1,340,249,341,-1,249,340,220,-1,342,343,135,-1,344,343,342,-1,161,345,267,-1,161,190,345,-1,130,346,187,-1,346,130,277,-1,98,145,184,-1,98,111,145,-1,274,112,173,-1,137,112,274,-1,264,108,323,-1,264,179,108,-1,273,176,259,-1,138,176,273,-1,314,58,221,-1,314,53,58,-1,30,347,109,-1,30,232,347,-1,169,348,349,-1,168,348,169,-1,158,170,167,-1,158,160,170,-1,350,351,279,-1,351,350,295,-1,164,352,353,-1,266,352,164,-1,163,291,330,-1,163,165,291,-1,308,354,355,-1,308,356,354,-1,357,358,306,-1,357,359,358,-1,348,321,349,-1,319,321,348,-1,168,360,348,-1,361,360,168,-1,122,343,159,-1,122,162,343,-1,361,160,159,-1,160,361,168,-1,121,268,114,-1,157,268,121,-1,362,96,363,-1,362,364,96,-1,200,365,276,-1,200,338,365,-1,128,189,366,-1,367,189,128,-1,129,140,139,-1,129,131,140,-1,199,183,368,-1,199,186,183,-1,154,369,182,-1,154,155,369,-1,282,284,342,-1,281,284,282,-1,110,127,108,-1,110,269,127,-1,238,33,271,-1,238,198,33,-1,347,150,177,-1,347,289,150,-1,271,181,149,-1,32,181,271,-1,236,239,104,-1,236,152,239,-1,257,142,89,-1,257,256,142,-1,8,223,272,-1,7,223,8,-1,370,171,253,-1,370,172,171,-1,370,206,172,-1,103,236,104,-1,371,236,103,-1,371,235,236,-1,232,289,347,-1,201,289,232,-1,201,255,289,-1,55,211,270,-1,55,212,211,-1,273,372,139,-1,273,327,372,-1,323,127,126,-1,323,108,127,-1,135,282,342,-1,274,282,135,-1,276,193,200,-1,132,193,276,-1,191,71,345,-1,191,69,71,-1,131,269,140,-1,131,367,269,-1,130,367,131,-1,130,189,367,-1,127,367,128,-1,127,269,367,-1,339,368,124,-1,199,368,339,-1,96,365,94,-1,364,365,96,-1,268,123,115,-1,268,283,123,-1,191,268,155,-1,191,283,268,-1,344,360,361,-1,344,93,360,-1,320,303,373,-1,320,374,303,-1,322,374,320,-1,322,375,374,-1,188,359,357,-1,188,187,359,-1,355,346,317,-1,346,355,354,-1,330,95,163,-1,329,95,330,-1,295,376,351,-1,376,295,294,-1,279,280,350,-1,117,280,279,-1,377,170,378,-1,167,170,377,-1,262,193,132,-1,262,86,193,-1,314,223,7,-1,314,221,223,-1,109,177,176,-1,109,347,177,-1,281,106,324,-1,106,281,107,-1,185,99,182,-1,185,184,99,-1,277,317,346,-1,317,277,315,-1,379,380,3,-1,340,380,379,-1,380,381,2,-1,380,341,381,-1,380,340,341,-1,376,353,352,-1,376,294,353,-1,227,228,38,-1,227,382,228,-1,70,263,143,-1,174,263,70,-1,286,62,220,-1,286,204,62,-1,336,370,335,-1,336,383,370,-1,143,102,70,-1,103,102,143,-1,243,242,10,-1,243,25,242,-1,333,381,341,-1,384,381,333,-1,226,288,332,-1,226,51,288,-1,329,385,363,-1,331,385,329,-1,225,45,219,-1,45,225,46,-1,327,272,372,-1,327,8,272,-1,327,240,8,-1,228,45,42,-1,382,45,228,-1,255,312,337,-1,203,312,255,-1,24,202,201,-1,24,26,202,-1,15,14,13,-1,14,15,73,-1,202,9,203,-1,9,243,10,-1,9,202,243,-1,264,324,106,-1,324,264,323,-1,386,322,319,-1,386,387,322,-1,388,318,315,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=3 */
		private int[] getlmolr2lc_geometry_5_22_coordIndex_3()
		{
			int[] value = {388,389,318,-1,141,326,325,-1,332,326,141,-1,214,285,21,-1,285,214,74,-1,287,217,76,-1,218,217,287,-1,83,2,1,-1,83,380,2,-1,2,384,0,-1,2,381,384,-1,310,356,308,-1,310,390,356,-1,305,373,303,-1,305,391,373,-1,301,392,378,-1,300,392,301,-1,393,119,297,-1,393,280,119,-1,394,294,296,-1,353,294,394,-1,395,290,396,-1,290,395,291,-1,164,292,165,-1,397,292,164,-1,398,295,350,-1,398,293,295,-1,377,298,166,-1,399,298,377,-1,400,299,401,-1,400,302,299,-1,402,306,358,-1,402,304,306,-1,309,396,307,-1,396,309,395,-1,311,217,219,-1,217,311,196,-1,382,50,311,-1,382,227,50,-1,245,134,224,-1,260,134,245,-1,313,240,326,-1,313,6,240,-1,403,317,316,-1,355,317,403,-1,373,321,320,-1,401,321,373,-1,92,126,278,-1,92,91,126,-1,18,147,113,-1,12,147,18,-1,19,73,15,-1,73,19,285,-1,77,152,235,-1,153,152,77,-1,22,201,232,-1,22,24,201,-1,29,198,197,-1,198,29,33,-1,337,289,255,-1,337,151,289,-1,41,230,35,-1,41,40,230,-1,36,332,141,-1,332,44,226,-1,36,44,332,-1,328,291,395,-1,328,330,291,-1,362,222,244,-1,404,222,362,-1,216,287,213,-1,87,287,216,-1,0,208,64,-1,384,208,0,-1,334,341,249,-1,333,341,334,-1,64,212,65,-1,64,210,212,-1,371,256,78,-1,371,142,256,-1,253,335,370,-1,335,253,252,-1,146,379,100,-1,146,286,379,-1,67,249,66,-1,67,334,249,-1,68,336,67,-1,68,383,336,-1,111,146,145,-1,146,111,205,-1,383,206,370,-1,383,68,206,-1,405,338,339,-1,405,406,338,-1,342,93,344,-1,93,342,284,-1,283,345,190,-1,283,191,345,-1,363,95,329,-1,95,363,96,-1,375,387,366,-1,375,322,387,-1,113,173,112,-1,113,147,173,-1,180,264,265,-1,264,180,179,-1,180,30,109,-1,180,31,30,-1,178,325,259,-1,178,141,325,-1,102,137,275,-1,102,112,137,-1,349,301,169,-1,349,299,301,-1,114,117,121,-1,114,118,117,-1,351,120,279,-1,125,120,351,-1,266,406,352,-1,94,406,266,-1,403,395,309,-1,328,395,403,-1,359,356,358,-1,359,354,356,-1,306,374,357,-1,374,306,303,-1,401,349,321,-1,401,299,349,-1,93,386,360,-1,92,386,93,-1,136,343,162,-1,136,135,343,-1,405,124,125,-1,339,124,405,-1,369,156,407,-1,369,157,156,-1,364,276,365,-1,133,276,364,-1,366,278,128,-1,366,387,278,-1,129,315,277,-1,388,315,129,-1,388,139,372,-1,388,129,139,-1,133,224,134,-1,224,133,244,-1,407,182,369,-1,185,182,407,-1,136,267,275,-1,267,136,162,-1,32,105,181,-1,28,105,32,-1,230,38,228,-1,40,38,230,-1,5,258,101,-1,258,5,4,-1,251,144,59,-1,246,144,251,-1,254,171,261,-1,171,254,253,-1,144,261,60,-1,144,254,261,-1,379,220,340,-1,286,220,379,-1,3,100,379,-1,5,100,3,-1,101,100,5,-1,143,90,89,-1,143,263,90,-1,235,78,77,-1,371,78,235,-1,151,231,49,-1,231,151,337,-1,324,284,281,-1,324,91,284,-1,368,185,407,-1,183,185,368,-1,272,404,389,-1,222,404,272,-1,385,389,404,-1,385,318,389,-1,244,364,362,-1,244,133,364,-1,124,407,156,-1,368,407,124,-1,338,94,365,-1,94,338,406,-1,157,155,268,-1,157,369,155,-1,159,344,361,-1,343,344,159,-1,360,319,348,-1,386,319,360,-1,357,375,188,-1,375,357,374,-1,187,354,359,-1,187,346,354,-1,403,331,328,-1,316,331,403,-1,266,95,94,-1,95,266,163,-1,351,405,125,-1,405,351,376,-1,167,166,116,-1,167,377,166,-1,378,169,301,-1,378,170,169,-1,260,132,134,-1,262,132,260,-1,154,174,69,-1,174,154,175,-1,262,171,86,-1,262,261,171,-1,327,259,325,-1,273,259,327,-1,110,176,138,-1,110,109,176,-1,282,173,107,-1,274,173,282,-1,184,100,99,-1,184,145,100,-1,188,366,189,-1,188,375,366,-1,385,316,318,-1,331,316,385,-1,267,71,275,-1,267,345,71,-1,258,83,82,-1,83,258,4,-1,352,405,376,-1,405,352,406,-1,265,23,180,-1,233,23,265,-1,246,209,247,-1,209,246,251,-1,336,334,67,-1,336,247,334,-1,336,248,247,-1,62,205,63,-1,204,205,62,-1,252,246,335,-1,246,252,144,-1,103,142,371,-1,103,143,142,-1,209,384,333,-1,208,384,209,-1,215,195,194,-1,215,213,195,-1,57,219,218,-1,57,225,219,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=4 */
		private int[] getlmolr2lc_geometry_5_22_coordIndex_4()
		{
			int[] value = {57,56,225,-1,87,65,212,-1,87,216,65,-1,363,404,362,-1,385,404,363,-1,250,27,197,-1,250,234,27,-1,217,153,77,-1,196,153,217,-1,271,75,238,-1,271,148,75,-1,13,16,15,-1,13,239,16,-1,106,241,264,-1,106,105,241,-1,92,387,386,-1,92,278,387,-1,389,372,272,-1,388,372,389,-1,309,355,403,-1,308,355,309,-1,7,313,314,-1,313,7,6,-1,260,60,261,-1,260,245,60,-1,45,311,219,-1,382,311,45,-1,218,87,57,-1,218,287,87,-1,3,83,4,-1,83,3,380,-1,390,358,356,-1,390,402,358,-1,401,391,400,-1,391,401,373,-1,399,378,392,-1,399,377,378,-1,350,393,398,-1,393,350,280,-1,353,397,164,-1,394,397,353,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='lmolr2lc_geometry' coordIndex field, scene-graph level=5, element #22, 3164 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 getlmolr2lc_geometry_5_22_coordIndex()
		{
			MFInt32 lmolr2lc_geometry_5_22_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getlmolr2lc_geometry_5_22_coordIndex_1()))
				.append(new MFInt32(getlmolr2lc_geometry_5_22_coordIndex_2()))
				.append(new MFInt32(getlmolr2lc_geometry_5_22_coordIndex_3()))
				.append(new MFInt32(getlmolr2lc_geometry_5_22_coordIndex_4()));
			return lmolr2lc_geometry_5_22_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='lmolr2lc_coordinate' point field, scene-graph level=6, element #22, 1224 total numbers made up of 408 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 getlmolr2lc_coordinate_6_22_point()
		{
			MFVec3f lmolr2lc_coordinate_6_22_point = new MFVec3f(new double[] {0.0255,1.594,0.053,0.0258,1.5942,0.0531,0.0257,1.5942,0.0529,0.0276,1.5963,0.0528,0.0276,1.5962,0.0531,0.0277,1.5963,0.053,0.0224,1.5957,0.0535,0.0224,1.5958,0.0533,0.022,1.5955,0.0535,0.0253,1.5946,0.0563,0.0253,1.5943,0.057,0.0255,1.5945,0.0569,0.0271,1.596,0.0563,0.027,1.5955,0.0558,0.0266,1.5956,0.056,0.026,1.5947,0.0553,0.026,1.5948,0.0552,0.0254,1.5943,0.0549,0.0274,1.596,0.056,0.0256,1.5943,0.0552,0.0252,1.5942,0.055,0.0252,1.5943,0.0553,0.0235,1.5953,0.0579,0.0246,1.5948,0.0577,0.0244,1.5948,0.0574,0.0252,1.5944,0.0571,0.0251,1.5944,0.0571,0.0256,1.5948,0.0577,0.026,1.5952,0.0581,0.0263,1.5952,0.0579,0.0234,1.5954,0.058,0.0237,1.5953,0.058,0.0265,1.5954,0.058,0.0262,1.5954,0.0575,0.023,1.5958,0.0554,0.0232,1.5954,0.0549,0.023,1.5956,0.0546,0.0249,1.5943,0.055,0.0244,1.5947,0.0549,0.0244,1.5946,0.0552,0.0237,1.5951,0.055,0.0233,1.5954,0.0552,0.0243,1.5945,0.0543,0.024,1.5946,0.0541,0.0233,1.5951,0.0543,0.0249,1.5941,0.0543,0.0249,1.594,0.0542,0.0243,1.5944,0.0541,0.025,1.5945,0.0553,0.0233,1.5956,0.0556,0.0252,1.5941,0.0548,0.0233,1.5949,0.0535,0.0235,1.595,0.0531,0.023,1.5958,0.0531,0.0243,1.5942,0.0538,0.0244,1.5944,0.0536,0.0249,1.594,0.0541,0.025,1.594,0.0539,0.0229,1.596,0.0526,0.0239,1.596,0.0517,0.0229,1.5964,0.0516,0.0263,1.5949,0.051,0.0267,1.5955,0.0513,0.0266,1.5955,0.051,0.0253,1.5941,0.0531,0.0253,1.594,0.0533,0.0263,1.5949,0.0513,0.026,1.5945,0.0514,0.0259,1.5947,0.0511,0.0288,1.5959,0.0546,0.0284,1.5959,0.0548,0.0286,1.5957,0.0549,0.0266,1.5955,0.0507,0.0258,1.5948,0.0556,0.0255,1.5947,0.056,0.0258,1.5951,0.0561,0.0256,1.594,0.0539,0.0261,1.5948,0.0545,0.0265,1.5948,0.0542,0.0258,1.594,0.0535,0.0262,1.5943,0.0537,0.0268,1.5947,0.0535,0.0267,1.5951,0.0533,0.0267,1.5952,0.0529,0.0262,1.5959,0.0499,0.0263,1.5961,0.0496,0.0253,1.5959,0.0493,0.0253,1.594,0.0535,0.0277,1.5958,0.0537,0.0276,1.5958,0.054,0.0279,1.596,0.054,0.0263,1.5945,0.0592,0.0265,1.5935,0.0592,0.0276,1.5939,0.0593,0.0243,1.593,0.0486,0.0225,1.5923,0.0492,0.0223,1.593,0.0494,0.027,1.5962,0.0503,0.0272,1.5965,0.0502,0.0284,1.5971,0.0521,0.0281,1.5969,0.0522,0.0283,1.5967,0.0533,0.0283,1.596,0.0551,0.0279,1.5958,0.0549,0.0277,1.5963,0.0557,0.0262,1.5954,0.0582,0.0261,1.5956,0.0586,0.027,1.5959,0.0584,0.0238,1.5951,0.0586,0.0231,1.5955,0.0581,0.023,1.5953,0.0582,0.0272,1.5964,0.0506,0.028,1.5964,0.0559,0.0277,1.5964,0.056,0.0312,1.5932,0.0532,0.0306,1.593,0.0549,0.0315,1.5915,0.0546,0.0313,1.5916,0.0509,0.0317,1.5915,0.0529,0.0318,1.5899,0.0524,0.0301,1.5933,0.0498,0.0309,1.5936,0.0512,0.0298,1.5942,0.0562,0.0302,1.5935,0.055,0.0282,1.595,0.0493,0.0285,1.5934,0.049,0.0253,1.5942,0.0591,0.0236,1.5947,0.0587,0.0238,1.5934,0.0589,0.021,1.5941,0.0551,0.0213,1.5924,0.0566,0.0214,1.5941,0.057,0.0236,1.5959,0.0495,0.0226,1.5956,0.0496,0.0232,1.5961,0.0498,0.0285,1.5956,0.0574,0.0286,1.5958,0.0562,0.0283,1.5963,0.056,0.0219,1.5958,0.0568,0.0214,1.5954,0.0554,0.0215,1.5952,0.057,0.0228,1.5958,0.0546,0.0274,1.5953,0.0543,0.028,1.5956,0.0546,0.0245,1.5955,0.0508,0.0278,1.5968,0.0513,0.0275,1.5966,0.0516,0.0272,1.5963,0.0567,0.0263,1.5956,0.0562,0.0271,1.5962,0.0572,0.0229,1.5958,0.0567,0.0238,1.5956,0.0563,0.0269,1.5958,0.0553,0.026,1.5948,0.0548,0.029,1.5967,0.0533,0.0296,1.5962,0.0536,0.0295,1.5953,0.0503,0.0301,1.5954,0.0517,0.0306,1.5929,0.056,0.0299,1.594,0.0574,0.0303,1.5928,0.0573,0.0296,1.5941,0.0555,0.0293,1.5948,0.0562,0.0228,1.5912,0.0492,0.0248,1.5902,0.0487,0.0233,1.5901,0.0493,0.0319,1.5895,0.0542,0.0313,1.5912,0.0558,0.0294,1.5922,0.0586,0.0298,1.5908,0.058,0.0308,1.5911,0.0568,0.0251,1.5958,0.0497,0.0254,1.5957,0.0496,0.0274,1.5965,0.057,0.0285,1.5961,0.0545,0.0287,1.5968,0.0533,0.0222,1.596,0.0568,0.0225,1.5959,0.0567,0.0227,1.596,0.0554,0.0239,1.5953,0.0584,0.0239,1.5952,0.0582,0.0269,1.5957,0.0581,0.0288,1.5968,0.0519,0.0273,1.5964,0.05,0.028,1.597,0.0511,0.0283,1.5969,0.0509,0.0264,1.5959,0.0494,0.0215,1.5915,0.0564,0.0227,1.5913,0.0575,0.0224,1.5924,0.0579,0.0297,1.5941,0.055,0.0295,1.5951,0.0546,0.0257,1.594,0.0537,0.0253,1.5957,0.0491,0.0259,1.5941,0.0533,0.0258,1.594,0.0534,0.0254,1.5942,0.0545,0.0258,1.5947,0.0575,0.0258,1.595,0.0571,0.0265,1.5958,0.0493,0.0255,1.5955,0.049,0.0244,1.595,0.0572,0.0251,1.5945,0.0568,0.025,1.5947,0.0563,0.0273,1.5963,0.0515,0.0272,1.5964,0.0512,0.0257,1.5951,0.0504,0.0248,1.5949,0.0525,0.0254,1.5943,0.0527,0.0256,1.5946,0.0522,0.0248,1.5948,0.0528,0.0242,1.5952,0.0525,0.0246,1.5946,0.0531,0.0256,1.5938,0.0534,0.0253,1.5946,0.056,0.0257,1.5939,0.0532,0.0254,1.5939,0.0534,0.0254,1.5941,0.0542,0.0252,1.5939,0.0541,0.0252,1.5939,0.0542,0.0267,1.5955,0.0516,0.0226,1.5963,0.0526,0.0218,1.5957,0.0524,0.0223,1.5961,0.0525,0.0223,1.5964,0.0515,0.0251,1.5939,0.0542,0.0234,1.5948,0.0538,0.0249,1.5942,0.0547,0.0244,1.5945,0.0545,0.0233,1.5952,0.0547,0.0237,1.5951,0.0547,0.0245,1.5948,0.0554,0.0234,1.5954,0.0579,0.0252,1.5948,0.0579,0.0254,1.5945,0.0572,0.027,1.5958,0.0551,0.0273,1.5961,0.0554,0.0255,1.5946,0.0563,0.0257,1.5951,0.0566,0.0269,1.5957,0.0555,0.0223,1.5957,0.0539,0.0255,1.5951,0.0583,0.0253,1.5944,0.0572,0.0252,1.5944,0.0571,0.0219,1.596,0.0513,0.0226,1.5966,0.0516,0.0252,1.5951,0.0511,0.0258,1.5946,0.0516,0.0258,1.5946,0.0514,0.0261,1.5947,0.0517,0.0255,1.5945,0.0571,0.0251,1.5951,0.0519,0.0246,1.5955,0.0505,0.0248,1.5956,0.0501,0.0242,1.5958,0.0502,0.0246,1.5952,0.0565,0.0268,1.5948,0.054,0.0269,1.595,0.0538,0.0277,1.5962,0.0534,0.0224,1.5962,0.0553,0.0235,1.5963,0.0499,0.0238,1.5961,0.05,0.0237,1.5962,0.0497,0.0282,1.5959,0.0543,0.0252,1.5951,0.0585,0.0252,1.5949,0.0582,0.0247,1.5917,0.0487,0.0292,1.5948,0.0553,0.0304,1.5952,0.0534,0.0228,1.5948,0.0584,0.0238,1.5955,0.0523,0.0262,1.5956,0.0568,0.0217,1.5954,0.0535,0.0221,1.596,0.0553,0.0279,1.5962,0.0572,0.0285,1.5958,0.0551,0.0236,1.5952,0.0491,0.0211,1.5924,0.0547,0.0253,1.5931,0.059,0.0304,1.5916,0.0498,0.0312,1.59,0.0509,0.0271,1.5956,0.0586,0.0275,1.5958,0.0583,0.0299,1.5944,0.0547,0.0273,1.5948,0.0591,0.0255,1.5945,0.0554,0.0273,1.5963,0.0519,0.0254,1.5938,0.0538,0.0231,1.5953,0.0536,0.0238,1.5956,0.0569,0.0226,1.5896,0.0506,0.0225,1.5899,0.0506,0.0234,1.5898,0.0493,0.0283,1.5898,0.0489,0.0273,1.59,0.0488,0.0284,1.5901,0.0489,0.0273,1.5898,0.0488,0.0317,1.5896,0.0524,0.0319,1.5893,0.0541,0.029,1.5885,0.0578,0.03,1.5885,0.0571,0.03,1.5887,0.0573,0.029,1.5882,0.0577,0.0251,1.5883,0.0571,0.0238,1.588,0.0565,0.0252,1.588,0.0569,0.0238,1.5883,0.0567,0.0223,1.5892,0.0523,0.0221,1.5892,0.0531,0.0222,1.5895,0.0523,0.0222,1.589,0.053,0.0252,1.594,0.0544,0.025,1.5947,0.0561,0.0227,1.5958,0.0536,0.0227,1.5959,0.0533,0.0212,1.5926,0.0539,0.0214,1.5919,0.0528,0.0214,1.5917,0.0536,0.0212,1.5928,0.053,0.0272,1.5915,0.0589,0.0262,1.5904,0.0583,0.0275,1.5903,0.0584,0.0259,1.5914,0.0587,0.0252,1.5949,0.0588,0.0262,1.5953,0.0588,0.0226,1.596,0.0545,0.0227,1.5959,0.0539,0.0223,1.5958,0.0544,0.0218,1.591,0.0516,0.0216,1.5919,0.0509,0.022,1.5911,0.0507,0.0215,1.5919,0.0518,0.0229,1.5956,0.0539,0.0259,1.5945,0.0522,0.0259,1.5945,0.0516,0.0253,1.595,0.0509,0.0258,1.5947,0.0512,0.0246,1.5952,0.0563,0.0257,1.5944,0.0487,0.0269,1.5947,0.049,0.0266,1.5954,0.0522,0.0261,1.5947,0.0523,0.028,1.595,0.0586,0.0292,1.5948,0.0574,0.0285,1.5942,0.0587,0.0292,1.5948,0.055,0.0213,1.5916,0.0543,0.0233,1.5955,0.0578,0.0284,1.5916,0.0591,0.0288,1.5903,0.0586,0.03,1.59,0.0498,0.0285,1.5916,0.0489,0.0261,1.5916,0.0485,0.0262,1.59,0.0486,0.0216,1.5907,0.0542,0.0216,1.5909,0.0534,0.0221,1.589,0.0539,0.023,1.5902,0.0571,0.0224,1.5886,0.0557,0.0218,1.5905,0.0561,0.0281,1.5928,0.0592,0.0291,1.5932,0.0587,0.0214,1.5945,0.0511,0.0214,1.5928,0.051,0.0223,1.5946,0.0494,0.0239,1.5944,0.0488,0.0243,1.5921,0.0586,0.0225,1.5938,0.0583,0.0276,1.5961,0.0496,0.0294,1.5963,0.052,0.0254,1.595,0.0507,0.0272,1.5955,0.0545,0.0215,1.5954,0.0545,0.0266,1.5883,0.0574,0.0248,1.5902,0.0579,0.0246,1.5911,0.0583,0.0273,1.5916,0.0487,0.0316,1.5893,0.0552,0.0311,1.589,0.0563,0.0273,1.5963,0.0523,0.0267,1.5953,0.0527,0.0257,1.5943,0.0528,0.0249,1.5941,0.0545,0.0258,1.5947,0.0511,0.0256,1.5941,0.0527,0.0213,1.5928,0.0521,0.0269,1.5925,0.0591,0.0257,1.5921,0.0589,0.0211,1.5941,0.0542,0.0212,1.5941,0.0532,0.0221,1.5888,0.0538,0.0267,1.5881,0.0573,0.0311,1.5887,0.0561,0.0311,1.5897,0.0509,0.0262,1.5898,0.0486,0.0223,1.5897,0.0515,0.0224,1.5894,0.0515,0.0248,1.5899,0.0487,0.03,1.5897,0.0498,0.0316,1.589,0.0551,0.0279,1.5882,0.0575,0.0278,1.5885,0.0576,0.0225,1.5883,0.0556,0.0216,1.591,0.0526,0.0213,1.5943,0.0523,0.0271,1.5932,0.0487,0.0258,1.5931,0.0485,0.0287,1.5964,0.0505});
			return lmolr2lc_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_molar2lc 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_molar2lc().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_molar2lc\" 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_molar2lc self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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