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

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] getl_rib11_geometry_5_22_coordIndex_2()
		{
			int[] value = {227,228,126,-1,228,227,229,-1,230,187,127,-1,231,187,230,-1,185,172,189,-1,185,125,172,-1,174,224,175,-1,174,222,224,-1,189,124,190,-1,189,172,124,-1,72,52,230,-1,72,64,52,-1,44,188,23,-1,44,43,188,-1,130,84,18,-1,130,171,84,-1,183,76,85,-1,183,232,76,-1,169,131,133,-1,131,169,96,-1,92,170,90,-1,92,134,170,-1,182,31,226,-1,182,94,31,-1,97,181,233,-1,181,97,95,-1,232,132,234,-1,183,132,232,-1,47,228,129,-1,228,47,59,-1,45,226,86,-1,182,226,45,-1,235,158,157,-1,158,235,164,-1,111,140,114,-1,236,140,111,-1,237,238,239,-1,238,237,141,-1,167,162,165,-1,240,162,167,-1,163,241,242,-1,163,243,241,-1,146,244,138,-1,177,244,146,-1,178,245,246,-1,245,178,145,-1,213,218,247,-1,194,218,213,-1,240,163,162,-1,240,243,163,-1,227,176,180,-1,227,74,176,-1,72,127,70,-1,72,230,127,-1,60,46,187,-1,57,46,60,-1,229,180,117,-1,180,229,227,-1,115,35,116,-1,115,248,35,-1,76,129,77,-1,129,76,47,-1,90,130,91,-1,130,90,133,-1,89,179,165,-1,179,89,77,-1,240,249,243,-1,250,249,240,-1,167,250,240,-1,167,166,250,-1,164,99,158,-1,99,164,98,-1,250,160,249,-1,161,160,250,-1,110,164,235,-1,164,110,100,-1,163,157,156,-1,163,242,157,-1,249,155,251,-1,160,155,249,-1,111,235,252,-1,235,111,110,-1,253,242,120,-1,242,253,157,-1,251,6,254,-1,155,6,251,-1,114,103,113,-1,114,104,103,-1,253,255,252,-1,253,256,255,-1,137,122,254,-1,137,121,122,-1,140,104,114,-1,104,140,142,-1,256,257,255,-1,256,258,257,-1,258,259,257,-1,258,260,259,-1,139,146,138,-1,139,144,146,-1,237,143,141,-1,237,12,143,-1,259,261,262,-1,260,261,259,-1,262,106,263,-1,262,150,106,-1,246,261,178,-1,246,264,261,-1,148,247,245,-1,148,265,247,-1,8,265,148,-1,8,152,265,-1,265,213,247,-1,265,214,213,-1,152,214,265,-1,152,153,214,-1,216,107,149,-1,215,107,216,-1,264,218,217,-1,246,218,264,-1,147,245,145,-1,147,148,245,-1,264,262,261,-1,264,150,262,-1,260,178,261,-1,177,178,260,-1,259,263,239,-1,259,262,263,-1,219,144,139,-1,219,11,144,-1,258,177,260,-1,244,177,258,-1,239,257,259,-1,257,239,238,-1,219,137,5,-1,219,139,137,-1,244,256,119,-1,244,258,256,-1,255,238,236,-1,255,257,238,-1,5,254,6,-1,5,137,254,-1,120,256,253,-1,120,119,256,-1,252,236,111,-1,252,255,236,-1,241,254,122,-1,251,254,241,-1,252,157,253,-1,157,252,235,-1,16,113,103,-1,16,15,113,-1,243,251,241,-1,249,251,243,-1,161,166,81,-1,161,250,166,-1,34,81,166,-1,33,81,34,-1,184,92,93,-1,184,225,92,-1,234,48,232,-1,234,88,48,-1,118,77,128,-1,77,118,179,-1,248,32,35,-1,32,248,80,-1,88,233,181,-1,234,233,88,-1,73,80,248,-1,73,71,80,-1,59,126,228,-1,126,59,58,-1,41,248,115,-1,248,41,73,-1,187,56,60,-1,231,56,187,-1,224,37,175,-1,37,224,65,-1,217,150,264,-1,149,150,217,-1,246,247,218,-1,246,245,247,-1,119,138,244,-1,119,121,138,-1,242,122,120,-1,242,241,122,-1,236,141,140,-1,236,238,141,-1,154,239,263,-1,239,154,237,-1,108,263,106,-1,108,154,263,-1,107,151,109,-1,107,215,151,-1,112,100,110,-1,100,112,101,-1,131,234,132,-1,131,233,234,-1,117,128,229,-1,118,128,117,-1,131,97,233,-1,96,97,131,-1,95,182,181,-1,182,95,94,-1,134,225,30,-1,92,225,134,-1,170,133,90,-1,170,169,133,-1,232,47,76,-1,232,48,47,-1,80,25,32,-1,80,26,25,-1,72,66,64,-1,69,66,72,-1,91,79,93,-1,20,79,91,-1,74,174,176,-1,74,62,174,-1,231,53,56,-1,231,51,53,-1,38,71,73,-1,38,69,71,-1,173,68,223,-1,68,173,67,-1,51,220,53,-1,220,51,50,-1,222,62,61,-1,222,174,62,-1,63,53,220,-1,53,63,54,-1,230,51,231,-1,51,230,52,-1,229,129,228,-1,129,229,128,-1,126,74,227,-1,126,55,74,-1,36,175,37,-1,175,36,40,-1,116,34,168,-1,116,35,34,-1,79,32,25,-1,32,79,33,-1,226,30,225,-1,30,226,31,-1,223,123,173,-1,223,221,123,-1,222,223,224,-1,221,223,222,-1,50,185,220,-1,50,186,185,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=3 */
		private int[] getl_rib11_geometry_5_22_coordIndex_3()
		{
			int[] value = {16,136,13,-1,16,159,136,-1,11,143,12,-1,143,11,219,-1,10,237,154,-1,10,12,237,-1,193,149,217,-1,216,149,193,-1,7,142,4,-1,104,142,7,-1,215,195,0,-1,216,195,215,-1,151,212,153,-1,151,2,212,-1,199,214,197,-1,214,199,213,-1,209,192,191,-1,209,211,192,-1,3,212,2,-1,3,203,212,-1,209,204,211,-1,209,207,204,-1,196,210,1,-1,196,205,210,-1,200,208,198,-1,200,206,208,-1,207,206,204,-1,207,208,206,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='l_rib11_geometry' coordIndex field, scene-graph level=5, element #22, 2112 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_rib11_geometry_5_22_coordIndex()
		{
			MFInt32 l_rib11_geometry_5_22_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getl_rib11_geometry_5_22_coordIndex_1()))
				.append(new MFInt32(getl_rib11_geometry_5_22_coordIndex_2()))
				.append(new MFInt32(getl_rib11_geometry_5_22_coordIndex_3()));
			return l_rib11_geometry_5_22_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='l_rib11_coordinate' point field, scene-graph level=6, element #22, 798 total numbers made up of 266 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_rib11_coordinate_6_22_point()
		{
			MFVec3f l_rib11_coordinate_6_22_point = new MFVec3f(new double[] {0.129,1.1881,0.0003,0.1294,1.1884,0.0011,0.1287,1.1886,0.0004,0.1293,1.1887,0.0011,0.1046,1.2276,-0.0794,0.1054,1.229,-0.0772,0.0867,1.2404,-0.0932,0.0846,1.2399,-0.0954,0.1289,1.2024,-0.0317,0.1259,1.209,-0.043,0.1255,1.2076,-0.0443,0.1212,1.2155,-0.0544,0.1204,1.2139,-0.056,0.0541,1.2521,-0.1049,0.0536,1.2519,-0.1059,0.0624,1.2458,-0.1049,0.064,1.2474,-0.1041,0.0391,1.2574,-0.1026,0.0316,1.2587,-0.1013,0.039,1.2585,-0.1039,0.0326,1.2571,-0.0981,0.0199,1.2535,-0.075,0.0207,1.2544,-0.0741,0.0199,1.2539,-0.0746,0.0209,1.2544,-0.0742,0.0272,1.2564,-0.0905,0.0258,1.2565,-0.088,0.0262,1.257,-0.0899,0.0271,1.2566,-0.0916,0.0253,1.2581,-0.0962,0.0253,1.2567,-0.0935,0.0249,1.2571,-0.092,0.0278,1.2568,-0.0901,0.029,1.2567,-0.0927,0.0329,1.2607,-0.0916,0.0308,1.2605,-0.0891,0.0235,1.2606,-0.0763,0.0222,1.2574,-0.0742,0.0234,1.2578,-0.0764,0.0267,1.2634,-0.0796,0.0233,1.2616,-0.0763,0.0269,1.263,-0.0795,0.0199,1.2563,-0.0735,0.0196,1.2553,-0.0747,0.0201,1.2552,-0.0738,0.0239,1.2595,-0.0904,0.024,1.2597,-0.0898,0.0265,1.2624,-0.0924,0.026,1.2621,-0.0929,0.0191,1.254,-0.0761,0.0187,1.2549,-0.0766,0.0184,1.255,-0.0776,0.0188,1.2545,-0.0776,0.0185,1.2563,-0.0772,0.0183,1.2577,-0.0769,0.0192,1.259,-0.0795,0.019,1.2575,-0.0797,0.0242,1.2607,-0.0896,0.0214,1.2598,-0.0835,0.0246,1.2611,-0.0893,0.021,1.2586,-0.0834,0.0194,1.2589,-0.0751,0.0198,1.2597,-0.0758,0.0185,1.2575,-0.0761,0.0198,1.2533,-0.076,0.0216,1.2571,-0.0735,0.0212,1.2543,-0.075,0.0204,1.2566,-0.0733,0.0211,1.257,-0.0733,0.0217,1.2547,-0.0779,0.0231,1.2552,-0.0825,0.0237,1.2554,-0.0821,0.0208,1.2541,-0.0787,0.0259,1.2589,-0.0803,0.0213,1.2606,-0.0777,0.0311,1.2637,-0.0964,0.0291,1.2636,-0.0954,0.0323,1.2652,-0.0934,0.04,1.2563,-0.1009,0.0283,1.2563,-0.093,0.0264,1.2568,-0.0876,0.0406,1.2563,-0.1003,0.0417,1.2629,-0.1052,0.0394,1.2604,-0.1052,0.0305,1.2612,-0.1007,0.0301,1.2622,-0.0993,0.0259,1.2571,-0.0905,0.0241,1.2591,-0.0898,0.0252,1.2616,-0.0938,0.0442,1.2645,-0.1041,0.0294,1.2562,-0.0981,0.0316,1.2569,-0.098,0.0267,1.2562,-0.0943,0.028,1.2563,-0.0934,0.0236,1.2588,-0.0918,0.024,1.2601,-0.0946,0.0261,1.2595,-0.0989,0.0251,1.2603,-0.0971,0.0552,1.2557,-0.1079,0.0573,1.2574,-0.1072,0.0644,1.2487,-0.1072,0.0624,1.2458,-0.1057,0.0535,1.2524,-0.107,0.0757,1.2423,-0.1007,0.0838,1.2383,-0.0961,0.0773,1.2436,-0.0992,0.1279,1.1988,-0.0339,0.1298,1.1949,-0.0234,0.1272,1.1995,-0.0335,0.1293,1.1956,-0.0233,0.0752,1.2411,-0.1038,0.0816,1.2359,-0.099,0.0731,1.2403,-0.1031,0.0732,1.2407,-0.1019,0.0814,1.236,-0.0976,0.0304,1.2653,-0.0855,0.0329,1.2658,-0.0886,0.03,1.2659,-0.0857,0.0322,1.2662,-0.089,0.1131,1.2349,-0.0784,0.0983,1.2445,-0.0933,0.1127,1.2352,-0.0778,0.0981,1.2446,-0.0922,0.0196,1.2579,-0.0738,0.0193,1.2576,-0.0742,0.0193,1.2559,-0.0748,0.0225,1.2606,-0.0828,0.0211,1.2567,-0.0836,0.0301,1.2647,-0.0901,0.0289,1.2636,-0.091,0.0302,1.2585,-0.1007,0.0264,1.2598,-0.0993,0.0277,1.2609,-0.0993,0.0286,1.2578,-0.1001,0.0262,1.2563,-0.0947,0.0595,1.259,-0.1066,0.0546,1.2522,-0.104,0.1095,1.2329,-0.0773,0.1222,1.2263,-0.0624,0.1202,1.2232,-0.0619,0.1015,1.2243,-0.0818,0.1119,1.2158,-0.0686,0.1031,1.2261,-0.0806,0.1158,1.2183,-0.064,0.1241,1.2179,-0.0534,0.1301,1.2131,-0.0403,0.1266,1.22,-0.0532,0.1279,1.2109,-0.0416,0.1308,1.2046,-0.0289,0.1325,1.1953,-0.0216,0.1311,1.2002,-0.0323,0.1295,1.1917,-0.0107,0.1301,1.1981,-0.0214,0.1311,1.194,-0.0093,0.1234,1.2049,-0.0455,0.0787,1.2445,-0.0981,0.0709,1.2544,-0.106,0.0845,1.2468,-0.1018,0.0688,1.2531,-0.1071,0.0651,1.248,-0.1023,0.0666,1.2492,-0.1013,0.0558,1.2528,-0.1025,0.0621,1.2604,-0.1053,0.0742,1.2556,-0.104,0.0664,1.2513,-0.108,0.0464,1.2654,-0.1026,0.0451,1.2608,-0.0999,0.0472,1.265,-0.1013,0.0354,1.266,-0.0917,0.0282,1.2576,-0.0997,0.0287,1.2562,-0.0981,0.0298,1.2611,-0.1002,0.0191,1.2568,-0.0746,0.02,1.2576,-0.0733,0.0206,1.2605,-0.0749,0.0216,1.2605,-0.0742,0.0226,1.2618,-0.0768,0.1272,1.2197,-0.054,0.131,1.2126,-0.0409,0.0346,1.2665,-0.0923,0.0261,1.2637,-0.0799,0.024,1.2606,-0.0945,0.0236,1.2589,-0.0912,0.0294,1.2619,-0.0993,0.0267,1.2567,-0.0921,0.019,1.2556,-0.0757,0.0189,1.2547,-0.076,0.0207,1.2573,-0.0835,0.0193,1.2543,-0.0755,0.0187,1.2572,-0.0755,0.0194,1.2584,-0.0747,0.1331,1.1921,0.0044,0.1326,1.1898,0.0035,0.1339,1.1929,-0.0076,0.1351,1.1956,-0.0061,0.1313,1.1885,0.0024,0.1308,1.1888,0.0027,0.1311,1.1917,0.0035,0.1325,1.192,0.0044,0.1327,1.1924,0.0045,0.1311,1.1911,0.0034,0.13,1.1895,0.0009,0.1306,1.1905,0.0015,0.1303,1.1903,0.0027,0.1317,1.1905,0.0024,0.1311,1.1896,0.0017,0.1313,1.1914,0.0023,0.1324,1.1915,0.0031,0.1321,1.1919,0.003,0.1327,1.1916,0.0044,0.13,1.1892,0.0009,0.1318,1.1901,0.0037,0.13,1.1906,0.0025,0.1342,1.1962,-0.0057,0.1325,1.1955,-0.0073,0.1299,1.1912,-0.0109,0.1322,1.1914,-0.009,0.1344,1.1968,-0.0201,0.1354,1.2003,-0.0176,0.1171,1.2198,-0.0616,0.0188,1.2559,-0.0763,0.0202,1.2594,-0.0738,0.0202,1.2598,-0.0741,0.0207,1.2593,-0.0732,0.021,1.2598,-0.0734,0.0257,1.2566,-0.0929,0.0253,1.257,-0.0913,0.0247,1.2625,-0.0812,0.0263,1.2624,-0.0879,0.028,1.264,-0.0867,0.0193,1.2557,-0.0801,0.0189,1.2562,-0.0801,0.0284,1.2632,-0.0957,0.0252,1.2608,-0.0972,0.0262,1.2618,-0.0966,0.0803,1.2447,-0.1038,0.1016,1.2242,-0.0827,0.1175,1.2111,-0.0584,0.1123,1.2156,-0.0695,0.118,1.2107,-0.0591,0.0627,1.2598,-0.1033,0.088,1.2493,-0.0978,0.0885,1.2493,-0.0991,0.0741,1.2553,-0.1026,0.123,1.2256,-0.0633,0.133,1.2063,-0.0271,0.1341,1.2054,-0.0274,0.1344,1.2012,-0.0175,0.0287,1.2603,-0.0866,0.0702,1.252,-0.1008,0.0592,1.2557,-0.102,0.0838,1.2472,-0.0969,0.0882,1.2391,-0.0985,0.0946,1.2426,-0.0965,0.0933,1.2423,-0.0917,0.1066,1.2267,-0.0819,0.1114,1.2317,-0.0809,0.1168,1.2184,-0.0682,0.1209,1.2222,-0.0661,0.1231,1.2129,-0.0575,0.1262,1.2155,-0.0559,0.1302,1.2086,-0.0433,0.1282,1.2064,-0.0441,0.1242,1.2043,-0.046,0.1331,1.2021,-0.0309,0.1318,1.2001,-0.0196});
			return l_rib11_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_rib11 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_rib11().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_rib11\" 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_rib11 self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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