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

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] getl_rib2_geometry_5_22_coordIndex_2()
		{
			int[] value = {289,291,290,-1,293,15,294,-1,15,293,16,-1,295,186,188,-1,295,296,186,-1,297,17,298,-1,297,18,17,-1,299,171,300,-1,301,171,299,-1,175,302,173,-1,175,178,302,-1,303,304,305,-1,303,306,304,-1,194,106,307,-1,193,106,194,-1,268,308,309,-1,268,269,308,-1,269,43,310,-1,269,264,43,-1,311,35,37,-1,35,311,267,-1,312,309,308,-1,309,312,313,-1,312,146,267,-1,146,312,225,-1,265,314,208,-1,265,315,314,-1,205,316,266,-1,316,205,317,-1,266,28,181,-1,266,316,28,-1,182,315,265,-1,315,182,318,-1,29,316,263,-1,29,28,316,-1,200,14,198,-1,209,14,200,-1,207,317,205,-1,317,207,47,-1,318,32,38,-1,318,33,32,-1,208,48,206,-1,208,314,48,-1,141,73,319,-1,141,55,73,-1,64,138,140,-1,64,63,138,-1,228,74,260,-1,320,74,228,-1,262,250,321,-1,262,57,250,-1,54,140,139,-1,54,53,140,-1,321,202,262,-1,202,321,322,-1,261,237,323,-1,237,261,258,-1,258,56,259,-1,56,258,75,-1,71,255,256,-1,201,255,71,-1,262,59,57,-1,262,204,59,-1,324,325,249,-1,326,325,324,-1,201,271,255,-1,201,203,271,-1,142,227,231,-1,141,227,142,-1,327,136,328,-1,135,136,327,-1,62,253,76,-1,62,324,253,-1,329,77,254,-1,230,77,329,-1,320,72,74,-1,320,330,72,-1,325,322,321,-1,325,331,322,-1,261,252,251,-1,332,252,261,-1,52,323,53,-1,52,333,323,-1,333,254,332,-1,254,333,329,-1,80,185,78,-1,80,257,185,-1,144,334,335,-1,144,336,334,-1,143,31,337,-1,32,31,143,-1,103,338,104,-1,103,339,338,-1,118,114,340,-1,118,240,114,-1,341,246,109,-1,247,246,341,-1,117,245,116,-1,117,273,245,-1,288,342,343,-1,288,272,342,-1,344,345,346,-1,344,347,345,-1,24,344,22,-1,344,24,348,-1,84,349,83,-1,84,347,349,-1,350,351,352,-1,351,350,353,-1,244,354,355,-1,354,244,217,-1,352,112,355,-1,112,352,351,-1,217,107,108,-1,217,244,107,-1,232,350,27,-1,232,346,350,-1,190,242,356,-1,242,190,307,-1,243,109,246,-1,243,110,109,-1,83,357,248,-1,349,357,83,-1,241,154,153,-1,195,154,241,-1,326,331,325,-1,327,331,326,-1,343,86,98,-1,343,341,86,-1,239,79,238,-1,239,80,79,-1,65,237,259,-1,65,64,237,-1,286,238,79,-1,238,286,358,-1,183,309,359,-1,268,309,183,-1,360,221,223,-1,221,360,199,-1,173,187,189,-1,173,361,187,-1,172,234,362,-1,172,235,234,-1,218,363,233,-1,218,170,363,-1,364,26,365,-1,23,26,364,-1,345,339,353,-1,345,338,339,-1,142,333,52,-1,329,333,142,-1,337,270,282,-1,270,337,31,-1,331,328,330,-1,327,328,331,-1,366,285,359,-1,285,366,335,-1,367,222,225,-1,367,223,222,-1,366,311,145,-1,366,313,311,-1,336,68,334,-1,70,68,336,-1,260,229,228,-1,69,229,260,-1,368,214,369,-1,214,368,370,-1,368,221,120,-1,368,224,221,-1,222,371,147,-1,371,222,224,-1,369,287,371,-1,369,284,287,-1,372,5,373,-1,5,372,3,-1,220,374,283,-1,220,211,374,-1,219,375,210,-1,219,376,375,-1,377,375,376,-1,375,377,378,-1,379,132,134,-1,379,215,132,-1,365,166,165,-1,26,166,365,-1,111,87,88,-1,113,87,111,-1,215,153,155,-1,215,379,153,-1,157,169,168,-1,159,169,157,-1,380,163,20,-1,163,380,161,-1,301,305,304,-1,305,301,299,-1,300,20,299,-1,300,380,20,-1,304,235,301,-1,304,130,235,-1,381,173,302,-1,381,361,173,-1,214,381,212,-1,214,370,381,-1,382,6,212,-1,382,4,6,-1,383,219,275,-1,219,383,376,-1,283,179,220,-1,179,283,177,-1,179,384,274,-1,176,384,179,-1,126,385,124,-1,126,386,385,-1,306,130,304,-1,306,128,130,-1,19,383,387,-1,21,383,19,-1,274,303,387,-1,303,274,384,-1,18,374,211,-1,297,374,18,-1,296,372,373,-1,295,372,296,-1,14,11,180,-1,14,12,11,-1,46,209,41,-1,209,46,13,-1,264,40,43,-1,264,263,40,-1,255,50,51,-1,255,271,50,-1,259,58,65,-1,259,56,58,-1,200,360,42,-1,360,200,199,-1,119,198,197,-1,119,121,198,-1,125,298,17,-1,125,236,298,-1,129,16,293,-1,129,123,16,-1,388,234,127,-1,389,234,388,-1,291,363,362,-1,289,363,291,-1,279,233,276,-1,279,133,233,-1,281,131,280,-1,281,364,131,-1,243,356,242,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=3 */
		private int[] getl_rib2_geometry_5_22_coordIndex_3()
		{
			int[] value = {356,243,357,-1,154,278,152,-1,278,154,196,-1,158,290,156,-1,290,158,277,-1,292,160,162,-1,390,160,292,-1,375,391,294,-1,375,378,391,-1,294,210,375,-1,294,15,210,-1,390,378,160,-1,391,378,390,-1,292,156,290,-1,292,162,156,-1,277,152,278,-1,277,158,152,-1,191,307,190,-1,191,194,307,-1,349,356,357,-1,348,356,349,-1,191,364,281,-1,191,23,364,-1,280,133,279,-1,280,131,133,-1,276,363,289,-1,276,233,363,-1,389,362,234,-1,291,362,389,-1,127,293,388,-1,127,129,293,-1,123,17,16,-1,123,125,17,-1,236,186,298,-1,236,189,186,-1,264,183,184,-1,264,268,183,-1,257,239,256,-1,239,257,80,-1,295,150,372,-1,180,150,295,-1,373,297,296,-1,373,374,297,-1,151,10,2,-1,151,11,10,-1,275,387,383,-1,274,387,275,-1,305,387,303,-1,305,19,387,-1,386,128,306,-1,126,128,386,-1,176,386,384,-1,176,385,386,-1,220,275,219,-1,179,275,220,-1,4,177,283,-1,177,4,382,-1,376,21,377,-1,376,383,21,-1,175,124,385,-1,175,174,124,-1,178,382,302,-1,178,177,382,-1,122,381,370,-1,381,122,361,-1,302,212,381,-1,302,382,212,-1,172,301,235,-1,171,301,172,-1,170,168,167,-1,170,218,168,-1,167,380,300,-1,167,169,380,-1,19,299,20,-1,299,19,305,-1,377,20,163,-1,21,20,377,-1,161,169,159,-1,161,380,169,-1,379,241,153,-1,379,165,241,-1,26,354,166,-1,26,25,354,-1,134,165,379,-1,365,165,134,-1,378,163,160,-1,378,377,163,-1,162,159,156,-1,162,161,159,-1,283,373,5,-1,283,374,373,-1,3,150,149,-1,3,372,150,-1,284,214,213,-1,214,284,369,-1,147,287,148,-1,371,287,147,-1,224,369,371,-1,224,368,369,-1,120,370,368,-1,370,120,122,-1,145,37,39,-1,311,37,145,-1,337,70,336,-1,337,282,70,-1,72,319,73,-1,319,330,328,-1,72,330,319,-1,69,139,67,-1,69,260,139,-1,145,335,366,-1,145,144,335,-1,313,359,309,-1,359,313,366,-1,358,334,68,-1,358,286,334,-1,1,137,148,-1,1,49,137,-1,249,253,324,-1,249,252,253,-1,365,131,364,-1,365,134,131,-1,170,362,363,-1,170,172,362,-1,123,128,126,-1,129,128,123,-1,119,361,122,-1,187,361,119,-1,310,223,367,-1,310,360,223,-1,359,78,183,-1,285,78,359,-1,114,351,340,-1,114,112,351,-1,342,115,247,-1,342,117,115,-1,246,357,243,-1,357,246,248,-1,105,307,106,-1,105,242,307,-1,356,24,190,-1,356,348,24,-1,25,355,354,-1,355,25,352,-1,346,353,350,-1,346,345,353,-1,355,113,244,-1,355,112,113,-1,340,353,339,-1,340,351,353,-1,27,352,25,-1,352,27,350,-1,348,347,344,-1,347,348,349,-1,22,346,232,-1,22,344,346,-1,347,338,345,-1,347,84,338,-1,90,240,118,-1,102,240,90,-1,342,341,343,-1,342,247,341,-1,104,96,95,-1,104,82,96,-1,102,100,99,-1,102,101,100,-1,288,98,97,-1,288,343,98,-1,272,117,342,-1,272,273,117,-1,91,94,89,-1,94,91,95,-1,86,109,88,-1,109,86,341,-1,240,87,114,-1,240,85,87,-1,103,340,339,-1,103,118,340,-1,84,104,338,-1,82,104,84,-1,143,336,144,-1,337,336,143,-1,335,286,285,-1,286,335,334,-1,8,257,51,-1,8,185,257,-1,332,253,252,-1,332,254,253,-1,63,358,138,-1,63,238,358,-1,323,332,261,-1,333,332,323,-1,322,330,320,-1,330,322,331,-1,74,55,54,-1,55,74,73,-1,61,327,326,-1,61,135,327,-1,328,226,319,-1,136,226,328,-1,231,329,142,-1,231,230,329,-1,66,256,239,-1,66,71,256,-1,270,203,229,-1,270,271,203,-1,68,138,358,-1,138,68,67,-1,69,282,229,-1,69,70,282,-1,62,326,324,-1,61,326,62,-1,249,321,250,-1,325,321,249,-1,71,204,201,-1,204,71,59,-1,75,250,57,-1,250,75,251,-1,202,320,228,-1,320,202,322,-1,140,323,237,-1,323,140,53,-1,319,227,141,-1,227,319,226,-1,182,33,318,-1,33,182,9,-1,36,48,314,-1,36,49,48,-1,47,40,317,-1,41,40,47,-1,45,47,207,-1,46,47,45,-1,181,30,7,-1,28,30,181,-1,209,42,41,-1,209,200,42,-1,310,42,360,-1,310,43,42,-1,38,315,318,-1,34,315,38,-1,317,263,316,-1,263,317,40,-1,208,266,265,-1,266,208,205,-1,34,314,315,-1,34,36,314,-1,225,308,367,-1,312,308,225,-1,313,267,311,-1,267,313,312,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=4 */
		private int[] getl_rib2_geometry_5_22_coordIndex_4()
		{
			int[] value = {269,367,308,-1,269,310,367,-1,33,50,31,-1,33,9,50,-1,217,166,354,-1,217,164,166,-1,165,216,241,-1,165,164,216,-1,384,306,303,-1,384,386,306,-1,178,385,176,-1,175,385,178,-1,167,171,170,-1,171,167,300,-1,188,180,295,-1,180,188,197,-1,298,296,297,-1,296,298,186,-1,294,388,293,-1,388,294,391,-1,389,391,390,-1,389,388,391,-1,389,292,291,-1,389,390,292,-1,94,245,89,-1,245,94,93,-1,6,149,213,-1,149,6,3,-1,284,2,287,-1,2,284,151,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='l_rib2_geometry' coordIndex field, scene-graph level=5, element #22, 3120 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_rib2_geometry_5_22_coordIndex()
		{
			MFInt32 l_rib2_geometry_5_22_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getl_rib2_geometry_5_22_coordIndex_1()))
				.append(new MFInt32(getl_rib2_geometry_5_22_coordIndex_2()))
				.append(new MFInt32(getl_rib2_geometry_5_22_coordIndex_3()))
				.append(new MFInt32(getl_rib2_geometry_5_22_coordIndex_4()));
			return l_rib2_geometry_5_22_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='l_rib2_coordinate' point field, scene-graph level=6, element #22, 1176 total numbers made up of 392 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_rib2_coordinate_6_22_point()
		{
			MFVec3f l_rib2_coordinate_6_22_point = new MFVec3f(new double[] {0.0406,1.4943,-0.0704,0.0405,1.4954,-0.0703,0.0481,1.4933,-0.0737,0.0824,1.4709,-0.0695,0.0935,1.462,-0.062,0.0938,1.4604,-0.0624,0.0829,1.4724,-0.0688,0.0317,1.4919,-0.0609,0.0312,1.4913,-0.0591,0.0299,1.4929,-0.0604,0.0478,1.4907,-0.0736,0.0575,1.4864,-0.0748,0.0578,1.4864,-0.0738,0.0489,1.49,-0.0708,0.0585,1.4865,-0.071,0.1102,1.4396,-0.0397,0.1074,1.4401,-0.0379,0.1039,1.4456,-0.0435,0.106,1.4451,-0.0456,0.1152,1.4322,-0.025,0.1155,1.4265,-0.0163,0.1169,1.4311,-0.0253,0.0529,1.4191,0.0368,0.0616,1.4187,0.0339,0.0524,1.4184,0.0365,0.0561,1.4183,0.0396,0.0628,1.4193,0.0353,0.0546,1.4197,0.0382,0.0336,1.4907,-0.0627,0.0351,1.4901,-0.0618,0.0335,1.491,-0.0613,0.0253,1.4942,-0.0566,0.0294,1.4948,-0.06,0.0296,1.4938,-0.0602,0.0326,1.4953,-0.0643,0.0347,1.4977,-0.0656,0.0342,1.4955,-0.0665,0.033,1.4973,-0.0641,0.0307,1.4953,-0.0621,0.031,1.4972,-0.0625,0.0382,1.4894,-0.0651,0.04,1.4899,-0.0664,0.0425,1.489,-0.0637,0.0407,1.4891,-0.0624,0.041,1.4921,-0.0701,0.042,1.4911,-0.0691,0.0423,1.4905,-0.0682,0.0387,1.4906,-0.0682,0.036,1.4945,-0.0692,0.0358,1.4959,-0.0687,0.0257,1.4928,-0.057,0.0273,1.4902,-0.0562,0.0158,1.4934,-0.0413,0.0172,1.494,-0.0401,0.0174,1.4963,-0.0446,0.0159,1.4944,-0.0449,0.0178,1.4845,-0.0438,0.0176,1.4841,-0.0471,0.0197,1.4858,-0.0468,0.0193,1.485,-0.0483,0.0141,1.4901,-0.0446,0.0145,1.489,-0.0457,0.0145,1.4882,-0.0451,0.0218,1.4929,-0.044,0.0192,1.4915,-0.0413,0.02,1.4882,-0.0439,0.0227,1.4895,-0.046,0.02,1.4963,-0.0465,0.0228,1.4964,-0.049,0.0195,1.496,-0.0499,0.0212,1.4966,-0.0513,0.022,1.4867,-0.05,0.0158,1.4934,-0.0486,0.0159,1.4943,-0.0476,0.0173,1.4955,-0.0485,0.0171,1.4832,-0.0426,0.0145,1.4883,-0.0439,0.0142,1.4891,-0.043,0.0344,1.4921,-0.0537,0.0296,1.4937,-0.0503,0.0302,1.4915,-0.0509,0.0477,1.4166,0.0391,0.0476,1.4172,0.0394,0.0473,1.4168,0.0384,0.0476,1.4179,0.0389,0.0521,1.4103,0.0456,0.0521,1.4084,0.0457,0.0526,1.4105,0.046,0.053,1.4081,0.0461,0.0511,1.4152,0.0412,0.0513,1.4158,0.0415,0.0505,1.4171,0.0407,0.0513,1.4149,0.0415,0.0506,1.4158,0.0404,0.0508,1.4158,0.0408,0.0502,1.4175,0.0401,0.0497,1.4173,0.0397,0.0529,1.4116,0.0429,0.0541,1.4099,0.0443,0.0538,1.4109,0.0442,0.0526,1.4122,0.0427,0.0519,1.4134,0.0423,0.0522,1.4137,0.043,0.0486,1.4181,0.0408,0.0482,1.4177,0.0403,0.0572,1.408,0.0427,0.0602,1.4085,0.0413,0.0578,1.4087,0.0433,0.061,1.4089,0.0418,0.0526,1.4073,0.0454,0.0544,1.408,0.044,0.0551,1.4086,0.0449,0.053,1.4145,0.0438,0.0545,1.4109,0.0447,0.0515,1.4138,0.0447,0.0482,1.4113,0.0404,0.0492,1.4168,0.0391,0.0502,1.4123,0.0406,0.0496,1.417,0.0423,0.0707,1.4805,-0.0627,0.0612,1.4887,-0.0626,0.0605,1.487,-0.0637,0.071,1.4819,-0.0614,0.0976,1.4443,-0.0335,0.0959,1.4504,-0.0388,0.0958,1.4486,-0.0383,0.0984,1.4456,-0.0337,0.1003,1.4372,-0.024,0.1001,1.4412,-0.0282,0.0991,1.4405,-0.0288,0.1014,1.4382,-0.0237,0.079,1.4184,0.0243,0.0907,1.4199,0.0181,0.0895,1.4188,0.0172,0.0804,1.4192,0.0253,0.0145,1.4898,-0.0463,0.0144,1.4909,-0.0463,0.0364,1.4981,-0.0672,0.0209,1.4947,-0.0434,0.0183,1.4966,-0.0448,0.0179,1.4943,-0.0404,0.0151,1.4933,-0.0449,0.0145,1.4927,-0.0427,0.0291,1.4958,-0.0598,0.03,1.4985,-0.059,0.0323,1.4992,-0.0608,0.0375,1.4995,-0.0649,0.0424,1.4993,-0.0672,0.0417,1.4977,-0.0688,0.071,1.4806,-0.0741,0.0704,1.4786,-0.0741,0.0581,1.489,-0.0751,0.1004,1.4105,0.0182,0.0915,1.4098,0.0266,0.0894,1.4097,0.0253,0.1021,1.4108,0.0189,0.1152,1.4151,-0.0011,0.111,1.4128,0.01,0.1097,1.4122,0.0094,0.1158,1.4159,-0.001,0.119,1.4221,-0.018,0.1185,1.42,-0.0099,0.1182,1.4189,-0.0105,0.1195,1.423,-0.0172,0.0674,1.4132,0.0381,0.0746,1.4143,0.0338,0.0663,1.415,0.0379,0.1094,1.4216,-0.0007,0.1047,1.4177,0.0092,0.1114,1.4199,-0.0008,0.102,1.4263,-0.0009,0.1066,1.4283,-0.0091,0.1032,1.43,-0.0096,0.087,1.464,-0.0509,0.0924,1.4562,-0.0444,0.0957,1.4566,-0.0463,0.1039,1.4487,-0.0412,0.1011,1.4548,-0.052,0.0985,1.4565,-0.0484,0.107,1.4482,-0.0459,0.0711,1.4792,-0.0687,0.0319,1.4916,-0.0623,0.0305,1.4929,-0.0613,0.0387,1.4916,-0.0563,0.0373,1.4896,-0.0598,0.033,1.4899,-0.0568,0.0904,1.4607,-0.0559,0.0785,1.4728,-0.0584,0.0801,1.471,-0.0618,0.0871,1.4626,-0.051,0.055,1.4129,0.0376,0.063,1.4137,0.0337,0.0731,1.4115,0.0311,0.0685,1.409,0.0377,0.0655,1.4109,0.0352,0.0765,1.4094,0.0326,0.085,1.4126,0.0246,0.0711,1.4789,-0.0663,0.0593,1.4862,-0.0683,0.052,1.4901,-0.0627,0.0505,1.4886,-0.0667,0.0207,1.4885,-0.0517,0.0175,1.4897,-0.0517,0.0194,1.4909,-0.0525,0.0184,1.4866,-0.0499,0.0355,1.491,-0.0672,0.0364,1.4929,-0.0694,0.0375,1.4917,-0.0693,0.0346,1.4926,-0.0667,0.0494,1.4892,-0.0699,0.1132,1.4385,-0.0427,0.108,1.4439,-0.0487,0.0829,1.4749,-0.0655,0.0715,1.4822,-0.0732,0.0722,1.4844,-0.0703,0.0971,1.4162,0.019,0.0695,1.4093,0.0382,0.0601,1.4113,0.0422,0.0986,1.4221,0.0092,0.1145,1.4392,-0.0423,0.1088,1.4456,-0.0484,0.0518,1.4933,-0.0622,0.0439,1.4985,-0.0634,0.0452,1.4955,-0.0595,0.0505,1.497,-0.0654,0.0389,1.4997,-0.0612,0.0144,1.4914,-0.0455,0.0145,1.4917,-0.0446,0.017,1.4936,-0.0514,0.0188,1.4942,-0.0516,0.0143,1.4906,-0.0433,0.0143,1.4914,-0.0437,0.0537,1.4195,0.0374,0.0967,1.4211,0.008,0.1012,1.4334,-0.0173,0.1027,1.434,-0.0167,0.0921,1.4553,-0.0446,0.0174,1.4897,-0.0379,0.0251,1.4936,-0.047,0.026,1.4904,-0.048,0.0511,1.4136,0.0445,0.0778,1.4095,0.0342,0.0553,1.4087,0.041,0.0524,1.4083,0.0419,0.0575,1.411,0.0436,0.0506,1.4156,0.0403,0.0502,1.4077,0.0428,0.05,1.408,0.0432,0.0482,1.4108,0.0401,0.0159,1.4851,-0.0461,0.0169,1.4842,-0.0466,0.0166,1.4834,-0.0426,0.0159,1.4847,-0.0428,0.015,1.4865,-0.0431,0.0147,1.488,-0.0414,0.0231,1.4895,-0.0533,0.0248,1.488,-0.0514,0.0291,1.4891,-0.0538,0.017,1.4849,-0.0386,0.018,1.4863,-0.0407,0.0179,1.4959,-0.049,0.0163,1.4853,-0.039,0.0176,1.4862,-0.0495,0.0366,1.4895,-0.0635,0.039,1.4893,-0.0611,0.0328,1.4926,-0.064,0.0338,1.491,-0.0648,0.0357,1.4993,-0.0639,0.0402,1.4914,-0.0571,0.0418,1.4913,-0.0578,0.0212,1.4935,-0.0533,0.0216,1.4921,-0.0539,0.0521,1.4111,0.0424,0.051,1.4129,0.0412,0.1101,1.443,-0.0388,0.112,1.4419,-0.0398,0.1023,1.4166,0.0084,0.1054,1.4152,0.009,0.0951,1.4139,0.0177,0.0934,1.4151,0.0173,0.0829,1.4141,0.0241,0.0708,1.414,0.0305,0.0207,1.4949,-0.0526,0.1019,1.453,-0.0552,0.0588,1.4913,-0.0742,0.0333,1.4966,-0.053,0.0288,1.4964,-0.05,0.0489,1.4958,-0.0723,0.0529,1.411,0.043,0.1079,1.4196,-0.002,0.1103,1.4183,-0.0017,0.1109,1.4228,-0.0098,0.1134,1.4219,-0.01,0.1103,1.4356,-0.0324,0.1135,1.4347,-0.0332,0.0811,1.4706,-0.0638,0.0916,1.4604,-0.0578,0.0996,1.4519,-0.0514,0.0978,1.4527,-0.0498,0.1114,1.4298,-0.0164,0.1117,1.4255,-0.0089,0.1072,1.4319,-0.0165,0.0922,1.4646,-0.0545,0.1093,1.4389,-0.0299,0.1055,1.4366,-0.0238,0.1108,1.4345,-0.0238,0.1041,1.4403,-0.029,0.0579,1.4095,0.0399,0.0399,1.4961,-0.0566,0.0386,1.4963,-0.0558,0.0433,1.4912,-0.0586,0.0341,1.4992,-0.0624,0.0374,1.4995,-0.0604,0.0359,1.4995,-0.0595,0.0343,1.4941,-0.0666,0.0326,1.4939,-0.064,0.0352,1.4901,-0.0647,0.0368,1.4901,-0.0665,0.0304,1.494,-0.0614,0.0149,1.4927,-0.0465,0.0163,1.4933,-0.0508,0.017,1.4865,-0.0492,0.0169,1.4895,-0.0511,0.0169,1.4902,-0.0383,0.0148,1.4867,-0.0454,0.0158,1.4872,-0.048,0.0149,1.488,-0.0467,0.0149,1.4895,-0.0479,0.0147,1.4916,-0.048,0.0146,1.4912,-0.0417,0.0156,1.4926,-0.0496,0.016,1.4895,-0.0497,0.0155,1.4865,-0.04,0.0154,1.4909,-0.0403,0.0271,1.4978,-0.0527,0.0314,1.4986,-0.0563,0.0256,1.4978,-0.0552,0.0249,1.4956,-0.0563,0.0482,1.4186,0.0397,0.0488,1.4189,0.0407,0.0498,1.4175,0.0425,0.052,1.4077,0.0454,0.0517,1.4092,0.0429,0.0539,1.4092,0.0443,0.0509,1.4187,0.0374,0.0495,1.4189,0.039,0.0515,1.4193,0.0381,0.0489,1.4183,0.0382,0.0504,1.4179,0.0371,0.0485,1.4174,0.0378,0.0524,1.4195,0.0391,0.0514,1.418,0.0415,0.0537,1.4182,0.0405,0.0503,1.4193,0.04,0.0585,1.415,0.0411,0.0557,1.4148,0.0425,0.0522,1.4123,0.0383,0.0497,1.4114,0.0393,0.0246,1.4952,-0.0466,0.0372,1.4965,-0.055,0.0453,1.4909,-0.0597,0.0789,1.4742,-0.0577,0.101,1.4292,-0.0104,0.1,1.4254,-0.002,0.0682,1.4184,0.0307,0.0699,1.4191,0.0315,0.0344,1.4995,-0.0586,0.0412,1.496,-0.0574,0.0599,1.4929,-0.067,0.0595,1.4929,-0.0716,0.0723,1.4845,-0.0655,0.0492,1.4977,-0.0698,0.0815,1.4694,-0.0696,0.0937,1.4587,-0.0622,0.1016,1.451,-0.0553,0.1183,1.4325,-0.0352,0.1192,1.4334,-0.0351,0.1202,1.4281,-0.0271,0.1195,1.4275,-0.0278,0.087,1.4152,0.0265,0.1144,1.4232,-0.0092,0.0813,1.4761,-0.0608,0.0937,1.4634,-0.0584,0.1164,1.4354,-0.0324,0.1067,1.4439,-0.0358,0.1,1.4494,-0.0398,0.102,1.4454,-0.0352,0.114,1.4368,-0.0313,0.1125,1.4309,-0.0264,0.1126,1.4263,-0.017,0.1149,1.4251,-0.0171,0.1148,1.4298,-0.0266});
			return l_rib2_coordinate_6_22_point;
		}

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

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

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