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

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] getr_capitate_geometry_5_23_coordIndex_2()
		{
			int[] value = {106,97,107,-1,238,97,105,-1,116,255,236,-1,292,293,294,-1,293,295,294,-1,99,111,291,-1,99,98,111,-1,256,109,101,-1,95,296,203,-1,203,96,95,-1,30,297,94,-1,30,197,297,-1,191,194,263,-1,191,190,194,-1,147,247,148,-1,7,225,119,-1,171,298,170,-1,67,70,268,-1,299,300,301,-1,300,302,301,-1,303,47,304,-1,303,53,47,-1,71,89,72,-1,71,87,89,-1,91,305,306,-1,91,90,305,-1,173,307,172,-1,212,29,210,-1,216,211,217,-1,216,212,211,-1,78,79,85,-1,186,308,187,-1,68,309,69,-1,68,67,231,-1,231,71,68,-1,88,260,62,-1,62,59,88,-1,288,38,37,-1,288,113,38,-1,178,177,189,-1,189,188,178,-1,241,184,142,-1,184,143,142,-1,286,310,311,-1,41,259,42,-1,222,308,232,-1,104,34,39,-1,34,312,39,-1,311,310,313,-1,212,216,196,-1,216,201,196,-1,14,27,205,-1,205,146,14,-1,312,40,39,-1,11,227,19,-1,19,228,261,-1,19,227,228,-1,16,15,136,-1,0,51,214,-1,214,314,0,-1,3,77,211,-1,211,4,3,-1,314,217,76,-1,314,214,217,-1,120,6,7,-1,120,81,6,-1,7,5,225,-1,81,1,0,-1,1,81,120,-1,211,76,217,-1,77,76,211,-1,252,17,16,-1,17,252,250,-1,228,18,261,-1,228,13,18,-1,102,315,316,-1,315,102,317,-1,318,215,161,-1,318,199,215,-1,101,204,202,-1,204,101,109,-1,23,109,24,-1,23,204,109,-1,92,28,26,-1,191,28,92,-1,196,29,212,-1,29,196,30,-1,222,187,308,-1,304,187,222,-1,1,234,2,-1,1,223,234,-1,165,286,285,-1,165,310,286,-1,166,242,243,-1,166,319,242,-1,320,34,104,-1,320,35,34,-1,166,285,319,-1,166,165,285,-1,36,184,37,-1,36,143,184,-1,321,300,322,-1,300,321,302,-1,178,47,54,-1,178,48,47,-1,114,288,265,-1,114,113,288,-1,282,182,131,-1,282,281,182,-1,300,69,322,-1,70,69,300,-1,55,177,56,-1,55,189,177,-1,88,323,260,-1,88,87,323,-1,324,140,325,-1,324,141,140,-1,314,83,0,-1,83,314,84,-1,3,79,77,-1,79,3,218,-1,326,305,90,-1,327,305,326,-1,172,328,329,-1,172,307,328,-1,272,173,273,-1,272,307,173,-1,328,306,305,-1,306,328,330,-1,8,323,231,-1,8,229,323,-1,301,53,303,-1,301,302,53,-1,299,70,300,-1,268,70,299,-1,91,68,72,-1,91,309,68,-1,331,171,332,-1,331,298,171,-1,322,333,321,-1,322,334,333,-1,119,335,262,-1,119,225,335,-1,247,22,24,-1,22,247,147,-1,263,95,336,-1,263,194,95,-1,94,195,192,-1,94,297,195,-1,197,295,297,-1,197,294,295,-1,200,337,292,-1,337,200,33,-1,293,203,296,-1,203,293,338,-1,256,111,109,-1,291,111,256,-1,337,317,338,-1,337,315,317,-1,287,124,122,-1,287,286,124,-1,255,257,236,-1,255,339,257,-1,318,34,33,-1,318,312,34,-1,289,106,340,-1,289,105,106,-1,107,290,313,-1,107,108,290,-1,111,238,110,-1,111,98,238,-1,246,340,341,-1,246,289,340,-1,313,103,311,-1,313,290,103,-1,2,235,164,-1,235,2,234,-1,165,341,310,-1,167,341,165,-1,283,130,125,-1,283,284,130,-1,38,342,64,-1,38,115,342,-1,343,163,280,-1,343,245,163,-1,74,151,344,-1,74,73,151,-1,152,345,346,-1,152,153,345,-1,154,347,348,-1,154,155,347,-1,349,157,350,-1,349,156,157,-1,158,279,351,-1,158,275,279,-1,278,324,352,-1,324,278,75,-1,270,346,137,-1,270,344,346,-1,345,273,173,-1,345,348,273,-1,353,349,170,-1,353,347,349,-1,168,351,274,-1,168,350,351,-1,279,352,354,-1,279,278,352,-1,233,237,258,-1,186,237,233,-1,354,276,175,-1,354,352,276,-1,175,274,354,-1,175,176,274,-1,273,355,271,-1,355,273,353,-1,270,139,141,-1,269,139,270,-1,181,176,174,-1,176,181,169,-1,356,298,331,-1,356,355,298,-1,272,357,330,-1,357,272,271,-1,266,126,128,-1,266,269,126,-1,333,181,180,-1,332,181,333,-1,358,331,334,-1,356,331,358,-1,359,69,309,-1,359,358,69,-1,330,359,306,-1,359,330,357,-1,327,283,329,-1,327,284,283,-1,64,266,182,-1,64,342,266,-1,277,325,114,-1,277,276,325,-1,296,295,293,-1,193,295,296,-1,206,25,205,-1,206,336,25,-1,335,268,299,-1,335,267,268,-1,304,221,303,-1,304,222,221,-1,260,229,253,-1,260,323,229,-1,136,253,16,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=3 */
		private int[] getr_capitate_geometry_5_23_coordIndex_3()
		{
			int[] value = {253,136,260,-1,232,186,233,-1,232,308,186,-1,257,123,258,-1,122,123,257,-1,315,33,35,-1,33,315,337,-1,339,240,319,-1,339,255,240,-1,166,162,167,-1,243,162,166,-1,360,145,249,-1,145,360,280,-1,244,15,254,-1,361,15,244,-1,360,135,136,-1,360,249,135,-1,251,261,18,-1,261,251,20,-1,326,59,61,-1,59,326,86,-1,144,249,145,-1,249,144,248,-1,360,15,361,-1,360,136,15,-1,361,280,360,-1,361,343,280,-1,245,162,163,-1,162,245,246,-1,343,244,148,-1,343,361,244,-1,341,162,246,-1,341,167,162,-1,240,242,319,-1,240,239,242,-1,285,339,319,-1,287,339,285,-1,112,362,100,-1,112,44,362,-1,164,42,2,-1,45,42,164,-1,93,227,10,-1,93,228,227,-1,230,226,9,-1,230,267,226,-1,267,225,226,-1,335,225,267,-1,303,262,301,-1,303,221,262,-1,41,215,259,-1,161,215,41,-1,213,29,32,-1,29,213,210,-1,208,209,207,-1,208,32,209,-1,28,336,206,-1,28,263,336,-1,198,292,294,-1,198,200,292,-1,194,296,95,-1,193,296,194,-1,193,297,295,-1,195,297,193,-1,63,248,144,-1,281,248,63,-1,61,327,326,-1,284,327,61,-1,309,306,359,-1,306,309,91,-1,358,357,356,-1,359,357,358,-1,322,358,334,-1,322,69,358,-1,321,180,54,-1,321,333,180,-1,179,54,180,-1,54,179,178,-1,56,179,174,-1,56,177,179,-1,342,269,266,-1,342,139,269,-1,329,138,172,-1,329,283,138,-1,271,356,357,-1,356,271,355,-1,332,169,181,-1,332,171,169,-1,352,325,276,-1,325,352,324,-1,355,170,298,-1,355,353,170,-1,235,258,123,-1,235,233,258,-1,112,320,46,-1,112,316,320,-1,351,354,274,-1,351,279,354,-1,170,350,168,-1,170,349,350,-1,348,353,273,-1,348,347,353,-1,346,173,137,-1,346,345,173,-1,141,344,270,-1,141,74,344,-1,350,158,351,-1,350,157,158,-1,347,156,349,-1,347,155,156,-1,153,348,345,-1,153,154,348,-1,344,152,346,-1,344,151,152,-1,149,75,278,-1,75,149,73,-1,245,148,247,-1,148,245,343,-1,140,342,115,-1,342,140,139,-1,129,125,130,-1,129,128,125,-1,137,126,270,-1,127,126,137,-1,123,164,235,-1,123,43,164,-1,123,52,43,-1,120,223,1,-1,223,120,121,-1,114,140,115,-1,114,325,140,-1,341,313,310,-1,341,340,313,-1,238,289,110,-1,238,105,289,-1,108,291,290,-1,291,108,99,-1,340,107,313,-1,340,106,107,-1,316,100,102,-1,316,112,100,-1,339,122,257,-1,339,287,122,-1,100,311,103,-1,362,311,100,-1,338,202,203,-1,338,317,202,-1,292,338,293,-1,338,292,337,-1,199,33,200,-1,33,199,318,-1,198,197,196,-1,198,294,197,-1,336,23,25,-1,336,95,23,-1,299,262,335,-1,301,262,299,-1,334,332,333,-1,334,331,332,-1,307,330,328,-1,330,307,272,-1,327,328,305,-1,329,328,327,-1,90,86,326,-1,90,89,86,-1,76,84,314,-1,78,84,76,-1,80,3,6,-1,218,3,80,-1,83,81,0,-1,82,81,83,-1,75,141,324,-1,75,74,141,-1,281,64,182,-1,281,63,64,-1,265,277,114,-1,265,264,277,-1,50,178,188,-1,50,48,178,-1,87,231,323,-1,71,231,87,-1,66,131,65,-1,66,282,131,-1,277,58,57,-1,58,277,264,-1,302,54,53,-1,302,321,54,-1,49,188,186,-1,49,50,188,-1,46,104,45,-1,46,320,104,-1,142,242,241,-1,243,242,142,-1,362,286,311,-1,362,124,286,-1,124,44,52,-1,44,124,362,-1,42,51,2,-1,42,259,51,-1,232,223,222,-1,234,223,232,-1,49,304,47,-1,49,187,304,-1,209,31,192,-1,31,209,32,-1,22,205,25,-1,205,22,146,-1,317,101,202,-1,317,102,101,-1,161,312,318,-1,40,312,161,-1,215,201,216,-1,215,199,201,-1,209,191,92,-1,209,192,191,-1,35,316,315,-1,316,35,320,-1,17,254,15,-1,254,17,251,-1,254,18,12,-1,18,254,251,-1,252,20,250,-1,21,20,252,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='r_capitate_geometry' coordIndex field, scene-graph level=5, element #23, 2888 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 getr_capitate_geometry_5_23_coordIndex()
		{
			MFInt32 r_capitate_geometry_5_23_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getr_capitate_geometry_5_23_coordIndex_1()))
				.append(new MFInt32(getr_capitate_geometry_5_23_coordIndex_2()))
				.append(new MFInt32(getr_capitate_geometry_5_23_coordIndex_3()));
			return r_capitate_geometry_5_23_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='r_capitate_coordinate' point field, scene-graph level=6, element #23, 1089 total numbers made up of 363 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 getr_capitate_coordinate_6_23_point()
		{
			MFVec3f r_capitate_coordinate_6_23_point = new MFVec3f(new double[] {-0.2202,0.8341,0.0766,-0.22,0.8345,0.0766,-0.2201,0.8342,0.0764,-0.2168,0.8314,0.0858,-0.2167,0.8313,0.086,-0.2153,0.8341,0.0821,-0.2155,0.8339,0.0818,-0.2153,0.8342,0.0817,-0.2052,0.831,0.0817,-0.2065,0.8315,0.0826,-0.2084,0.8279,0.0829,-0.205,0.8273,0.0826,-0.203,0.8209,0.077,-0.2031,0.821,0.0773,-0.2036,0.8206,0.0771,-0.2011,0.8277,0.0736,-0.201,0.8278,0.0739,-0.2009,0.8274,0.074,-0.2028,0.8212,0.0772,-0.2048,0.827,0.0823,-0.2027,0.8274,0.0793,-0.2029,0.8278,0.0793,-0.2078,0.8231,0.0724,-0.2098,0.8241,0.0714,-0.2096,0.8243,0.0712,-0.208,0.8228,0.0726,-0.2093,0.822,0.0787,-0.2042,0.8205,0.077,-0.2096,0.8219,0.0785,-0.2173,0.8269,0.0838,-0.2173,0.8267,0.0835,-0.2142,0.8258,0.0844,-0.2141,0.826,0.0846,-0.2203,0.8254,0.0753,-0.2206,0.8258,0.0737,-0.2205,0.8257,0.0737,-0.2074,0.8401,0.0686,-0.2077,0.8402,0.0686,-0.2074,0.8405,0.0684,-0.2228,0.8265,0.0731,-0.2228,0.8265,0.0734,-0.2211,0.8308,0.0753,-0.2208,0.8312,0.0752,-0.2172,0.83,0.0738,-0.2171,0.8296,0.0737,-0.2192,0.8292,0.074,-0.2189,0.8289,0.074,-0.2171,0.8407,0.0749,-0.2172,0.8408,0.0747,-0.2171,0.8404,0.0747,-0.2171,0.8407,0.0746,-0.2203,0.8338,0.0765,-0.217,0.83,0.0737,-0.2153,0.8405,0.0779,-0.2152,0.8409,0.0779,-0.2149,0.8426,0.0712,-0.2149,0.8429,0.0712,-0.2135,0.8429,0.0701,-0.2135,0.8425,0.0702,-0.2018,0.835,0.0746,-0.2014,0.8374,0.0734,-0.2013,0.8376,0.0736,-0.2019,0.8348,0.0742,-0.2057,0.8399,0.0691,-0.2057,0.8401,0.069,-0.2021,0.8391,0.0721,-0.2023,0.8388,0.072,-0.2068,0.8365,0.0818,-0.2065,0.8366,0.0817,-0.2098,0.8399,0.0818,-0.2099,0.8395,0.0818,-0.2049,0.8339,0.0803,-0.2048,0.8357,0.0802,-0.207,0.847,0.0722,-0.2069,0.8466,0.0712,-0.2076,0.8469,0.0714,-0.2198,0.8307,0.0799,-0.2193,0.8302,0.0819,-0.2188,0.8306,0.0801,-0.2185,0.8306,0.0811,-0.2165,0.8326,0.081,-0.217,0.8341,0.0791,-0.2171,0.8331,0.0794,-0.2188,0.8327,0.0782,-0.2189,0.8314,0.0789,-0.2178,0.8314,0.0803,-0.2021,0.8348,0.0764,-0.2036,0.8326,0.0777,-0.2029,0.8321,0.0759,-0.2034,0.8349,0.0781,-0.2029,0.837,0.0783,-0.2044,0.8377,0.0799,-0.2105,0.8236,0.0804,-0.2072,0.8239,0.0798,-0.2145,0.8253,0.0828,-0.2119,0.8227,0.074,-0.2121,0.8232,0.0731,-0.212,0.8268,0.0733,-0.212,0.8258,0.0732,-0.2127,0.826,0.0733,-0.2161,0.8269,0.0736,-0.2142,0.8239,0.0729,-0.217,0.8246,0.0734,-0.2147,0.8262,0.0731,-0.2208,0.8261,0.0735,-0.2108,0.8269,0.0727,-0.212,0.8278,0.0732,-0.2132,0.8277,0.0735,-0.2132,0.8267,0.0735,-0.2122,0.8241,0.0727,-0.2101,0.8251,0.0719,-0.2121,0.8252,0.073,-0.2173,0.8274,0.0741,-0.2084,0.8413,0.0682,-0.2096,0.8419,0.0684,-0.2076,0.8416,0.0678,-0.2129,0.8371,0.0727,-0.2122,0.8397,0.0715,-0.2112,0.8392,0.071,-0.2145,0.8358,0.0797,-0.2169,0.8345,0.079,-0.2163,0.836,0.0782,-0.2154,0.8311,0.0735,-0.2163,0.8316,0.0739,-0.2158,0.8296,0.0735,-0.2019,0.8419,0.0719,-0.2035,0.8447,0.0709,-0.2028,0.8447,0.0722,-0.2028,0.8418,0.0705,-0.2026,0.8399,0.0707,-0.2016,0.8397,0.072,-0.2027,0.8394,0.0709,-0.2025,0.8353,0.0731,-0.2031,0.8381,0.0715,-0.2025,0.8376,0.0722,-0.2027,0.8357,0.0719,-0.2013,0.8315,0.0731,-0.2044,0.8459,0.0729,-0.2025,0.8445,0.0738,-0.2058,0.8445,0.0688,-0.2073,0.8443,0.0681,-0.2069,0.8463,0.0705,-0.2082,0.8347,0.0701,-0.2075,0.8377,0.0688,-0.2058,0.838,0.0696,-0.2059,0.8354,0.0703,-0.206,0.8218,0.0737,-0.2073,0.8238,0.0722,-0.206,0.8253,0.0718,-0.2076,0.8472,0.0724,-0.2071,0.8472,0.073,-0.2066,0.8469,0.0723,-0.2062,0.8469,0.0729,-0.2063,0.8469,0.0733,-0.2067,0.8471,0.0735,-0.2071,0.8472,0.0736,-0.2075,0.8473,0.0735,-0.2078,0.8474,0.0733,-0.2079,0.8474,0.0729,-0.2135,0.8395,0.0722,-0.2148,0.8393,0.073,-0.2228,0.8261,0.076,-0.2096,0.8303,0.0711,-0.2077,0.8313,0.0703,-0.2181,0.8318,0.0751,-0.2134,0.8298,0.0728,-0.2121,0.831,0.0724,-0.2124,0.8299,0.0726,-0.2093,0.8477,0.0742,-0.2115,0.847,0.0754,-0.2084,0.8473,0.0749,-0.2107,0.8468,0.0764,-0.2027,0.8448,0.0749,-0.2047,0.846,0.074,-0.2152,0.8446,0.0732,-0.212,0.8456,0.071,-0.2123,0.8463,0.0729,-0.216,0.8424,0.0726,-0.217,0.8409,0.0746,-0.2166,0.843,0.074,-0.2147,0.8433,0.078,-0.2137,0.8456,0.0769,-0.204,0.8402,0.07,-0.2107,0.8384,0.0709,-0.2079,0.8378,0.0689,-0.2101,0.8371,0.0709,-0.2152,0.8372,0.0743,-0.2174,0.8388,0.0749,-0.2169,0.8407,0.0745,-0.216,0.8421,0.0725,-0.2122,0.8239,0.0801,-0.2108,0.8235,0.0802,-0.2126,0.8245,0.0817,-0.2135,0.8239,0.0771,-0.212,0.8234,0.0772,-0.2131,0.8244,0.08,-0.2202,0.8268,0.083,-0.2173,0.8258,0.0811,-0.2201,0.8256,0.0798,-0.223,0.8256,0.0789,-0.22,0.8252,0.0771,-0.222,0.8264,0.0809,-0.2143,0.8235,0.073,-0.214,0.8233,0.0734,-0.2122,0.8238,0.0727,-0.2062,0.8216,0.074,-0.2084,0.8206,0.0764,-0.2094,0.8261,0.082,-0.2116,0.8272,0.0846,-0.2124,0.8247,0.0821,-0.2172,0.8291,0.0853,-0.2193,0.83,0.0822,-0.2202,0.827,0.0833,-0.2138,0.8286,0.0866,-0.2205,0.8317,0.0777,-0.2231,0.8258,0.0789,-0.2221,0.8266,0.0809,-0.2201,0.8304,0.08,-0.2172,0.8312,0.0831,-0.2133,0.8339,0.0839,-0.2146,0.8328,0.0857,-0.2159,0.8376,0.0776,-0.2177,0.8379,0.0751,-0.2186,0.8361,0.0761,-0.2115,0.8312,0.0854,-0.2124,0.8355,0.0813,-0.2098,0.8335,0.0821,-0.2052,0.8272,0.0827,-0.2038,0.8242,0.0805,-0.2037,0.8298,0.0786,-0.207,0.8346,0.0823,-0.2051,0.8337,0.0806,-0.2177,0.8377,0.075,-0.2164,0.8353,0.0748,-0.2186,0.836,0.0759,-0.2174,0.8337,0.0751,-0.2141,0.8348,0.0733,-0.2145,0.8354,0.0737,-0.2108,0.8258,0.0726,-0.2113,0.835,0.0717,-0.2122,0.8343,0.0723,-0.2084,0.8351,0.0701,-0.2105,0.8323,0.0714,-0.2103,0.832,0.0713,-0.2041,0.8254,0.0728,-0.2077,0.8278,0.0708,-0.209,0.8277,0.0713,-0.2082,0.8252,0.0711,-0.2041,0.8384,0.0707,-0.2039,0.8358,0.0712,-0.2012,0.8269,0.0758,-0.2009,0.8244,0.0755,-0.2013,0.8273,0.0758,-0.2023,0.8288,0.0758,-0.201,0.8241,0.0753,-0.2136,0.8342,0.0728,-0.2136,0.825,0.073,-0.2149,0.8329,0.0736,-0.2156,0.8334,0.074,-0.2209,0.8313,0.0755,-0.2029,0.8317,0.0757,-0.2035,0.8243,0.0804,-0.2144,0.8373,0.0794,-0.2108,0.8226,0.0779,-0.212,0.8423,0.0693,-0.2098,0.8417,0.0686,-0.2042,0.8417,0.0695,-0.2098,0.8362,0.0818,-0.2098,0.8379,0.0818,-0.2045,0.8445,0.0698,-0.2056,0.8459,0.071,-0.2055,0.8452,0.078,-0.2043,0.8452,0.077,-0.206,0.8467,0.0748,-0.2096,0.8476,0.0728,-0.2077,0.8473,0.0727,-0.2113,0.8449,0.0692,-0.212,0.8426,0.0692,-0.2083,0.8471,0.0717,-0.2086,0.8473,0.0723,-0.2057,0.8314,0.0709,-0.2042,0.8398,0.07,-0.2029,0.8391,0.0709,-0.2013,0.8418,0.0735,-0.201,0.8397,0.0736,-0.2136,0.8302,0.0729,-0.2147,0.8292,0.0732,-0.2144,0.8306,0.0732,-0.2086,0.841,0.0684,-0.2099,0.8272,0.072,-0.214,0.8265,0.0733,-0.2132,0.8256,0.0732,-0.2181,0.8246,0.0761,-0.2165,0.8238,0.0752,-0.2174,0.8249,0.0786,-0.2157,0.8244,0.0778,-0.2137,0.8232,0.074,-0.215,0.825,0.0804,-0.2098,0.8467,0.0774,-0.2124,0.8388,0.0808,-0.2126,0.8405,0.0809,-0.2141,0.839,0.0793,-0.214,0.8405,0.0794,-0.2155,0.8391,0.0776,-0.2175,0.8388,0.0751,-0.2026,0.8395,0.0784,-0.2042,0.8403,0.0796,-0.2033,0.8449,0.0759,-0.2176,0.8379,0.0749,-0.2062,0.8384,0.0813,-0.2145,0.829,0.0732,-0.2147,0.8288,0.0732,-0.2227,0.8263,0.0733,-0.214,0.8284,0.0734,-0.2202,0.8318,0.0779,-0.2185,0.8251,0.0739,-0.2185,0.8254,0.0737,-0.2171,0.8244,0.0736,-0.2226,0.8259,0.076,-0.2123,0.8313,0.0725,-0.2204,0.826,0.0736,-0.2139,0.8409,0.0794,-0.2125,0.8409,0.0809,-0.2037,0.8322,0.0778,-0.2078,0.8467,0.0708,-0.2093,0.8446,0.0684,-0.2015,0.8371,0.0761,-0.2013,0.8396,0.0762,-0.2024,0.842,0.0776,-0.2013,0.8421,0.0757,-0.2038,0.8424,0.0788,-0.2115,0.845,0.0793,-0.2126,0.8453,0.0781,-0.2135,0.8433,0.0792,-0.2123,0.8432,0.0803,-0.2123,0.8369,0.081,-0.2102,0.8217,0.0752,-0.2183,0.8247,0.0749,-0.2168,0.8239,0.0743,-0.2142,0.8322,0.0733,-0.2123,0.8285,0.0729,-0.2125,0.8292,0.0727,-0.2057,0.8416,0.0685,-0.2059,0.8277,0.0714,-0.206,0.8463,0.0715,-0.2053,0.8464,0.0737,-0.2051,0.8464,0.0729,-0.2071,0.8471,0.0744,-0.2063,0.8469,0.0743,-0.2081,0.8474,0.0743,-0.2087,0.8476,0.0738,-0.2089,0.8475,0.0729,-0.2088,0.8469,0.0712,-0.2071,0.847,0.075,-0.2092,0.8473,0.072,-0.208,0.8461,0.0784,-0.2087,0.8441,0.0804,-0.2054,0.8427,0.0798,-0.2092,0.8423,0.0813,-0.2059,0.841,0.0805,-0.2038,0.8316,0.0718,-0.2041,0.8277,0.0721,-0.2159,0.8292,0.0735});
			return r_capitate_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 r_capitate 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_capitate().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_capitate\" 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_capitate self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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