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> bone in wrist. </p>
 <p> Related links:  source l_lunate.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_lunate&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_lunate.x3d">l_lunate.x3d</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> description </i> </td>
			<td> bone in wrist </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/llunate.x3d">originals/llunate.x3d</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> <a href="https://en.wikipedia.org/wiki/Lunate_bone" target="_blank">https://en.wikipedia.org/wiki/Lunate_bone</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> <a href="https://en.wikipedia.org/wiki/Carpal_bones" target="_blank">https://en.wikipedia.org/wiki/Carpal_bones</a> </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_lunate.x3d" target="_blank">https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skeleton/l_lunate.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_lunate
{
	/** Default constructor to create this object. */
	public l_lunate ()
	{
	  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_lunate.x3d"))
    .addMeta(new meta().setName(meta.NAME_DESCRIPTION).setContent("bone in wrist"))
    .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/llunate.x3d"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("https://en.wikipedia.org/wiki/Lunate_bone"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("https://en.wikipedia.org/wiki/Carpal_bones"))
    .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_lunate.x3d"))
    .addMeta(new meta().setName(meta.NAME_LICENSE    ).setContent("../license.html")))
  .setScene(new Scene()
    .addChild(new WorldInfo().setTitle("l_lunate.x3d"))
    .addChild(new TouchSensor().setDescription("bone l_lunate"))
    .addChild(new Transform("l_lunate")
      .addChild(new Shape()
        .setAppearance(new Appearance()
          .setMaterial(new Material("BoneMaterial").setAmbientIntensity(0.965).setDiffuseColor(1.0,0.9765,0.8667).setShininess(0.05).setSpecularColor(0.349,0.349,0.349)))
        .setGeometry(new IndexedFaceSet("l_lunate_geometry").setDEF("l_lunate_geometry").setCreaseAngle(1.571).setCoordIndex(getl_lunate_geometry_5_23_coordIndex())
          .setCoord(new Coordinate("l_lunate_coordinate").setPoint(getl_lunate_coordinate_6_23_point()))))));
            }
            catch (Exception ex)
            {       
                System.err.println ("*** Further hints on X3DJSAIL errors and exceptions at");
                System.err.println ("*** https://www.web3d.org/specifications/java/X3DJSAIL.html");
                throw (ex);
            }
	}
	// end of initialize() method


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

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

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=3 */
		private int[] getl_lunate_geometry_5_23_coordIndex_3()
		{
			int[] value = {243,240,238,-1,237,261,265,-1,237,239,261,-1,143,265,261,-1,265,143,235,-1,234,208,207,-1,208,234,153,-1,22,154,232,-1,154,22,233,-1,146,207,155,-1,146,191,207,-1,25,34,26,-1,35,34,25,-1,200,199,67,-1,244,199,200,-1,231,186,210,-1,186,231,167,-1,228,168,230,-1,168,228,229,-1,21,52,19,-1,50,52,21,-1,257,111,114,-1,111,257,172,-1,227,205,213,-1,227,206,205,-1,83,189,188,-1,83,82,189,-1,114,224,257,-1,114,113,224,-1,158,225,156,-1,158,133,225,-1,134,15,14,-1,15,134,223,-1,221,165,219,-1,221,209,165,-1,221,210,209,-1,222,218,220,-1,217,218,222,-1,148,2,149,-1,2,148,57,-1,9,57,148,-1,8,57,9,-1,3,7,4,-1,149,7,3,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='l_lunate_geometry' coordIndex field, scene-graph level=5, element #23, 2176 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 getl_lunate_geometry_5_23_coordIndex()
		{
			MFInt32 l_lunate_geometry_5_23_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getl_lunate_geometry_5_23_coordIndex_1()))
				.append(new MFInt32(getl_lunate_geometry_5_23_coordIndex_2()))
				.append(new MFInt32(getl_lunate_geometry_5_23_coordIndex_3()));
			return l_lunate_geometry_5_23_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='l_lunate_coordinate' point field, scene-graph level=6, element #23, 822 total numbers made up of 274 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 getl_lunate_coordinate_6_23_point()
		{
			MFVec3f l_lunate_coordinate_6_23_point = new MFVec3f(new double[] {0.2237,0.8484,0.0688,0.2228,0.8469,0.0679,0.2229,0.8469,0.0677,0.2201,0.8442,0.0678,0.2194,0.8439,0.0682,0.2194,0.8438,0.068,0.2219,0.846,0.0691,0.2216,0.8452,0.0673,0.2231,0.8469,0.0675,0.2222,0.8451,0.0666,0.2239,0.8486,0.0669,0.2225,0.8484,0.0704,0.2223,0.8468,0.0709,0.2147,0.85,0.0607,0.2183,0.8518,0.0634,0.2188,0.8516,0.0634,0.2143,0.8505,0.0754,0.214,0.8501,0.0754,0.2144,0.8502,0.0758,0.2093,0.8515,0.063,0.2099,0.8516,0.0648,0.2116,0.8524,0.0644,0.2048,0.8433,0.0644,0.2049,0.8442,0.0635,0.206,0.8432,0.0622,0.2127,0.8414,0.0613,0.2128,0.8414,0.0612,0.2151,0.842,0.0619,0.215,0.842,0.0621,0.2166,0.843,0.0662,0.2162,0.8423,0.0642,0.2169,0.843,0.0663,0.2164,0.8423,0.0641,0.2102,0.8413,0.061,0.2105,0.8413,0.0609,0.2105,0.8412,0.0611,0.2069,0.8452,0.0661,0.2066,0.8447,0.0659,0.207,0.8451,0.0661,0.2124,0.8482,0.0731,0.2124,0.848,0.0731,0.2128,0.8473,0.0746,0.2132,0.847,0.0747,0.224,0.8489,0.0651,0.2142,0.8459,0.069,0.2126,0.8467,0.0695,0.2121,0.8464,0.0687,0.2109,0.8497,0.0676,0.2116,0.85,0.0684,0.2112,0.8504,0.0675,0.2119,0.8525,0.064,0.2115,0.8519,0.0629,0.2096,0.8515,0.0627,0.2178,0.8434,0.0636,0.2186,0.8435,0.0659,0.2221,0.8449,0.0666,0.2217,0.8454,0.065,0.223,0.8468,0.0676,0.2131,0.8469,0.0592,0.2139,0.8485,0.0598,0.2145,0.848,0.0596,0.208,0.8496,0.064,0.208,0.8503,0.0635,0.223,0.8499,0.0692,0.2228,0.85,0.0699,0.2146,0.8458,0.0706,0.2159,0.8452,0.0705,0.2171,0.8437,0.0684,0.2151,0.8441,0.066,0.2136,0.844,0.0642,0.2129,0.845,0.0653,0.213,0.844,0.0642,0.2091,0.8487,0.0653,0.208,0.8479,0.0649,0.213,0.8471,0.0762,0.2129,0.8483,0.0745,0.2128,0.8478,0.0745,0.2115,0.8453,0.0596,0.2108,0.8459,0.0596,0.2147,0.8424,0.0625,0.2164,0.8506,0.076,0.218,0.8514,0.0745,0.2176,0.8521,0.0736,0.2158,0.8512,0.075,0.2144,0.8453,0.0598,0.2149,0.8459,0.0596,0.2153,0.8466,0.0593,0.2151,0.8475,0.0593,0.2125,0.8488,0.06,0.2132,0.8486,0.0599,0.2117,0.8487,0.0599,0.2105,0.8478,0.0597,0.2103,0.8468,0.0597,0.2121,0.845,0.0596,0.2129,0.8449,0.0597,0.2168,0.8434,0.0615,0.219,0.8452,0.0615,0.2201,0.845,0.0632,0.2068,0.8472,0.0645,0.2066,0.8481,0.0635,0.205,0.8453,0.0626,0.2058,0.8467,0.063,0.2056,0.8471,0.0624,0.2144,0.8429,0.0631,0.213,0.8471,0.0764,0.2154,0.8474,0.0768,0.2154,0.8485,0.0769,0.2166,0.8493,0.0762,0.2167,0.848,0.0764,0.221,0.8508,0.0717,0.2204,0.8518,0.0718,0.2201,0.8521,0.0707,0.2152,0.8494,0.0767,0.2207,0.8517,0.0684,0.2204,0.8519,0.0696,0.2225,0.8498,0.0684,0.2149,0.8458,0.0716,0.2179,0.845,0.0754,0.2178,0.8446,0.0719,0.2196,0.8449,0.0718,0.2079,0.8468,0.0605,0.207,0.8442,0.0614,0.2058,0.8462,0.0619,0.209,0.8452,0.0604,0.2128,0.843,0.0606,0.2146,0.8432,0.0608,0.2166,0.845,0.0603,0.2156,0.8438,0.0608,0.217,0.848,0.0599,0.2214,0.8507,0.0628,0.2223,0.8494,0.0624,0.2158,0.849,0.0603,0.2164,0.8524,0.0644,0.2198,0.8517,0.0653,0.2192,0.8519,0.0644,0.2168,0.8524,0.0652,0.2159,0.852,0.0638,0.2228,0.8504,0.0648,0.2236,0.8491,0.0641,0.2112,0.8519,0.0662,0.212,0.8527,0.0656,0.2062,0.849,0.0622,0.2078,0.8465,0.0658,0.2076,0.8457,0.0665,0.2069,0.846,0.0655,0.2082,0.8421,0.0614,0.2079,0.8416,0.0626,0.2157,0.8432,0.0651,0.222,0.845,0.0667,0.2217,0.8452,0.0672,0.2147,0.845,0.0675,0.2157,0.8447,0.0688,0.2135,0.8454,0.0672,0.2061,0.8437,0.0653,0.2059,0.844,0.0653,0.2055,0.8423,0.0643,0.2205,0.8517,0.0668,0.2226,0.8501,0.0666,0.2202,0.8516,0.0651,0.2101,0.844,0.0602,0.2087,0.8426,0.061,0.2111,0.8432,0.0604,0.2079,0.8486,0.0605,0.2173,0.8465,0.0601,0.2139,0.845,0.0598,0.2201,0.846,0.0732,0.2157,0.8458,0.074,0.2166,0.8454,0.0761,0.2157,0.8457,0.0766,0.2136,0.847,0.0724,0.213,0.8468,0.071,0.2185,0.8523,0.0719,0.2197,0.8523,0.0705,0.2177,0.8525,0.0717,0.2134,0.8518,0.072,0.2127,0.8497,0.073,0.2189,0.8521,0.0721,0.2192,0.8516,0.0731,0.2156,0.8465,0.0768,0.2111,0.8421,0.0621,0.2117,0.8431,0.0631,0.2093,0.8441,0.0646,0.2087,0.8429,0.0637,0.2141,0.8468,0.0734,0.2145,0.8463,0.0746,0.2175,0.8446,0.072,0.2176,0.8451,0.0755,0.2107,0.8508,0.0666,0.2155,0.8514,0.0746,0.2173,0.8523,0.0733,0.2157,0.8523,0.0719,0.208,0.8416,0.0628,0.2058,0.845,0.0647,0.2058,0.8459,0.0639,0.2125,0.8488,0.0731,0.2121,0.8499,0.0708,0.2117,0.8487,0.0714,0.2123,0.844,0.0642,0.2215,0.8497,0.0715,0.2173,0.8442,0.0702,0.2173,0.8436,0.0685,0.2211,0.8449,0.0649,0.2222,0.8507,0.0638,0.2229,0.8492,0.0633,0.2122,0.8522,0.0673,0.2129,0.8523,0.0681,0.2125,0.8525,0.067,0.2057,0.8422,0.0644,0.2055,0.8424,0.0645,0.2178,0.8451,0.0755,0.2178,0.8452,0.0756,0.2131,0.8469,0.0762,0.2132,0.852,0.0702,0.2134,0.8525,0.0683,0.2136,0.8523,0.0702,0.2138,0.852,0.072,0.2219,0.8483,0.0712,0.2195,0.8503,0.0733,0.218,0.8499,0.075,0.2199,0.8475,0.0734,0.2179,0.8484,0.0755,0.2179,0.8467,0.0756,0.2197,0.849,0.0735,0.2195,0.8518,0.0641,0.2203,0.852,0.0684,0.22,0.8519,0.0668,0.2124,0.8528,0.0655,0.2129,0.8526,0.0669,0.2145,0.8464,0.0764,0.2144,0.8463,0.0763,0.2158,0.8458,0.0768,0.2167,0.8455,0.0763,0.2058,0.8443,0.0652,0.205,0.8431,0.0645,0.2063,0.8436,0.0652,0.2077,0.8456,0.0665,0.2104,0.8473,0.0691,0.2099,0.8468,0.0683,0.2105,0.8471,0.0692,0.2098,0.847,0.0683,0.211,0.8476,0.07,0.2117,0.8478,0.0717,0.2115,0.848,0.0717,0.2111,0.8474,0.07,0.2175,0.8441,0.0702,0.2106,0.8482,0.0685,0.2112,0.8485,0.0693,0.2147,0.8525,0.0668,0.215,0.8525,0.0683,0.2168,0.8526,0.0683,0.2168,0.8525,0.0668,0.2141,0.8524,0.0643,0.2137,0.852,0.0633,0.2212,0.846,0.0635,0.2195,0.8444,0.0699,0.2167,0.8467,0.0764,0.2153,0.8524,0.0701,0.22,0.8521,0.0694,0.2173,0.8525,0.07,0.2106,0.8456,0.0662,0.21,0.8448,0.0654,0.2084,0.8462,0.0669,0.2087,0.8471,0.0661,0.2103,0.8495,0.0669,0.21,0.8479,0.0676,0.2085,0.8461,0.0669,0.2117,0.8461,0.0678,0.2129,0.8421,0.0622,0.2145,0.8526,0.0654,0.2133,0.8502,0.0609,0.213,0.843,0.0631,0.2119,0.8505,0.0612,0.2103,0.8503,0.0609,0.2207,0.8467,0.062});
			return l_lunate_coordinate_6_23_point;
		}

	/** The initialized model object, created within initialize() method. */
	private X3D x3dModel;

	/** 
	 * Provide a 
	 * <a href="https://dzone.com/articles/java-copy-shallow-vs-deep-in-which-you-will-swim" target="_blank">shallow copy</a>
	 * of the X3D model.
	 * @see <a href="https://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/Core/X3D.html">X3D</a>
	 * @return l_lunate 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_lunate().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_lunate\" 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_lunate self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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