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

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] getr_fibula_geometry_5_22_coordIndex_2()
		{
			int[] value = {305,146,143,-1,193,192,185,-1,185,305,193,-1,189,306,307,-1,307,196,189,-1,182,1,181,-1,182,194,1,-1,70,59,308,-1,70,60,59,-1,184,309,68,-1,309,69,68,-1,2,176,0,-1,71,74,76,-1,74,77,76,-1,109,81,175,-1,81,86,175,-1,74,75,77,-1,75,67,77,-1,81,80,84,-1,104,97,96,-1,96,228,104,-1,223,103,101,-1,223,230,103,-1,158,310,159,-1,158,311,310,-1,164,163,312,-1,142,141,313,-1,313,210,142,-1,154,314,315,-1,154,156,314,-1,209,316,139,-1,316,315,139,-1,166,150,148,-1,317,318,319,-1,191,176,2,-1,191,178,176,-1,145,144,157,-1,147,205,320,-1,320,321,147,-1,133,141,136,-1,133,313,141,-1,148,152,166,-1,148,153,152,-1,322,138,140,-1,320,205,206,-1,126,125,323,-1,323,307,126,-1,211,217,218,-1,218,212,211,-1,310,311,123,-1,311,150,123,-1,323,324,325,-1,325,307,323,-1,129,132,314,-1,217,211,186,-1,129,317,130,-1,121,109,175,-1,121,107,109,-1,94,95,14,-1,95,13,14,-1,98,326,116,-1,116,96,98,-1,113,58,111,-1,113,327,58,-1,53,54,73,-1,54,50,73,-1,79,105,80,-1,105,99,80,-1,99,106,85,-1,106,226,85,-1,97,63,98,-1,97,112,63,-1,290,292,40,-1,40,242,290,-1,114,297,293,-1,114,90,297,-1,228,225,106,-1,106,104,228,-1,94,117,92,-1,117,239,92,-1,89,224,91,-1,112,97,110,-1,87,84,83,-1,83,100,87,-1,73,47,75,-1,73,50,47,-1,69,72,71,-1,72,74,71,-1,68,188,187,-1,56,55,67,-1,55,77,67,-1,59,306,308,-1,79,327,113,-1,79,82,327,-1,107,66,180,-1,180,108,107,-1,65,61,78,-1,51,53,328,-1,328,172,51,-1,52,220,54,-1,220,9,54,-1,27,250,248,-1,27,329,250,-1,287,289,286,-1,268,270,269,-1,39,38,167,-1,35,36,33,-1,35,275,36,-1,254,255,291,-1,229,22,330,-1,22,24,330,-1,33,15,17,-1,48,326,49,-1,48,301,326,-1,11,13,116,-1,116,299,11,-1,6,239,117,-1,6,5,239,-1,116,301,299,-1,301,116,326,-1,48,54,9,-1,48,50,54,-1,331,229,330,-1,230,229,331,-1,267,270,332,-1,269,270,267,-1,278,285,333,-1,278,18,285,-1,334,335,336,-1,334,300,335,-1,337,329,338,-1,329,337,250,-1,78,57,65,-1,57,78,55,-1,82,180,327,-1,82,108,180,-1,228,295,225,-1,228,93,295,-1,293,290,114,-1,290,293,292,-1,40,243,242,-1,243,40,245,-1,327,57,58,-1,327,180,57,-1,130,319,339,-1,319,130,317,-1,325,204,340,-1,325,324,204,-1,149,303,203,-1,304,303,149,-1,341,212,218,-1,122,212,341,-1,157,128,127,-1,157,342,128,-1,304,150,311,-1,150,304,149,-1,151,343,152,-1,151,208,343,-1,134,343,208,-1,134,344,343,-1,135,208,207,-1,135,134,208,-1,320,155,321,-1,318,155,320,-1,166,345,165,-1,345,166,152,-1,133,138,313,-1,139,138,133,-1,156,318,317,-1,155,318,156,-1,147,153,148,-1,153,147,321,-1,328,69,309,-1,72,69,328,-1,151,321,155,-1,153,321,151,-1,183,190,346,-1,187,190,183,-1,347,319,206,-1,347,339,319,-1,342,339,128,-1,342,130,339,-1,348,177,179,-1,177,348,119,-1,59,120,349,-1,120,59,61,-1,350,126,351,-1,350,127,126,-1,143,191,193,-1,178,191,143,-1,206,318,320,-1,318,206,319,-1,352,51,171,-1,52,51,352,-1,353,87,302,-1,87,353,86,-1,62,75,47,-1,75,62,67,-1,170,3,0,-1,172,3,170,-1,81,108,82,-1,108,81,109,-1,353,175,86,-1,353,173,175,-1,70,76,60,-1,70,71,76,-1,2,194,191,-1,2,1,194,-1,127,145,157,-1,350,145,127,-1,189,308,306,-1,188,308,189,-1,351,307,306,-1,351,126,307,-1,325,196,307,-1,354,196,325,-1,355,199,354,-1,199,355,356,-1,159,213,160,-1,159,214,213,-1,201,357,356,-1,201,160,357,-1,198,312,346,-1,312,198,164,-1,357,161,197,-1,161,357,358,-1,322,185,186,-1,322,305,185,-1,210,186,211,-1,186,210,322,-1,140,305,322,-1,305,140,146,-1,315,137,139,-1,315,314,137,-1,311,200,304,-1,158,200,311,-1,352,100,102,-1,302,100,352,-1,63,326,98,-1,49,326,63,-1,335,221,331,-1,335,10,221,-1,227,295,298,-1,227,225,295,-1,12,334,338,-1,334,12,11,-1,250,24,25,-1,250,337,24,-1,257,229,231,-1,22,229,257,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=3 */
		private int[] getr_fibula_geometry_5_22_coordIndex_3()
		{
			int[] value = {330,337,336,-1,330,24,337,-1,232,233,4,-1,233,232,249,-1,40,240,41,-1,40,292,240,-1,247,254,28,-1,247,252,254,-1,114,259,115,-1,114,290,259,-1,257,258,261,-1,257,256,258,-1,359,265,360,-1,265,359,262,-1,359,25,23,-1,359,289,25,-1,45,289,287,-1,44,289,45,-1,282,286,360,-1,279,286,282,-1,167,273,169,-1,167,38,273,-1,361,275,35,-1,288,275,361,-1,271,255,288,-1,255,271,251,-1,333,287,278,-1,333,45,287,-1,46,281,284,-1,280,281,46,-1,284,283,30,-1,284,281,283,-1,15,274,16,-1,274,15,36,-1,270,288,361,-1,270,271,288,-1,35,272,361,-1,32,272,35,-1,272,38,332,-1,38,272,273,-1,267,38,266,-1,267,332,38,-1,332,361,272,-1,361,332,270,-1,263,20,19,-1,263,244,20,-1,360,264,282,-1,360,265,264,-1,360,289,359,-1,289,360,286,-1,23,262,359,-1,261,262,23,-1,260,244,263,-1,259,244,260,-1,115,256,88,-1,115,258,256,-1,222,88,256,-1,89,88,222,-1,241,92,239,-1,92,241,294,-1,277,252,247,-1,277,276,252,-1,249,329,27,-1,249,296,329,-1,246,237,236,-1,42,237,246,-1,20,37,39,-1,20,243,37,-1,41,5,7,-1,240,5,41,-1,6,118,232,-1,118,6,117,-1,235,7,4,-1,235,237,7,-1,338,296,12,-1,338,329,296,-1,336,331,330,-1,336,335,331,-1,22,261,23,-1,257,261,22,-1,222,230,223,-1,231,230,222,-1,11,300,334,-1,300,11,299,-1,230,221,103,-1,221,230,331,-1,298,224,227,-1,298,91,224,-1,221,9,220,-1,9,221,10,-1,9,301,48,-1,9,8,301,-1,52,102,220,-1,102,52,352,-1,47,63,62,-1,47,49,63,-1,218,214,341,-1,214,218,215,-1,216,213,215,-1,216,358,213,-1,316,154,315,-1,154,316,207,-1,347,204,324,-1,204,347,206,-1,146,132,144,-1,146,140,132,-1,216,186,162,-1,217,186,216,-1,164,197,161,-1,164,198,197,-1,163,192,312,-1,192,163,185,-1,160,200,158,-1,201,200,160,-1,358,160,213,-1,358,357,160,-1,202,356,355,-1,201,356,202,-1,195,354,199,-1,195,196,354,-1,356,197,199,-1,356,357,197,-1,340,354,325,-1,354,340,355,-1,348,351,349,-1,348,350,351,-1,145,178,143,-1,179,178,145,-1,324,125,347,-1,324,323,125,-1,194,312,192,-1,194,182,312,-1,182,346,312,-1,182,183,346,-1,355,303,202,-1,355,340,303,-1,349,119,348,-1,120,119,349,-1,119,174,177,-1,119,121,174,-1,170,174,173,-1,170,0,174,-1,173,171,170,-1,171,173,353,-1,309,172,328,-1,3,172,309,-1,171,302,352,-1,171,353,302,-1,169,283,168,-1,169,30,283,-1,159,341,214,-1,159,310,341,-1,162,358,216,-1,162,161,358,-1,313,322,210,-1,313,138,322,-1,306,349,351,-1,349,306,59,-1,350,179,145,-1,179,350,348,-1,347,128,339,-1,347,125,128,-1,136,344,134,-1,344,136,345,-1,122,142,212,-1,122,124,142,-1,195,346,190,-1,195,198,346,-1,72,53,73,-1,72,328,53,-1,314,317,129,-1,317,314,156,-1,345,141,165,-1,345,136,141,-1,140,314,132,-1,314,140,137,-1,152,344,345,-1,343,344,152,-1,207,209,135,-1,207,316,209,-1,310,122,341,-1,123,122,310,-1,342,131,130,-1,342,157,131,-1,340,203,303,-1,340,204,203,-1,293,294,241,-1,297,294,293,-1,91,297,90,-1,91,298,297,-1,61,107,120,-1,61,66,107,-1,85,219,83,-1,85,226,219,-1,60,78,61,-1,60,76,78,-1,308,68,70,-1,308,188,68,-1,338,336,337,-1,338,334,336,-1,29,46,284,-1,29,34,46,-1,277,285,276,-1,277,333,285,-1,277,45,333,-1,277,43,45,-1,42,7,237,-1,41,7,42,-1,31,34,29,-1,31,32,34,-1,28,291,26,-1,28,254,291,-1,264,21,168,-1,264,19,21,-1,10,300,8,-1,10,335,300,-1,12,118,14,-1,12,296,118,-1,3,184,181,-1,3,309,184,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='r_fibula_geometry' coordIndex field, scene-graph level=5, element #22, 2880 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_fibula_geometry_5_22_coordIndex()
		{
			MFInt32 r_fibula_geometry_5_22_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getr_fibula_geometry_5_22_coordIndex_1()))
				.append(new MFInt32(getr_fibula_geometry_5_22_coordIndex_2()))
				.append(new MFInt32(getr_fibula_geometry_5_22_coordIndex_3()));
			return r_fibula_geometry_5_22_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='r_fibula_coordinate' point field, scene-graph level=6, element #22, 1086 total numbers made up of 362 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_fibula_coordinate_6_22_point()
		{
			MFVec3f r_fibula_coordinate_6_22_point = new MFVec3f(new double[] {-0.0971,0.1681,-0.0568,-0.0989,0.1422,-0.0625,-0.0958,0.1422,-0.0596,-0.1001,0.1692,-0.0613,-0.1105,0.415,-0.0497,-0.1117,0.4095,-0.0445,-0.1118,0.4101,-0.0468,-0.1081,0.4163,-0.0447,-0.1074,0.3228,-0.0545,-0.1065,0.2984,-0.057,-0.1098,0.323,-0.0539,-0.1098,0.3716,-0.051,-0.1144,0.3922,-0.0488,-0.1083,0.3713,-0.0509,-0.1125,0.3919,-0.048,-0.1228,0.4304,-0.0475,-0.1241,0.4293,-0.0492,-0.1243,0.4306,-0.0465,-0.1271,0.4277,-0.046,-0.1195,0.421,-0.0287,-0.1141,0.4193,-0.0288,-0.1188,0.4238,-0.0289,-0.1209,0.3927,-0.0384,-0.1229,0.3995,-0.0377,-0.1217,0.3935,-0.0421,-0.1229,0.3998,-0.0422,-0.1169,0.4168,-0.0496,-0.1183,0.4124,-0.0486,-0.1188,0.4177,-0.0496,-0.1224,0.4337,-0.0373,-0.1231,0.436,-0.0317,-0.1203,0.4331,-0.0369,-0.1208,0.4308,-0.0402,-0.1211,0.4304,-0.0457,-0.1225,0.4311,-0.0412,-0.1191,0.4304,-0.0452,-0.121,0.4308,-0.0479,-0.1105,0.4244,-0.0293,-0.1151,0.4279,-0.0339,-0.1127,0.4256,-0.0278,-0.11,0.4148,-0.0353,-0.1088,0.4159,-0.0392,-0.1085,0.4163,-0.0391,-0.1249,0.4196,-0.0499,-0.1255,0.4149,-0.0472,-0.1266,0.4195,-0.0486,-0.1253,0.4317,-0.0428,-0.1001,0.2703,-0.0643,-0.1026,0.297,-0.0602,-0.1012,0.2962,-0.062,-0.1014,0.2702,-0.063,-0.1052,0.2325,-0.0554,-0.1091,0.2694,-0.0522,-0.1042,0.2333,-0.0615,-0.1056,0.2699,-0.0594,-0.093,0.1986,-0.067,-0.0972,0.235,-0.0648,-0.0924,0.1988,-0.0662,-0.0972,0.2349,-0.0629,-0.0884,0.1187,-0.0751,-0.0927,0.1464,-0.0719,-0.0902,0.1462,-0.072,-0.0996,0.2702,-0.0636,-0.1006,0.296,-0.0608,-0.0991,0.2699,-0.0625,-0.0902,0.1722,-0.0691,-0.0903,0.172,-0.0683,-0.0986,0.2348,-0.0657,-0.0951,0.1467,-0.073,-0.0979,0.1716,-0.0707,-0.094,0.1469,-0.0724,-0.0967,0.1719,-0.0706,-0.0993,0.1979,-0.0689,-0.1005,0.2345,-0.0664,-0.0977,0.1981,-0.0691,-0.0993,0.2348,-0.0667,-0.0937,0.1721,-0.0692,-0.0957,0.1981,-0.0673,-0.0906,0.1722,-0.0694,-0.0999,0.2685,-0.0546,-0.1,0.2683,-0.0534,-0.0933,0.2307,-0.0565,-0.0947,0.232,-0.0582,-0.1037,0.2935,-0.048,-0.0997,0.2682,-0.0519,-0.1036,0.294,-0.0495,-0.0973,0.2348,-0.0528,-0.1009,0.2649,-0.0497,-0.115,0.3916,-0.0379,-0.114,0.3717,-0.0401,-0.1144,0.3916,-0.0393,-0.1131,0.3718,-0.0415,-0.1119,0.3917,-0.0457,-0.1091,0.3717,-0.0483,-0.1118,0.392,-0.0472,-0.108,0.3715,-0.0501,-0.1047,0.3481,-0.0525,-0.1017,0.3224,-0.0556,-0.1021,0.3226,-0.0569,-0.1035,0.2944,-0.0519,-0.1067,0.2933,-0.0469,-0.111,0.3211,-0.0445,-0.1107,0.295,-0.0468,-0.1141,0.3214,-0.045,-0.1026,0.3223,-0.0537,-0.1024,0.2948,-0.0537,-0.1059,0.3218,-0.0515,-0.0897,0.1717,-0.0667,-0.0911,0.1993,-0.0631,-0.0904,0.1996,-0.0618,-0.1019,0.295,-0.0567,-0.1003,0.2693,-0.0602,-0.1013,0.2955,-0.0585,-0.1005,0.2688,-0.0574,-0.1146,0.3976,-0.0382,-0.1152,0.397,-0.0358,-0.105,0.3483,-0.0537,-0.1122,0.3986,-0.0464,-0.1128,0.3986,-0.0474,-0.0889,0.1449,-0.0653,-0.0895,0.1456,-0.0696,-0.0915,0.1704,-0.0612,-0.0972,0.0514,-0.072,-0.0969,0.0529,-0.0749,-0.0956,0.0536,-0.0713,-0.085,0.0847,-0.0837,-0.085,0.087,-0.0829,-0.0843,0.0861,-0.0736,-0.085,0.0842,-0.0748,-0.0873,0.0718,-0.0702,-0.0873,0.0746,-0.0732,-0.0865,0.0758,-0.0712,-0.0875,0.0729,-0.0671,-0.0935,0.0625,-0.065,-0.0949,0.0619,-0.0715,-0.0943,0.0634,-0.0696,-0.0942,0.0568,-0.0708,-0.0896,0.0705,-0.065,-0.0921,0.0673,-0.0641,-0.0918,0.0669,-0.0652,-0.0896,0.0721,-0.064,-0.0944,0.0554,-0.0699,-0.0957,0.0541,-0.0691,-0.0872,0.0883,-0.0624,-0.0861,0.0802,-0.067,-0.086,0.0908,-0.0672,-0.0885,0.0794,-0.0632,-0.0916,0.0579,-0.0827,-0.0937,0.0572,-0.0808,-0.0928,0.058,-0.0837,-0.0956,0.0548,-0.0803,-0.0922,0.06,-0.0775,-0.0942,0.0573,-0.078,-0.093,0.0584,-0.0794,-0.0896,0.0669,-0.0738,-0.0902,0.061,-0.0791,-0.0887,0.0673,-0.0751,-0.0847,0.0815,-0.0699,-0.0998,0.0543,-0.0822,-0.1006,0.0539,-0.0787,-0.1026,0.0596,-0.0788,-0.1044,0.0705,-0.0698,-0.1026,0.0692,-0.0656,-0.0984,0.079,-0.0658,-0.0986,0.0801,-0.0687,-0.0957,0.0541,-0.0756,-0.0945,0.0562,-0.0792,-0.1153,0.4279,-0.0271,-0.1218,0.4263,-0.0291,-0.1208,0.4335,-0.0298,-0.0998,0.1957,-0.0539,-0.1045,0.232,-0.0512,-0.102,0.1963,-0.0579,-0.0964,0.1972,-0.0544,-0.0927,0.1688,-0.058,-0.0939,0.1982,-0.0568,-0.093,0.1423,-0.0588,-0.0901,0.143,-0.061,-0.0886,0.1127,-0.0615,-0.0878,0.114,-0.0643,-0.0921,0.199,-0.0648,-0.1,0.1425,-0.0645,-0.0965,0.1138,-0.0663,-0.0958,0.116,-0.0712,-0.1002,0.143,-0.0681,-0.096,0.078,-0.0633,-0.0992,0.0687,-0.0639,-0.0935,0.1179,-0.0759,-0.0913,0.1188,-0.0771,-0.0917,0.0973,-0.0829,-0.0928,0.096,-0.0804,-0.0915,0.1125,-0.0616,-0.0926,0.0873,-0.0639,-0.09,0.0877,-0.0625,-0.094,0.1129,-0.0633,-0.0956,0.0852,-0.0827,-0.0914,0.0855,-0.0903,-0.1041,0.0729,-0.0765,-0.0991,0.0816,-0.0751,-0.0988,0.0767,-0.0844,-0.0984,0.0583,-0.0868,-0.0992,0.0616,-0.0863,-0.0971,0.0611,-0.089,-0.0908,0.0605,-0.086,-0.0885,0.0674,-0.0886,-0.0897,0.0606,-0.0845,-0.0886,0.0678,-0.0851,-0.0929,0.0646,-0.0724,-0.094,0.0626,-0.0741,-0.0934,0.0649,-0.0691,-0.0973,0.0599,-0.0627,-0.0997,0.0574,-0.0634,-0.0982,0.0515,-0.0683,-0.104,0.0558,-0.0715,-0.1017,0.0512,-0.0736,-0.1021,0.0511,-0.0692,-0.1033,0.0572,-0.065,-0.1013,0.0568,-0.064,-0.0998,0.051,-0.0684,-0.1076,0.3207,-0.0449,-0.1121,0.2968,-0.0507,-0.1142,0.3222,-0.0485,-0.1156,0.3715,-0.0389,-0.1135,0.3474,-0.0424,-0.1108,0.348,-0.0431,-0.1076,0.3465,-0.049,-0.1073,0.3211,-0.0475,-0.1092,0.3467,-0.0461,-0.1065,0.3479,-0.0508,-0.1189,0.3722,-0.0413,-0.1165,0.3482,-0.0433,-0.1179,0.3719,-0.04,-0.1119,0.4106,-0.0482,-0.1142,0.4158,-0.051,-0.1133,0.4211,-0.052,-0.1084,0.4183,-0.0508,-0.107,0.4218,-0.0444,-0.1073,0.4177,-0.0445,-0.1081,0.422,-0.0476,-0.1125,0.3985,-0.0452,-0.1122,0.4094,-0.0406,-0.1131,0.3983,-0.043,-0.1128,0.4147,-0.0311,-0.1113,0.4191,-0.0303,-0.1149,0.4149,-0.0287,-0.1087,0.4177,-0.0348,-0.108,0.42,-0.0393,-0.121,0.4191,-0.0508,-0.1221,0.4138,-0.049,-0.1149,0.4114,-0.0491,-0.1204,0.3998,-0.0468,-0.1113,0.4257,-0.051,-0.1201,0.4243,-0.0527,-0.1184,0.4284,-0.0513,-0.1173,0.423,-0.0514,-0.1142,0.4274,-0.0511,-0.1171,0.3918,-0.0364,-0.1195,0.3923,-0.0369,-0.117,0.3969,-0.0345,-0.1152,0.4075,-0.03,-0.1187,0.409,-0.0295,-0.1201,0.3978,-0.035,-0.1228,0.4119,-0.0322,-0.1204,0.4161,-0.0285,-0.1228,0.4221,-0.0294,-0.1233,0.417,-0.0301,-0.109,0.4238,-0.0332,-0.1095,0.4242,-0.0378,-0.1101,0.4269,-0.046,-0.1095,0.426,-0.0432,-0.1136,0.4281,-0.0434,-0.1122,0.4284,-0.0483,-0.1191,0.4305,-0.0393,-0.1197,0.4319,-0.0354,-0.121,0.4294,-0.0515,-0.1178,0.4304,-0.0481,-0.1216,0.4258,-0.0536,-0.1243,0.4213,-0.0517,-0.1285,0.4225,-0.0439,-0.1294,0.4259,-0.0416,-0.1281,0.4302,-0.0426,-0.129,0.4329,-0.0372,-0.1292,0.426,-0.0356,-0.128,0.433,-0.0341,-0.1256,0.4347,-0.0379,-0.1262,0.4272,-0.0503,-0.1295,0.4205,-0.0409,-0.1276,0.4207,-0.0434,-0.1154,0.4301,-0.0482,-0.1268,0.415,-0.0427,-0.114,0.4082,-0.0336,-0.1154,0.4221,-0.0512,-0.1127,0.409,-0.0376,-0.114,0.3982,-0.0406,-0.1123,0.3916,-0.0444,-0.1106,0.3717,-0.0462,-0.1151,0.3989,-0.0487,-0.1132,0.3915,-0.0417,-0.1117,0.3721,-0.0441,-0.1069,0.3487,-0.0532,-0.11,0.3489,-0.0525,-0.1046,0.3227,-0.0566,-0.1039,0.2677,-0.0489,-0.0918,0.0603,-0.0871,-0.0938,0.0578,-0.0846,-0.0935,0.078,-0.0625,-0.0877,0.0971,-0.0813,-0.0854,0.0873,-0.0881,-0.0902,0.119,-0.0767,-0.1009,0.1701,-0.0666,-0.0983,0.0531,-0.0764,-0.097,0.0542,-0.0811,-0.0953,0.0885,-0.0667,-0.094,0.0621,-0.0635,-0.0876,0.0712,-0.0679,-0.089,0.0685,-0.0692,-0.0926,0.0656,-0.0708,-0.0883,0.0684,-0.0763,-0.089,0.0622,-0.0803,-0.0886,0.0683,-0.081,-0.0891,0.0612,-0.0829,-0.0911,0.0591,-0.0807,-0.0961,0.0692,-0.0628,-0.0848,0.0845,-0.0885,-0.0862,0.0788,-0.0909,-0.0869,0.079,-0.092,-0.1027,0.3224,-0.0582,-0.0963,0.2336,-0.0604,-0.1021,0.1972,-0.0647,-0.1172,0.3991,-0.0483,-0.1189,0.373,-0.0445,-0.1168,0.3491,-0.0463,-0.115,0.4277,-0.0385,-0.1272,0.4212,-0.0495,-0.1133,0.3722,-0.05,-0.1132,0.3488,-0.0515,-0.1164,0.3726,-0.0486,-0.1196,0.3936,-0.0465,-0.1164,0.3927,-0.0482,-0.0878,0.0757,-0.0793,-0.0893,0.0674,-0.0899,-0.0987,0.0508,-0.0725,-0.0853,0.0809,-0.0723,-0.0946,0.0615,-0.0744,-0.0952,0.061,-0.073,-0.0952,0.0557,-0.0753,-0.0953,0.0924,-0.0735,-0.0869,0.0775,-0.086,-0.087,0.1161,-0.0686,-0.0879,0.1178,-0.0727,-0.0857,0.0935,-0.0719,-0.0871,0.0956,-0.0774,-0.1082,0.2693,-0.0485,-0.1009,0.233,-0.0517,-0.0921,0.0792,-0.0931,-0.0939,0.0678,-0.0915,-0.0995,0.0669,-0.0857,-0.1045,0.064,-0.0777,-0.1056,0.0615,-0.0705,-0.1268,0.4149,-0.0361,-0.1296,0.4202,-0.0358,-0.1171,0.4304,-0.0446});
			return r_fibula_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_fibula 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_fibula().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_fibula\" 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_fibula self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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