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

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

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=3 */
		private int[] getrmolar1c_geometry_5_22_coordIndex_3()
		{
			int[] value = {163,4,6,-1,163,257,4,-1,178,1,9,-1,178,2,1,-1,183,1,0,-1,183,184,1,-1,252,271,262,-1,252,106,271,-1,258,270,269,-1,259,270,258,-1,131,260,251,-1,131,268,260,-1,261,101,100,-1,101,261,267,-1,263,237,96,-1,237,263,266,-1,264,16,18,-1,16,264,265,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='rmolar1c_geometry' coordIndex field, scene-graph level=5, element #22, 2072 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 getrmolar1c_geometry_5_22_coordIndex()
		{
			MFInt32 rmolar1c_geometry_5_22_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getrmolar1c_geometry_5_22_coordIndex_1()))
				.append(new MFInt32(getrmolar1c_geometry_5_22_coordIndex_2()))
				.append(new MFInt32(getrmolar1c_geometry_5_22_coordIndex_3()));
			return rmolar1c_geometry_5_22_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='rmolar1c_coordinate' point field, scene-graph level=6, element #22, 816 total numbers made up of 272 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 getrmolar1c_coordinate_6_22_point()
		{
			MFVec3f rmolar1c_coordinate_6_22_point = new MFVec3f(new double[] {-0.0236,1.5975,0.0647,-0.0235,1.5973,0.0649,-0.024,1.5977,0.0651,-0.022,1.595,0.0649,-0.0223,1.5961,0.0654,-0.0223,1.5961,0.0653,-0.0219,1.5953,0.0663,-0.0241,1.5973,0.066,-0.0243,1.5978,0.065,-0.0233,1.5971,0.0654,-0.0227,1.5959,0.0648,-0.0232,1.5971,0.0655,-0.0208,1.5951,0.066,-0.0215,1.595,0.0663,-0.0205,1.5947,0.0645,-0.0205,1.5952,0.0653,-0.0275,1.6041,0.0611,-0.0282,1.6038,0.0614,-0.028,1.6042,0.0616,-0.0272,1.5967,0.0593,-0.0278,1.5957,0.0608,-0.028,1.5961,0.0598,-0.0274,1.5973,0.0592,-0.0261,1.5973,0.0586,-0.0261,1.5973,0.0587,-0.0271,1.5967,0.0596,-0.0244,1.5967,0.058,-0.0243,1.597,0.0577,-0.0244,1.5974,0.0612,-0.0227,1.5963,0.0599,-0.0232,1.5969,0.061,-0.0248,1.5968,0.0593,-0.0246,1.5968,0.0594,-0.0254,1.5976,0.0603,-0.029,1.5961,0.0627,-0.0284,1.595,0.0624,-0.0286,1.5963,0.0637,-0.0229,1.5955,0.0622,-0.0223,1.5953,0.0617,-0.0219,1.5947,0.0627,-0.0225,1.5952,0.063,-0.0223,1.595,0.0629,-0.0226,1.5962,0.0676,-0.0224,1.5965,0.0679,-0.0233,1.5967,0.0684,-0.0251,1.5979,0.0643,-0.0251,1.5978,0.0645,-0.0263,1.5968,0.0652,-0.0234,1.5968,0.0675,-0.0229,1.5966,0.0672,-0.0242,1.5968,0.0676,-0.0245,1.5972,0.0669,-0.0266,1.597,0.0645,-0.029,1.5993,0.0648,-0.0291,1.5989,0.0668,-0.029,1.6006,0.0668,-0.0249,1.5968,0.0692,-0.0251,1.5963,0.069,-0.0259,1.5958,0.0691,-0.0267,1.5953,0.0688,-0.0254,1.5965,0.0678,-0.0288,1.5975,0.0652,-0.0285,1.5961,0.0663,-0.0289,1.5973,0.0666,-0.0275,1.595,0.0675,-0.0279,1.5952,0.0661,-0.0221,1.5948,0.0642,-0.0242,1.5977,0.0648,-0.0248,1.5971,0.0656,-0.0256,1.596,0.0662,-0.0265,1.5952,0.0668,-0.0275,1.5956,0.0656,-0.0265,1.5967,0.0639,-0.0265,1.5961,0.0613,-0.0263,1.5959,0.062,-0.028,1.5951,0.0622,-0.0287,1.595,0.0614,-0.0287,1.5953,0.0604,-0.0282,1.595,0.0615,-0.0231,1.596,0.0578,-0.0236,1.5959,0.0585,-0.0241,1.5963,0.0599,-0.0228,1.5954,0.0588,-0.0216,1.5952,0.0586,-0.0224,1.5952,0.0602,-0.0217,1.5954,0.0614,-0.0261,1.6002,0.0597,-0.0246,1.6015,0.0598,-0.0248,1.5999,0.059,-0.0263,1.5983,0.0589,-0.0277,1.5985,0.0595,-0.0279,1.6007,0.0603,-0.0294,1.6013,0.0627,-0.0296,1.5996,0.0624,-0.0293,1.6013,0.0637,-0.0284,1.6037,0.0671,-0.0286,1.6039,0.065,-0.029,1.603,0.0651,-0.029,1.5977,0.064,-0.0288,1.5977,0.0647,-0.0258,1.6032,0.0686,-0.0268,1.6034,0.0686,-0.0266,1.6026,0.0687,-0.0239,1.5996,0.0687,-0.0225,1.5995,0.068,-0.023,1.6011,0.0676,-0.0234,1.6031,0.0678,-0.0232,1.6021,0.0676,-0.0212,1.6019,0.0668,-0.0208,1.5989,0.0673,-0.0224,1.5978,0.0683,-0.0202,1.5946,0.0646,-0.0196,1.5952,0.0649,-0.0201,1.5956,0.0659,-0.0213,1.5952,0.0599,-0.0205,1.5954,0.0599,-0.0196,1.595,0.0636,-0.0203,1.5951,0.0623,-0.0191,1.5964,0.0622,-0.0191,1.5984,0.0612,-0.0187,1.5983,0.0622,-0.0198,1.5968,0.0613,-0.0205,1.5961,0.0614,-0.0197,1.5968,0.0599,-0.0201,1.5968,0.0589,-0.0195,1.5984,0.0597,-0.021,1.5969,0.0577,-0.0225,1.5975,0.0574,-0.0218,1.5992,0.0578,-0.0207,1.5989,0.0582,-0.022,1.6028,0.0594,-0.0209,1.6027,0.0594,-0.0208,1.6019,0.0592,-0.0195,1.6004,0.0601,-0.019,1.6002,0.0613,-0.023,1.5961,0.0574,-0.0211,1.5961,0.067,-0.02,1.5968,0.0664,-0.0192,1.6006,0.0659,-0.021,1.6009,0.0668,-0.0282,1.5965,0.0643,-0.0293,1.6011,0.065,-0.0293,1.5993,0.0633,-0.0288,1.6025,0.0669,-0.0288,1.6005,0.0674,-0.0289,1.6034,0.064,-0.0287,1.6037,0.063,-0.0276,1.6036,0.061,-0.026,1.6026,0.0608,-0.0236,1.596,0.062,-0.0231,1.5969,0.0612,-0.0245,1.5973,0.0614,-0.0291,1.5965,0.0602,-0.0283,1.5969,0.0596,-0.0264,1.5964,0.0632,-0.0277,1.5955,0.0634,-0.0279,1.5958,0.0647,-0.0277,1.5959,0.064,-0.0238,1.5973,0.0661,-0.0238,1.5972,0.0665,-0.0283,1.5964,0.0649,-0.0237,1.5967,0.068,-0.023,1.5968,0.0664,-0.0224,1.5959,0.0662,-0.0214,1.5945,0.0626,-0.0233,1.5965,0.0636,-0.0296,1.5982,0.0608,-0.0296,1.5979,0.062,-0.0269,1.5966,0.0605,-0.0252,1.5976,0.0604,-0.0229,1.6025,0.0593,-0.0228,1.601,0.0586,-0.0213,1.5944,0.064,-0.0204,1.5945,0.0637,-0.0208,1.5971,0.0671,-0.0238,1.5967,0.0634,-0.0239,1.5975,0.0645,-0.0231,1.5971,0.0657,-0.0238,1.5975,0.0659,-0.023,1.6033,0.0597,-0.0245,1.6032,0.06,-0.0244,1.6035,0.06,-0.0231,1.603,0.0595,-0.023,1.5965,0.0638,-0.0229,1.5963,0.0641,-0.0249,1.5972,0.0629,-0.0266,1.6019,0.0688,-0.0279,1.6024,0.0684,-0.0287,1.601,0.0607,-0.0254,1.5981,0.0584,-0.0295,1.5999,0.0612,-0.0294,1.5977,0.063,-0.0293,1.5963,0.0615,-0.0256,1.5976,0.0605,-0.0266,1.6003,0.0693,-0.0277,1.6008,0.0688,-0.0275,1.5995,0.069,-0.0189,1.5967,0.0651,-0.0194,1.5989,0.0663,-0.0186,1.5964,0.0635,-0.0212,1.5954,0.0581,-0.0217,1.6021,0.0591,-0.0185,1.5985,0.0649,-0.0215,1.6029,0.0669,-0.0244,1.6013,0.0681,-0.0258,1.6025,0.0685,-0.0279,1.596,0.0677,-0.0288,1.6003,0.0606,-0.026,1.6037,0.0609,-0.026,1.604,0.061,-0.0283,1.6046,0.063,-0.0283,1.6042,0.0622,-0.0284,1.6042,0.063,-0.0282,1.6046,0.0622,-0.0278,1.6037,0.0682,-0.0282,1.604,0.0671,-0.0277,1.604,0.0681,-0.022,1.6032,0.0595,-0.0193,1.6025,0.0616,-0.0193,1.6029,0.0624,-0.0192,1.6025,0.0624,-0.0194,1.6029,0.0616,-0.0197,1.6029,0.0657,-0.0197,1.6026,0.0658,-0.0215,1.6033,0.0668,-0.0246,1.6023,0.068,-0.0287,1.5984,0.06,-0.0214,1.6007,0.0585,-0.0285,1.6038,0.062,-0.0184,1.6,0.0632,-0.0184,1.5981,0.0634,-0.0187,1.6001,0.0623,-0.0269,1.5963,0.069,-0.0261,1.5967,0.0693,-0.0249,1.5967,0.062,-0.0237,1.5978,0.0575,-0.0232,1.5994,0.0579,-0.0286,1.6041,0.0638,-0.0288,1.599,0.0677,-0.0283,1.5974,0.0679,-0.0273,1.598,0.0692,-0.0264,1.5985,0.0696,-0.0255,1.6,0.0692,-0.025,1.5984,0.0694,-0.0234,1.5982,0.0688,-0.0195,1.602,0.0657,-0.0186,1.6019,0.0645,-0.0184,1.6005,0.0647,-0.0205,1.6005,0.0588,-0.0192,1.6014,0.0615,-0.0198,1.6018,0.0604,-0.0198,1.6026,0.0607,-0.0247,1.6032,0.0682,-0.0292,1.6013,0.0616,-0.0186,1.6014,0.0634,-0.0189,1.6014,0.0624,-0.0257,1.6015,0.0686,-0.0223,1.5959,0.0659,-0.0189,1.6028,0.0644,-0.0188,1.6025,0.0645,-0.0199,1.6029,0.0608,-0.0258,1.6035,0.0686,-0.0246,1.6035,0.0682,-0.0284,1.6042,0.065,-0.0279,1.6045,0.0616,-0.0274,1.6044,0.0612,-0.0285,1.6044,0.0638,-0.0267,1.6037,0.0685,-0.021,1.603,0.0596,-0.0191,1.6028,0.0632,-0.019,1.6025,0.0632,-0.0234,1.6035,0.0677});
			return rmolar1c_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_molar1c 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_molar1c().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_molar1c\" 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_molar1c self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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