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

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] getl_rib7_geometry_5_22_coordIndex_2()
		{
			int[] value = {73,78,74,-1,78,76,74,-1,196,237,266,-1,166,69,68,-1,166,253,69,-1,67,255,274,-1,67,69,255,-1,275,55,66,-1,66,67,275,-1,65,68,66,-1,65,165,68,-1,64,165,65,-1,64,61,165,-1,276,63,62,-1,276,277,63,-1,278,279,280,-1,278,281,279,-1,274,255,281,-1,281,278,274,-1,56,275,282,-1,56,55,275,-1,54,60,52,-1,153,231,232,-1,232,233,153,-1,12,14,152,-1,152,51,12,-1,207,228,12,-1,34,29,37,-1,260,283,208,-1,16,111,3,-1,3,5,16,-1,15,111,16,-1,268,10,7,-1,7,284,268,-1,20,269,22,-1,269,285,22,-1,95,19,21,-1,15,224,23,-1,15,18,224,-1,224,18,225,-1,286,17,6,-1,6,8,286,-1,7,10,8,-1,10,9,8,-1,4,7,5,-1,7,6,5,-1,287,221,235,-1,287,288,221,-1,24,44,42,-1,24,23,44,-1,284,269,268,-1,269,284,285,-1,226,289,223,-1,226,225,289,-1,9,103,290,-1,9,11,103,-1,108,272,102,-1,108,270,272,-1,35,260,208,-1,35,39,260,-1,40,29,107,-1,29,40,37,-1,12,227,13,-1,12,228,227,-1,232,47,233,-1,47,232,135,-1,57,282,291,-1,57,56,282,-1,278,282,274,-1,282,278,291,-1,280,291,278,-1,291,280,59,-1,60,280,276,-1,59,280,60,-1,276,52,60,-1,276,62,52,-1,274,275,67,-1,275,274,282,-1,244,70,191,-1,181,70,244,-1,250,63,251,-1,250,61,63,-1,273,279,168,-1,273,277,279,-1,178,241,242,-1,241,178,177,-1,292,172,171,-1,292,252,172,-1,113,105,103,-1,113,100,105,-1,92,98,114,-1,94,98,92,-1,22,91,90,-1,91,22,285,-1,293,104,158,-1,104,293,106,-1,289,271,294,-1,271,289,28,-1,230,153,152,-1,153,230,231,-1,223,294,159,-1,294,223,289,-1,295,296,297,-1,298,296,295,-1,299,298,295,-1,299,140,298,-1,300,301,302,-1,301,300,303,-1,204,304,305,-1,204,203,304,-1,133,306,202,-1,133,302,306,-1,47,134,45,-1,47,135,134,-1,307,308,303,-1,307,263,308,-1,309,310,264,-1,309,143,310,-1,146,309,307,-1,309,146,145,-1,311,265,219,-1,157,265,311,-1,262,219,265,-1,262,220,219,-1,312,38,207,-1,312,259,38,-1,151,313,0,-1,256,313,151,-1,283,257,208,-1,283,258,257,-1,256,209,313,-1,256,213,209,-1,215,258,283,-1,258,215,212,-1,259,214,260,-1,259,216,214,-1,314,305,304,-1,305,314,315,-1,198,84,239,-1,198,85,84,-1,170,279,281,-1,170,168,279,-1,277,251,63,-1,273,251,277,-1,81,254,253,-1,176,254,81,-1,247,250,249,-1,247,164,250,-1,79,246,80,-1,79,247,246,-1,249,292,248,-1,249,252,292,-1,173,245,180,-1,173,174,245,-1,175,244,243,-1,175,82,244,-1,183,248,185,-1,183,246,248,-1,245,192,188,-1,245,243,192,-1,241,197,184,-1,197,241,87,-1,189,316,240,-1,189,190,316,-1,200,196,266,-1,200,195,196,-1,86,317,83,-1,86,240,317,-1,318,316,161,-1,319,316,318,-1,319,201,206,-1,318,201,319,-1,205,83,317,-1,205,120,83,-1,266,163,200,-1,163,266,261,-1,296,238,121,-1,238,296,320,-1,321,302,301,-1,302,321,306,-1,299,305,315,-1,305,299,295,-1,320,141,199,-1,320,142,141,-1,127,49,125,-1,127,150,49,-1,131,263,262,-1,263,131,308,-1,116,315,117,-1,116,299,315,-1,322,321,301,-1,322,45,321,-1,264,218,220,-1,218,264,310,-1,131,265,130,-1,262,265,131,-1,122,235,234,-1,122,124,235,-1,48,125,49,-1,128,125,48,-1,25,235,124,-1,287,235,25,-1,27,287,25,-1,222,287,27,-1,36,30,34,-1,36,323,30,-1,272,286,290,-1,271,286,272,-1,227,293,43,-1,227,229,293,-1,285,97,91,-1,97,285,284,-1,8,290,286,-1,290,8,9,-1,229,106,293,-1,229,107,106,-1,271,17,286,-1,28,17,271,-1,324,311,288,-1,325,311,324,-1,119,231,230,-1,231,119,118,-1,288,219,221,-1,311,219,288,-1,218,139,234,-1,310,139,218,-1,321,134,314,-1,45,134,321,-1,117,314,134,-1,117,315,314,-1,325,157,311,-1,325,156,157,-1,150,257,151,-1,150,127,257,-1,323,156,325,-1,323,36,156,-1,126,257,127,-1,126,208,257,-1,298,320,296,-1,320,298,142,-1,314,306,321,-1,314,304,306,-1,199,238,320,-1,199,236,238,-1,204,120,205,-1,204,297,120,-1,121,239,84,-1,239,121,238,-1,317,206,205,-1,319,206,317,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=3 */
		private int[] getl_rib7_geometry_5_22_coordIndex_3()
		{
			int[] value = {318,75,201,-1,76,75,318,-1,161,76,318,-1,161,74,76,-1,319,240,316,-1,317,240,319,-1,236,147,261,-1,236,199,147,-1,144,300,132,-1,146,300,144,-1,194,195,193,-1,195,194,196,-1,190,161,316,-1,190,162,161,-1,242,248,292,-1,248,242,185,-1,181,246,183,-1,181,80,246,-1,174,243,245,-1,174,175,243,-1,173,178,171,-1,178,173,180,-1,82,176,81,-1,175,176,82,-1,176,170,254,-1,169,170,176,-1,172,168,167,-1,172,273,168,-1,165,250,164,-1,250,165,61,-1,281,254,170,-1,254,281,255,-1,159,324,222,-1,159,160,324,-1,104,93,158,-1,105,93,104,-1,211,259,312,-1,259,211,216,-1,260,215,283,-1,260,214,215,-1,212,256,258,-1,256,212,213,-1,313,211,312,-1,313,209,211,-1,0,312,207,-1,313,312,0,-1,146,303,300,-1,307,303,146,-1,141,309,145,-1,143,309,141,-1,140,142,298,-1,140,137,142,-1,143,139,310,-1,143,137,139,-1,264,307,309,-1,307,264,263,-1,134,115,117,-1,134,136,115,-1,129,45,322,-1,129,46,45,-1,306,203,202,-1,203,306,304,-1,305,297,204,-1,297,305,295,-1,301,308,322,-1,308,301,303,-1,155,128,130,-1,155,125,128,-1,322,131,129,-1,322,308,131,-1,132,302,133,-1,302,132,300,-1,116,122,138,-1,116,115,122,-1,119,226,26,-1,119,149,226,-1,299,138,140,-1,299,116,138,-1,297,121,120,-1,296,121,297,-1,21,90,99,-1,21,22,90,-1,271,31,294,-1,271,270,31,-1,42,112,24,-1,110,112,42,-1,158,43,293,-1,158,109,43,-1,106,102,104,-1,106,108,102,-1,126,36,35,-1,156,36,126,-1,114,101,112,-1,114,96,101,-1,113,269,20,-1,113,267,269,-1,97,7,4,-1,97,284,7,-1,11,113,103,-1,113,11,267,-1,98,96,114,-1,98,89,96,-1,242,171,178,-1,242,292,171,-1,177,87,241,-1,177,88,87,-1,291,54,57,-1,291,59,54,-1,253,79,81,-1,166,79,253,-1,82,181,244,-1,80,181,82,-1,72,191,70,-1,72,162,191,-1,64,52,62,-1,64,53,52,-1,276,279,277,-1,280,279,276,-1,57,53,58,-1,53,57,54,-1,50,150,2,-1,50,49,150,-1,233,46,217,-1,46,233,47,-1,217,50,154,-1,217,48,50,-1,37,39,35,-1,39,37,40,-1,41,107,229,-1,107,41,40,-1,294,32,159,-1,294,31,32,-1,323,32,30,-1,323,160,32,-1,29,270,108,-1,29,31,270,-1,102,290,103,-1,102,272,290,-1,289,18,28,-1,225,18,289,-1,223,26,226,-1,26,223,27,-1,160,325,324,-1,323,325,160,-1,288,222,324,-1,287,222,288,-1,154,2,1,-1,154,50,2,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='l_rib7_geometry' coordIndex field, scene-graph level=5, element #22, 2592 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_rib7_geometry_5_22_coordIndex()
		{
			MFInt32 l_rib7_geometry_5_22_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getl_rib7_geometry_5_22_coordIndex_1()))
				.append(new MFInt32(getl_rib7_geometry_5_22_coordIndex_2()))
				.append(new MFInt32(getl_rib7_geometry_5_22_coordIndex_3()));
			return l_rib7_geometry_5_22_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='l_rib7_coordinate' point field, scene-graph level=6, element #22, 978 total numbers made up of 326 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_rib7_coordinate_6_22_point()
		{
			MFVec3f l_rib7_coordinate_6_22_point = new MFVec3f(new double[] {0.0325,1.3812,-0.1029,0.0343,1.382,-0.103,0.0352,1.3799,-0.1041,0.0184,1.3787,-0.0757,0.0165,1.3723,-0.0732,0.0177,1.376,-0.0765,0.0176,1.3749,-0.0772,0.016,1.3707,-0.074,0.0173,1.3735,-0.0774,0.0165,1.3711,-0.078,0.0157,1.3683,-0.075,0.0156,1.3686,-0.0775,0.0283,1.3809,-0.0967,0.0186,1.382,-0.0862,0.0286,1.3824,-0.096,0.02,1.3819,-0.0821,0.0187,1.3797,-0.0796,0.019,1.3791,-0.0803,0.0208,1.3812,-0.0827,0.0141,1.3721,-0.0797,0.0145,1.3704,-0.0785,0.014,1.3734,-0.0796,0.0142,1.3723,-0.078,0.02,1.3835,-0.0844,0.0185,1.3831,-0.0819,0.0381,1.3838,-0.0978,0.0354,1.3839,-0.0956,0.0357,1.3827,-0.0956,0.021,1.3798,-0.0829,0.0225,1.3728,-0.0875,0.0278,1.3741,-0.0923,0.0232,1.3755,-0.0867,0.03,1.3765,-0.0925,0.0287,1.3827,-0.0956,0.0271,1.3737,-0.0923,0.0312,1.3743,-0.0972,0.0315,1.3745,-0.0967,0.0268,1.3734,-0.0924,0.0293,1.3775,-0.0971,0.0309,1.3749,-0.0975,0.0266,1.374,-0.0929,0.0269,1.3776,-0.0938,0.0172,1.3835,-0.0831,0.0171,1.3816,-0.0844,0.0194,1.3837,-0.0852,0.0617,1.3757,-0.1161,0.0557,1.3765,-0.1142,0.0561,1.3775,-0.1134,0.0396,1.3764,-0.1067,0.0372,1.3779,-0.1048,0.0369,1.3794,-0.1048,0.033,1.3825,-0.1016,0.0952,1.2613,0.0698,0.096,1.2592,0.0686,0.0967,1.2602,0.0695,0.0999,1.2534,0.064,0.0995,1.2537,0.0657,0.0986,1.2556,0.0672,0.0983,1.2542,0.0655,0.0965,1.2603,0.0712,0.0955,1.2616,0.0708,0.095,1.2582,0.0674,0.0938,1.2611,0.0706,0.0933,1.2616,0.0704,0.095,1.2585,0.0687,0.0978,1.2525,0.0646,0.0992,1.252,0.0643,0.0993,1.2516,0.0654,0.0997,1.2511,0.0638,0.0999,1.251,0.066,0.1515,1.3061,-0.0251,0.1496,1.3223,-0.0533,0.1507,1.3223,-0.0537,0.1424,1.3358,-0.075,0.1436,1.3361,-0.0753,0.1079,1.3603,-0.1094,0.1263,1.3494,-0.0955,0.1078,1.3603,-0.1086,0.1255,1.349,-0.0954,0.1173,1.2633,0.0488,0.1394,1.2827,0.0166,0.1181,1.2638,0.0499,0.1406,1.284,0.0186,0.1311,1.3602,-0.0856,0.1288,1.3591,-0.0853,0.1422,1.3465,-0.0649,0.1457,1.347,-0.0655,0.1494,1.3323,-0.0413,0.1523,1.3334,-0.0408,0.0148,1.3769,-0.0766,0.0142,1.3742,-0.0774,0.0151,1.3729,-0.0752,0.0143,1.3787,-0.0813,0.015,1.375,-0.0819,0.0139,1.3778,-0.0805,0.0141,1.374,-0.0808,0.0152,1.3777,-0.0765,0.0162,1.3722,-0.0733,0.0142,1.3783,-0.0787,0.0141,1.3763,-0.0794,0.0146,1.3706,-0.0808,0.0174,1.3787,-0.0754,0.0193,1.3717,-0.0845,0.016,1.3694,-0.0809,0.0187,1.3718,-0.0845,0.015,1.3706,-0.0815,0.0205,1.3722,-0.0861,0.0221,1.373,-0.0875,0.0208,1.3721,-0.0859,0.0156,1.3808,-0.0829,0.0158,1.3823,-0.0812,0.0185,1.3811,-0.079,0.0166,1.3814,-0.0793,0.0156,1.3694,-0.0803,0.0145,1.3791,-0.0787,0.056,1.3838,-0.106,0.0642,1.3827,-0.1065,0.064,1.3828,-0.1083,0.038,1.3841,-0.0981,0.0347,1.3842,-0.0965,0.1101,1.3728,-0.0998,0.1084,1.3715,-0.0982,0.0558,1.3824,-0.1049,0.0429,1.3847,-0.1021,0.0437,1.384,-0.1008,0.0366,1.3741,-0.1037,0.0342,1.373,-0.1014,0.0356,1.3749,-0.1034,0.0395,1.3737,-0.1061,0.0557,1.3718,-0.1142,0.0398,1.3732,-0.1054,0.0559,1.3716,-0.1138,0.085,1.3663,-0.1162,0.0855,1.3667,-0.1171,0.0623,1.3797,-0.1133,0.057,1.3801,-0.1116,0.0566,1.3812,-0.1097,0.0684,1.3765,-0.1066,0.0642,1.3816,-0.1054,0.0635,1.3768,-0.1056,0.0691,1.3808,-0.1056,0.076,1.3715,-0.1093,0.0764,1.375,-0.1056,0.0678,1.3727,-0.1096,0.084,1.3686,-0.1127,0.0759,1.3702,-0.1107,0.0758,1.3705,-0.1136,0.0843,1.3688,-0.1102,0.0286,1.3837,-0.0938,0.029,1.3844,-0.0919,0.036,1.3779,-0.1044,0.0344,1.378,-0.1042,0.0336,1.3839,-0.1,0.0365,1.3832,-0.1021,0.0366,1.3809,-0.1043,0.0367,1.3738,-0.1031,0.0345,1.3738,-0.0997,0.0372,1.3741,-0.1022,0.0168,1.3769,-0.0836,0.0317,1.3787,-0.0924,0.0317,1.3766,-0.0943,0.1449,1.3373,-0.0745,0.1515,1.3236,-0.0524,0.1065,1.3628,-0.1072,0.103,1.2551,0.0603,0.0978,1.2524,0.0637,0.1038,1.2536,0.0601,0.1124,1.2743,0.0579,0.1003,1.2643,0.0704,0.1164,1.2707,0.0565,0.1029,1.2604,0.0686,0.1332,1.2952,0.0288,0.1102,1.2753,0.0577,0.1354,1.2952,0.029,0.1397,1.2914,0.0254,0.1409,1.288,0.0222,0.1185,1.2674,0.0534,0.1487,1.3211,-0.0174,0.1421,1.3093,0.004,0.1513,1.3201,-0.0175,0.144,1.3088,0.0043,0.146,1.2941,-0.0048,0.1485,1.3069,-0.0248,0.144,1.2953,-0.0046,0.1437,1.3151,-0.02,0.1419,1.3039,0.0007,0.1467,1.3095,-0.0229,0.155,1.3326,-0.0428,0.153,1.3163,-0.02,0.1543,1.3298,-0.0463,0.1528,1.3262,-0.0498,0.1533,1.3088,-0.0236,0.153,1.3128,-0.0214,0.1497,1.3231,-0.0524,0.1486,1.325,-0.0498,0.1396,1.3355,-0.0724,0.1383,1.3386,-0.0708,0.1478,1.3294,-0.0444,0.1386,1.3426,-0.0673,0.0842,1.3698,-0.1081,0.1257,1.3511,-0.0939,0.1088,1.3641,-0.1086,0.087,1.372,-0.1149,0.0874,1.3762,-0.1122,0.0875,1.3787,-0.1094,0.1113,1.3714,-0.1035,0.1103,1.368,-0.1065,0.0299,1.3801,-0.0999,0.0332,1.3731,-0.1014,0.0326,1.3789,-0.1028,0.0328,1.3772,-0.1021,0.0318,1.3784,-0.1019,0.0335,1.3763,-0.1029,0.0333,1.3777,-0.1032,0.0323,1.3759,-0.1008,0.033,1.3754,-0.102,0.0316,1.3773,-0.1007,0.0401,1.3788,-0.1063,0.0573,1.3747,-0.1073,0.0415,1.3736,-0.103,0.0569,1.3738,-0.1091,0.0423,1.3761,-0.1019,0.0361,1.379,-0.0964,0.0307,1.3815,-0.0919,0.0206,1.3834,-0.0848,0.0222,1.3816,-0.0848,0.0295,1.384,-0.0914,0.0187,1.3813,-0.0863,0.0283,1.3804,-0.0967,0.0206,1.3776,-0.0874,0.0341,1.384,-0.0982,0.0372,1.3837,-0.1,0.042,1.3828,-0.1036,0.041,1.381,-0.1052,0.0561,1.3775,-0.1041,0.0434,1.3787,-0.1005,0.1057,1.3639,-0.1024,0.1239,1.3528,-0.0893,0.106,1.3666,-0.0997,0.1249,1.3555,-0.0869,0.1471,1.3453,-0.0677,0.1455,1.3196,-0.018,0.1374,1.3056,0.0061,0.1479,1.3005,0.0012,0.1476,1.2962,-0.0024,0.1472,1.3041,0.0034,0.1379,1.2836,0.0166,0.1162,1.2646,0.0481,0.1353,1.2904,0.0228,0.1129,1.2703,0.0522,0.0989,1.2611,0.0642,0.0969,1.2653,0.068,0.1097,1.2744,0.0559,0.1038,1.2537,0.0623,0.1044,1.2566,0.0663,0.0989,1.2529,0.0695,0.0338,1.3779,-0.1039,0.0344,1.3749,-0.1035,0.034,1.3753,-0.1033,0.0305,1.3772,-0.0992,0.0317,1.3745,-0.0996,0.1059,1.3629,-0.1042,0.0557,1.3732,-0.1112,0.0613,1.3723,-0.1132,0.0622,1.3724,-0.1104,0.041,1.3734,-0.1041,0.1244,1.352,-0.091,0.0153,1.3686,-0.0774,0.0154,1.3681,-0.075,0.0149,1.3689,-0.0763,0.0214,1.3752,-0.0846,0.0213,1.3773,-0.0834,0.0206,1.3751,-0.0839,0.0976,1.2658,0.0702,0.0984,1.253,0.0694,0.0996,1.2532,0.0653,0.0941,1.2617,0.0723,0.0943,1.2625,0.0726,0.0973,1.2557,0.0712,0.0959,1.2606,0.0737,0.0955,1.26,0.0731,0.0977,1.2561,0.0722,0.099,1.2539,0.0676,0.033,1.3737,-0.1016,0.0158,1.3707,-0.074,0.0148,1.3712,-0.0757,0.0189,1.3762,-0.0806,0.0384,1.379,-0.0984,0.0381,1.3765,-0.0998,0.0227,1.3804,-0.0852,0.018,1.3737,-0.0808,0.098,1.2562,0.0695,0.1295,1.2928,0.0294,0.0187,1.3772,-0.0855,0.0236,1.3778,-0.0858,0.0781,1.381,-0.1061,0.0862,1.378,-0.104,0.087,1.3794,-0.1054,0.0777,1.3796,-0.1048,0.0691,1.3822,-0.1069,0.0761,1.3673,-0.1179,0.067,1.3686,-0.1182,0.0764,1.3678,-0.1188,0.067,1.3684,-0.1176,0.078,1.3774,-0.1137,0.078,1.3805,-0.1101,0.0773,1.3741,-0.1165,0.0675,1.3714,-0.1142,0.0611,1.3701,-0.116,0.0676,1.3713,-0.1114,0.0625,1.3733,-0.1088,0.0376,1.3744,-0.1009,0.0309,1.3793,-0.1015,0.0324,1.38,-0.1031,0.0686,1.3792,-0.1139,0.0688,1.3821,-0.1095,0.1462,1.3414,-0.0717,0.132,1.3595,-0.0875,0.1289,1.3526,-0.0938,0.1309,1.3569,-0.0906,0.0844,1.3732,-0.1048,0.0681,1.3749,-0.1169,0.061,1.3703,-0.1166,0.0316,1.375,-0.0957,0.0352,1.3761,-0.0976,0.0348,1.3743,-0.0987});
			return l_rib7_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_rib7 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_rib7().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_rib7\" 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_rib7 self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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