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

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

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=3 */
		private int[] getr_rib8_geometry_5_22_coordIndex_3()
		{
			int[] value = {116,258,276,-1,258,116,115,-1,0,111,113,-1,2,111,0,-1,233,1,234,-1,1,233,254,-1,166,273,167,-1,273,166,276,-1,118,272,274,-1,120,272,118,-1,193,53,182,-1,193,246,53,-1,93,4,67,-1,4,93,5,-1,100,198,107,-1,71,198,100,-1,278,52,106,-1,52,278,267,-1,171,196,3,-1,196,171,12,-1,269,253,270,-1,178,253,269,-1,199,98,105,-1,98,199,96,-1,279,149,151,-1,25,149,279,-1,257,281,256,-1,122,281,257,-1,134,73,80,-1,73,134,221,-1,238,66,69,-1,238,105,66,-1,65,173,172,-1,64,173,65,-1,260,228,265,-1,227,228,260,-1,225,36,63,-1,37,36,225,-1,83,236,219,-1,83,268,236,-1,72,47,46,-1,47,72,183,-1,271,267,278,-1,271,266,267,-1,12,24,196,-1,12,60,24,-1,62,42,39,-1,62,215,42,-1,265,11,237,-1,265,228,11,-1,23,44,43,-1,23,22,44,-1,33,261,175,-1,33,32,261,-1,172,67,65,-1,67,172,93,-1,20,249,248,-1,20,19,249,-1,259,226,18,-1,259,15,226,-1,14,37,225,-1,14,58,37,-1,117,277,258,-1,117,119,277,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='r_rib8_geometry' coordIndex field, scene-graph level=5, element #22, 2256 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_rib8_geometry_5_22_coordIndex()
		{
			MFInt32 r_rib8_geometry_5_22_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getr_rib8_geometry_5_22_coordIndex_1()))
				.append(new MFInt32(getr_rib8_geometry_5_22_coordIndex_2()))
				.append(new MFInt32(getr_rib8_geometry_5_22_coordIndex_3()));
			return r_rib8_geometry_5_22_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='r_rib8_coordinate' point field, scene-graph level=6, element #22, 852 total numbers made up of 284 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_rib8_coordinate_6_22_point()
		{
			MFVec3f r_rib8_coordinate_6_22_point = new MFVec3f(new double[] {-0.1111,1.2342,0.0579,-0.11,1.2354,0.0582,-0.1118,1.2349,0.0587,-0.0176,1.3462,-0.0857,-0.0167,1.3482,-0.0867,-0.0157,1.3463,-0.0833,-0.0284,1.3441,-0.0938,-0.0286,1.3431,-0.0928,-0.0294,1.3435,-0.0951,-0.0279,1.3409,-0.0893,-0.0323,1.3409,-0.0913,-0.0323,1.3408,-0.0922,-0.0258,1.3441,-0.0898,-0.0353,1.3416,-0.0981,-0.0371,1.3416,-0.1003,-0.034,1.3429,-0.0993,-0.0303,1.3479,-0.0991,-0.0295,1.3466,-0.0974,-0.0307,1.3464,-0.0981,-0.0413,1.3408,-0.1,-0.04,1.3405,-0.0978,-0.0416,1.3419,-0.0985,-0.0282,1.3477,-0.0969,-0.0283,1.3484,-0.0967,-0.0282,1.3445,-0.0933,-0.0882,1.3442,-0.1125,-0.0879,1.3481,-0.1095,-0.0675,1.354,-0.1092,-0.0655,1.3498,-0.1115,-0.1273,1.3183,-0.0823,-0.1442,1.3002,-0.0502,-0.1271,1.3157,-0.0834,-0.0182,1.3451,-0.0754,-0.0207,1.3455,-0.0811,-0.0186,1.342,-0.0759,-0.0213,1.3396,-0.0799,-0.0402,1.3452,-0.1056,-0.0393,1.3427,-0.1029,-0.0403,1.3426,-0.1032,-0.0358,1.351,-0.1052,-0.0331,1.3517,-0.1024,-0.0326,1.3511,-0.1021,-0.0368,1.3515,-0.105,-0.0298,1.3504,-0.0988,-0.0297,1.3499,-0.0988,-0.0356,1.3561,-0.0957,-0.0395,1.3586,-0.0995,-0.0395,1.3553,-0.098,-0.0357,1.3592,-0.098,-0.0363,1.3407,-0.0939,-0.0433,1.3425,-0.0959,-0.0427,1.3417,-0.0965,-0.0379,1.3418,-0.0931,-0.0538,1.344,-0.1006,-0.0534,1.3428,-0.1012,-0.0515,1.3424,-0.103,-0.0419,1.342,-0.0978,-0.0509,1.3417,-0.1037,-0.039,1.3413,-0.1016,-0.0375,1.3413,-0.0993,-0.0284,1.3431,-0.0922,-0.0351,1.3486,-0.1053,-0.0409,1.3492,-0.1074,-0.0349,1.3455,-0.1027,-0.0197,1.3591,-0.0857,-0.017,1.3568,-0.0881,-0.022,1.3602,-0.0922,-0.0159,1.3527,-0.0874,-0.0215,1.3501,-0.092,-0.0218,1.3548,-0.0924,-0.0431,1.358,-0.1026,-0.0385,1.3586,-0.101,-0.0437,1.3578,-0.1012,-0.1472,1.2652,-0.0056,-0.1466,1.2652,-0.0032,-0.142,1.2548,0.0149,-0.1276,1.3076,-0.0873,-0.1424,1.289,-0.0538,-0.1432,1.2899,-0.0537,-0.1278,1.3089,-0.0879,-0.1489,1.2643,-0.0033,-0.1435,1.2549,0.0158,-0.0639,1.3397,-0.107,-0.0852,1.336,-0.1088,-0.085,1.3336,-0.1101,-0.0646,1.3413,-0.1052,-0.0624,1.3415,-0.1113,-0.0846,1.329,-0.1125,-0.0856,1.336,-0.1139,-0.063,1.3372,-0.1095,-0.0172,1.3414,-0.0764,-0.0196,1.3386,-0.0824,-0.0178,1.342,-0.0829,-0.0152,1.3506,-0.0835,-0.0167,1.344,-0.076,-0.0168,1.3497,-0.0768,-0.0316,1.3599,-0.0963,-0.0276,1.3581,-0.093,-0.0271,1.36,-0.0943,-0.0316,1.3583,-0.0954,-0.0372,1.3559,-0.1022,-0.0393,1.3523,-0.1043,-0.041,1.3543,-0.1042,-0.0354,1.3528,-0.1018,-0.0234,1.3605,-0.0916,-0.0261,1.3599,-0.0949,-0.0329,1.3414,-0.0902,-0.0329,1.3562,-0.0996,-0.0318,1.3528,-0.099,-0.0291,1.352,-0.0978,-0.0387,1.3406,-0.096,-0.1132,1.2331,0.0584,-0.1123,1.2319,0.0564,-0.1118,1.2323,0.0574,-0.1144,1.2332,0.0573,-0.111,1.2382,0.0607,-0.1119,1.2373,0.0615,-0.1083,1.2397,0.0601,-0.1059,1.242,0.0609,-0.1076,1.2411,0.0609,-0.1061,1.2396,0.0596,-0.1152,1.2325,0.0556,-0.121,1.2392,0.0501,-0.1208,1.2366,0.0476,-0.0233,1.3394,-0.0831,-0.0242,1.3455,-0.0852,-0.0322,1.3486,-0.102,-0.1273,1.3074,-0.0864,-0.1058,1.3193,-0.1058,-0.1055,1.3193,-0.1047,-0.1202,1.2365,0.0466,-0.1105,1.2341,0.0548,-0.114,1.232,0.0544,-0.118,1.2394,0.0474,-0.1494,1.2721,-0.0212,-0.1512,1.276,-0.0206,-0.15,1.2673,0.001,-0.0494,1.3405,-0.1058,-0.049,1.3434,-0.1075,-0.1448,1.2925,-0.0526,-0.1295,1.3113,-0.088,-0.0619,1.344,-0.1125,-0.0635,1.337,-0.1082,-0.0503,1.3399,-0.1043,-0.1271,1.3102,-0.0858,-0.1264,1.3129,-0.0843,-0.1417,1.2936,-0.0515,-0.1419,1.2919,-0.0518,-0.0523,1.3517,-0.1083,-0.0876,1.3409,-0.1136,-0.1065,1.3257,-0.1082,-0.1071,1.3318,-0.1067,-0.1469,1.3068,-0.051,-0.1313,1.3245,-0.0832,-0.1322,1.3221,-0.0844,-0.1479,1.3021,-0.0499,-0.1471,1.2976,-0.0512,-0.1524,1.2813,-0.0186,-0.1519,1.2887,-0.0155,-0.152,1.2868,-0.0157,-0.1493,1.2769,0.0034,-0.1477,1.2791,0.0044,-0.1144,1.249,0.0538,-0.1288,1.2603,0.0376,-0.1169,1.2471,0.0537,-0.1302,1.2574,0.0375,-0.1106,1.2418,0.0628,-0.1082,1.2436,0.0619,-0.151,1.2887,-0.0151,-0.1463,1.3062,-0.0493,-0.1473,1.279,0.004,-0.02,1.3424,-0.0852,-0.016,1.353,-0.0827,-0.0186,1.3555,-0.0805,-0.0255,1.3519,-0.0865,-0.0217,1.3507,-0.0817,-0.0222,1.3552,-0.0834,-0.0248,1.3554,-0.0881,-0.0283,1.356,-0.091,-0.0242,1.3582,-0.09,-0.0444,1.3517,-0.0986,-0.0543,1.3537,-0.1037,-0.0544,1.3504,-0.1026,-0.0438,1.3547,-0.1,-0.0862,1.3425,-0.1079,-0.0879,1.3462,-0.1079,-0.1043,1.3328,-0.1028,-0.1066,1.3381,-0.1013,-0.1301,1.3247,-0.0822,-0.1072,1.3392,-0.1021,-0.0875,1.348,-0.1079,-0.0676,1.3524,-0.1068,-0.0671,1.3538,-0.1074,-0.0663,1.3483,-0.1063,-0.0205,1.3557,-0.0794,-0.021,1.359,-0.0854,-0.024,1.3462,-0.0903,-0.0267,1.3498,-0.0953,-0.0344,1.359,-0.099,-0.0306,1.3597,-0.0974,-0.0295,1.3562,-0.0976,-0.1075,1.3387,-0.1032,-0.1478,1.2733,0.0009,-0.1491,1.2826,-0.0181,-0.1283,1.2575,0.0339,-0.139,1.2697,0.0204,-0.1275,1.2604,0.0362,-0.1291,1.2536,0.0327,-0.1409,1.2572,0.0153,-0.1399,1.2637,0.0176,-0.1313,1.249,0.0316,-0.1133,1.249,0.0516,-0.1504,1.272,0.0023,-0.1442,1.2583,0.0179,-0.1424,1.2633,0.0202,-0.0413,1.3504,-0.1072,-0.1467,1.2765,-0.0199,-0.1471,1.2748,-0.0205,-0.1047,1.3235,-0.1047,-0.1045,1.3259,-0.1036,-0.1414,1.289,-0.0529,-0.1474,1.2723,-0.0216,-0.0637,1.3387,-0.1075,-0.0845,1.328,-0.1107,-0.0845,1.3279,-0.1117,-0.0362,1.3431,-0.1012,-0.0327,1.3459,-0.1001,-0.0313,1.3419,-0.0939,-0.0322,1.341,-0.0929,-0.0294,1.3463,-0.0883,-0.0294,1.3413,-0.0883,-0.1078,1.2365,0.0567,-0.1096,1.2333,0.0564,-0.1072,1.2364,0.0581,-0.1098,1.2338,0.0575,-0.146,1.2663,-0.002,-0.1042,1.3277,-0.1029,-0.0351,1.341,-0.0946,-0.026,1.3561,-0.0948,-0.0313,1.3466,-0.0896,-0.1306,1.3163,-0.087,-0.1318,1.2447,0.0324,-0.1327,1.2452,0.0335,-0.1065,1.3203,-0.1063,-0.0538,1.3566,-0.1064,-0.0543,1.356,-0.1045,-0.0651,1.3428,-0.1048,-0.0442,1.3483,-0.0973,-0.0386,1.341,-0.0988,-0.0405,1.3413,-0.102,-0.0491,1.3467,-0.1091,-0.0494,1.3481,-0.1092,-0.0623,1.3453,-0.1126,-0.032,1.3565,-0.0937,-0.1089,1.2376,0.0589,-0.1394,1.2698,0.0217,-0.1319,1.2529,0.0367,-0.133,1.249,0.0355,-0.11,1.2404,0.0619,-0.0319,1.3432,-0.0967,-0.0331,1.3419,-0.0956,-0.0186,1.3503,-0.0759,-0.0218,1.3387,-0.0849,-0.0363,1.3412,-0.0972,-0.0371,1.341,-0.0968,-0.0344,1.3412,-0.095,-0.04,1.352,-0.0962,-0.0392,1.3481,-0.0948,-0.0855,1.3376,-0.1082,-0.0292,1.3525,-0.0895,-0.0327,1.3524,-0.0917,-0.0361,1.3524,-0.0938,-0.1063,1.2402,0.0584,-0.1076,1.2423,0.0626,-0.1062,1.2431,0.0598,-0.1129,1.2377,0.0609,-0.1098,1.2409,0.0633,-0.1087,1.2413,0.0619,-0.0346,1.3474,-0.0917,-0.1079,1.3362,-0.1052,-0.1415,1.2665,0.0207,-0.1197,1.2431,0.0524,-0.1154,1.2431,0.0485,-0.1142,1.2462,0.0497});
			return r_rib8_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_rib8 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_rib8().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_rib8\" 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_rib8 self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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