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

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] getr_rib11_geometry_5_22_coordIndex_2()
		{
			int[] value = {166,236,237,-1,167,236,166,-1,194,238,239,-1,192,238,194,-1,193,16,228,-1,186,16,193,-1,185,230,17,-1,185,111,230,-1,228,194,193,-1,195,194,228,-1,22,23,229,-1,112,23,22,-1,183,116,189,-1,183,115,116,-1,193,239,45,-1,193,194,239,-1,111,187,57,-1,111,185,187,-1,67,71,68,-1,71,67,72,-1,49,190,51,-1,190,49,115,-1,184,182,196,-1,184,168,182,-1,48,178,80,-1,48,180,178,-1,234,84,162,-1,84,234,177,-1,81,164,82,-1,86,164,81,-1,163,165,240,-1,165,163,117,-1,167,101,236,-1,101,167,172,-1,179,165,65,-1,179,240,165,-1,124,100,175,-1,97,100,124,-1,141,143,139,-1,141,223,143,-1,241,137,145,-1,241,136,137,-1,242,136,241,-1,226,136,242,-1,150,243,151,-1,150,244,243,-1,171,156,131,-1,171,245,156,-1,153,133,246,-1,153,152,133,-1,247,248,249,-1,247,250,248,-1,142,225,251,-1,225,142,144,-1,114,231,110,-1,20,231,114,-1,45,38,44,-1,38,45,239,-1,252,32,31,-1,189,32,252,-1,170,46,237,-1,42,46,170,-1,182,189,252,-1,182,183,189,-1,240,83,82,-1,83,240,179,-1,196,252,197,-1,182,252,196,-1,58,172,167,-1,105,172,58,-1,180,179,178,-1,180,83,179,-1,177,28,68,-1,177,234,28,-1,63,121,120,-1,121,63,181,-1,120,62,63,-1,120,160,62,-1,253,159,245,-1,159,253,161,-1,99,14,92,-1,99,96,14,-1,127,254,132,-1,255,254,127,-1,256,245,171,-1,245,256,253,-1,243,254,174,-1,243,257,254,-1,256,200,128,-1,256,154,200,-1,244,257,243,-1,244,258,257,-1,130,246,133,-1,130,259,246,-1,154,227,200,-1,154,155,227,-1,258,242,260,-1,244,242,258,-1,109,259,261,-1,259,109,246,-1,149,227,155,-1,149,199,227,-1,241,260,242,-1,241,262,260,-1,107,261,263,-1,261,107,109,-1,148,199,149,-1,148,147,199,-1,262,251,263,-1,262,142,251,-1,250,148,108,-1,250,146,148,-1,249,251,225,-1,251,249,248,-1,143,224,144,-1,224,143,223,-1,221,138,264,-1,221,140,138,-1,222,264,247,-1,222,221,264,-1,264,135,146,-1,264,138,135,-1,247,146,250,-1,247,264,146,-1,263,248,107,-1,263,251,248,-1,145,262,241,-1,145,142,262,-1,263,260,262,-1,260,263,261,-1,8,226,150,-1,8,198,226,-1,106,155,153,-1,106,149,155,-1,260,259,258,-1,260,261,259,-1,258,130,257,-1,258,259,130,-1,176,151,265,-1,6,151,176,-1,171,154,256,-1,171,152,154,-1,257,132,254,-1,257,130,132,-1,92,265,99,-1,92,176,265,-1,128,253,256,-1,253,128,95,-1,255,174,254,-1,175,174,255,-1,95,161,253,-1,161,95,94,-1,127,126,91,-1,127,156,126,-1,125,175,255,-1,124,175,125,-1,94,160,161,-1,160,94,62,-1,89,125,90,-1,122,125,89,-1,160,102,158,-1,160,120,102,-1,105,60,104,-1,58,60,105,-1,73,79,71,-1,76,79,73,-1,166,80,58,-1,48,80,166,-1,197,31,173,-1,197,252,31,-1,55,236,101,-1,235,236,55,-1,37,44,38,-1,44,37,47,-1,39,190,169,-1,39,238,190,-1,57,235,55,-1,57,187,235,-1,126,158,123,-1,126,159,158,-1,249,222,247,-1,222,249,4,-1,250,107,248,-1,108,107,250,-1,246,106,153,-1,106,246,109,-1,245,126,156,-1,245,159,126,-1,123,102,104,-1,102,123,158,-1,100,265,174,-1,100,99,265,-1,244,226,242,-1,150,226,244,-1,151,174,265,-1,174,151,243,-1,90,255,127,-1,125,255,90,-1,98,124,122,-1,98,97,124,-1,233,75,26,-1,75,233,81,-1,237,48,166,-1,46,48,237,-1,59,157,60,-1,59,70,157,-1,82,163,240,-1,164,163,82,-1,87,81,233,-1,87,86,81,-1,78,177,79,-1,78,84,177,-1,165,77,76,-1,117,77,165,-1,80,64,70,-1,80,178,64,-1,69,73,74,-1,69,66,73,-1,35,53,52,-1,35,34,53,-1,192,190,238,-1,192,51,190,-1,53,22,19,-1,53,112,22,-1,113,18,15,-1,113,40,18,-1,231,111,110,-1,231,230,111,-1,40,54,18,-1,40,41,54,-1,38,238,39,-1,238,38,239,-1,237,235,170,-1,236,235,237,-1,173,105,103,-1,105,173,172,-1,234,26,28,-1,233,26,234,-1,25,15,232,-1,113,15,25,-1,33,191,195,-1,191,33,35,-1,20,229,231,-1,20,22,229,-1,17,232,15,-1,17,230,232,-1,18,228,16,-1,228,18,54,-1,227,7,200,-1,227,8,7,-1};
			return value;
		}

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

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