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

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] getr_trapezoid_geometry_5_23_coordIndex_2()
		{
			int[] value = {22,152,151,-1,189,42,39,-1,43,42,189,-1,134,30,169,-1,134,28,30,-1,109,205,206,-1,108,205,109,-1,140,216,217,-1,216,140,149,-1,167,218,180,-1,218,167,219,-1,220,141,221,-1,220,166,141,-1,222,136,223,-1,56,136,222,-1,138,168,101,-1,168,138,57,-1,26,103,181,-1,26,7,103,-1,149,224,216,-1,149,148,224,-1,225,147,226,-1,147,225,146,-1,144,227,228,-1,145,227,144,-1,142,229,230,-1,143,229,142,-1,141,217,221,-1,141,140,217,-1,195,231,191,-1,231,195,232,-1,233,11,192,-1,234,11,233,-1,235,189,39,-1,236,189,235,-1,222,54,56,-1,222,52,54,-1,232,226,231,-1,226,232,225,-1,228,234,233,-1,227,234,228,-1,230,236,235,-1,229,236,230,-1,52,221,217,-1,221,52,222,-1,117,179,178,-1,118,179,117,-1,237,238,239,-1,237,114,238,-1,208,240,207,-1,208,241,240,-1,242,90,173,-1,242,91,90,-1,75,243,73,-1,75,125,243,-1,244,119,245,-1,119,244,76,-1,126,133,132,-1,123,133,126,-1,58,121,127,-1,121,58,124,-1,122,129,131,-1,120,129,122,-1,157,84,155,-1,157,33,84,-1,13,59,203,-1,59,13,60,-1,128,9,40,-1,130,9,128,-1,204,187,80,-1,187,204,246,-1,183,184,156,-1,183,182,184,-1,219,215,218,-1,219,213,215,-1,24,2,3,-1,24,194,2,-1,181,23,26,-1,23,181,180,-1,197,212,196,-1,212,197,199,-1,179,238,69,-1,179,62,238,-1,31,150,32,-1,31,211,150,-1,86,99,210,-1,87,99,86,-1,177,246,92,-1,177,244,246,-1,82,245,74,-1,245,82,187,-1,73,176,74,-1,73,242,176,-1,135,209,14,-1,135,247,209,-1,90,175,188,-1,175,90,89,-1,202,174,172,-1,202,97,174,-1,207,68,66,-1,240,68,207,-1,247,237,241,-1,247,170,237,-1,170,114,237,-1,112,114,170,-1,164,165,153,-1,163,165,164,-1,156,83,183,-1,156,155,83,-1,183,85,158,-1,183,83,85,-1,51,213,219,-1,37,213,51,-1,169,113,112,-1,30,113,169,-1,134,247,135,-1,134,170,247,-1,64,240,239,-1,64,68,240,-1,209,241,208,-1,247,241,209,-1,243,88,91,-1,243,132,88,-1,246,245,187,-1,246,244,245,-1,128,131,130,-1,131,128,127,-1,63,21,20,-1,248,21,63,-1,118,21,248,-1,210,19,18,-1,210,99,19,-1,214,211,193,-1,211,214,150,-1,239,62,64,-1,238,62,239,-1,115,105,178,-1,115,4,105,-1,109,198,21,-1,109,200,198,-1,212,47,35,-1,199,47,212,-1,218,36,55,-1,218,215,36,-1,17,150,214,-1,16,150,17,-1,204,92,246,-1,204,93,92,-1,128,203,59,-1,128,190,203,-1,128,40,190,-1,88,12,89,-1,60,12,88,-1,60,13,12,-1,242,174,176,-1,242,173,174,-1,162,85,84,-1,85,162,159,-1,120,177,129,-1,77,177,120,-1,127,122,131,-1,122,127,121,-1,133,124,58,-1,124,133,123,-1,125,132,243,-1,126,132,125,-1,245,75,74,-1,75,245,119,-1,77,244,177,-1,76,244,77,-1,91,73,243,-1,73,91,242,-1,239,241,237,-1,240,241,239,-1,69,114,72,-1,238,114,69,-1,62,248,63,-1,118,62,179,-1,62,118,248,-1,216,249,53,-1,216,224,249,-1,236,220,223,-1,220,236,229,-1,227,235,234,-1,230,235,227,-1,231,228,233,-1,228,231,226,-1,224,232,249,-1,225,232,224,-1,53,37,51,-1,53,38,37,-1,53,249,38,-1,189,223,136,-1,223,189,236,-1,234,39,11,-1,235,39,234,-1,191,233,192,-1,233,191,231,-1,249,195,38,-1,232,195,249,-1,229,166,220,-1,166,229,143,-1,145,230,227,-1,142,230,145,-1,226,144,228,-1,144,226,147,-1,148,225,224,-1,146,225,148,-1,136,57,138,-1,57,136,56,-1,221,223,220,-1,222,223,221,-1,180,55,23,-1,55,180,218,-1,54,219,167,-1,219,54,51,-1,217,53,52,-1,53,217,216,-1,206,200,109,-1,206,201,200,-1,30,102,113,-1,102,30,27,-1,189,45,43,-1,137,45,189,-1,17,37,15,-1,213,37,17,-1,215,193,36,-1,193,215,214,-1,193,212,35,-1,211,212,193,-1,184,160,161,-1,160,184,182,-1,116,19,100,-1,20,19,116,-1,197,210,198,-1,210,197,86,-1,207,188,208,-1,207,171,188,-1,209,12,14,-1,12,209,175,-1,163,9,94,-1,10,9,163,-1,202,160,185,-1,160,202,65,-1,111,5,70,-1,111,106,5,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='r_trapezoid_geometry' coordIndex field, scene-graph level=5, element #23, 1984 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_trapezoid_geometry_5_23_coordIndex()
		{
			MFInt32 r_trapezoid_geometry_5_23_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getr_trapezoid_geometry_5_23_coordIndex_1()))
				.append(new MFInt32(getr_trapezoid_geometry_5_23_coordIndex_2()));
			return r_trapezoid_geometry_5_23_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='r_trapezoid_coordinate' point field, scene-graph level=6, element #23, 750 total numbers made up of 250 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_trapezoid_coordinate_6_23_point()
		{
			MFVec3f r_trapezoid_coordinate_6_23_point = new MFVec3f(new double[] {-0.2005,0.823,0.0795,-0.2004,0.8233,0.0794,-0.1999,0.8232,0.0797,-0.1986,0.8237,0.0806,-0.1967,0.8244,0.081,-0.1967,0.8242,0.0819,-0.2002,0.8212,0.0832,-0.2007,0.8208,0.083,-0.2005,0.821,0.0826,-0.2131,0.828,0.0923,-0.2133,0.8279,0.0917,-0.2132,0.8276,0.0922,-0.2039,0.8279,0.0964,-0.2046,0.8275,0.0965,-0.2044,0.8272,0.0964,-0.2058,0.8269,0.0853,-0.2042,0.8272,0.0834,-0.2045,0.8258,0.0834,-0.1968,0.8298,0.0788,-0.1977,0.8309,0.0805,-0.1973,0.8308,0.0807,-0.1964,0.8296,0.0788,-0.2044,0.8274,0.0835,-0.2013,0.8222,0.0799,-0.201,0.8222,0.08,-0.2008,0.8215,0.0814,-0.201,0.8215,0.0815,-0.2014,0.8235,0.0888,-0.2026,0.8239,0.0908,-0.2029,0.8239,0.0907,-0.2011,0.8236,0.089,-0.2022,0.8291,0.0775,-0.2029,0.8297,0.0806,-0.2027,0.8299,0.0806,-0.2019,0.8293,0.0777,-0.2021,0.8237,0.0789,-0.2022,0.8235,0.079,-0.2058,0.8266,0.0855,-0.2059,0.8267,0.0855,-0.2115,0.8259,0.0954,-0.2115,0.8261,0.0955,-0.209,0.8256,0.0963,-0.211,0.8258,0.0956,-0.2079,0.8249,0.0944,-0.2064,0.8251,0.0953,-0.2052,0.8244,0.0926,-0.2041,0.8255,0.0941,-0.2007,0.824,0.0791,-0.2058,0.8287,0.0845,-0.209,0.8321,0.0857,-0.2062,0.831,0.0851,-0.2057,0.826,0.0863,-0.2064,0.8257,0.088,-0.2066,0.8262,0.0873,-0.2056,0.8253,0.0873,-0.2018,0.8228,0.0794,-0.2055,0.8251,0.0892,-0.205,0.8249,0.0882,-0.2088,0.8289,0.0954,-0.209,0.8274,0.096,-0.2057,0.8287,0.096,-0.1973,0.832,0.084,-0.1966,0.8297,0.0838,-0.197,0.8304,0.0822,-0.1968,0.8316,0.0856,-0.1971,0.8353,0.0871,-0.1966,0.835,0.088,-0.1969,0.8339,0.0858,-0.1967,0.8335,0.087,-0.1965,0.8276,0.0838,-0.1966,0.8243,0.0825,-0.196,0.8255,0.0815,-0.1969,0.8261,0.085,-0.2036,0.833,0.0913,-0.204,0.8338,0.0897,-0.2061,0.8326,0.0911,-0.2085,0.8318,0.0905,-0.2093,0.8315,0.0907,-0.208,0.8311,0.0925,-0.2036,0.8337,0.0869,-0.2055,0.8328,0.0871,-0.2028,0.834,0.088,-0.2048,0.8334,0.0883,-0.202,0.8317,0.0841,-0.2033,0.8304,0.0836,-0.2026,0.8324,0.0849,-0.2008,0.8293,0.0776,-0.201,0.8296,0.0782,-0.2029,0.8309,0.0949,-0.201,0.8307,0.0953,-0.2002,0.8325,0.093,-0.202,0.8323,0.0929,-0.2113,0.8314,0.0882,-0.2119,0.831,0.0877,-0.2134,0.8299,0.0891,-0.2125,0.8301,0.0898,-0.2017,0.8346,0.0866,-0.2009,0.8345,0.0877,-0.2005,0.8311,0.0813,-0.1998,0.8301,0.079,-0.1983,0.8322,0.0825,-0.2033,0.8234,0.0872,-0.1999,0.8232,0.0871,-0.2022,0.8224,0.0853,-0.1992,0.8241,0.0795,-0.1972,0.8247,0.0802,-0.1983,0.8222,0.083,-0.2003,0.8219,0.0813,-0.196,0.8278,0.0794,-0.1967,0.8273,0.0791,-0.1978,0.8235,0.0856,-0.1982,0.8223,0.0837,-0.1979,0.8257,0.0887,-0.1996,0.8233,0.0871,-0.1973,0.8275,0.0867,-0.1962,0.825,0.0812,-0.1979,0.8321,0.0826,-0.1959,0.8283,0.0797,-0.1962,0.8294,0.0806,-0.2075,0.832,0.0906,-0.2098,0.8308,0.0915,-0.2093,0.8299,0.0936,-0.2098,0.8302,0.0926,-0.2075,0.8306,0.0938,-0.2085,0.8301,0.094,-0.206,0.8317,0.0928,-0.2064,0.8312,0.0935,-0.2104,0.8284,0.0945,-0.211,0.8272,0.0952,-0.2113,0.8303,0.0905,-0.2125,0.8285,0.0925,-0.2115,0.8291,0.0926,-0.2047,0.831,0.0943,-0.2069,0.8299,0.0951,-0.2018,0.8258,0.093,-0.2031,0.8267,0.0952,-0.2057,0.8249,0.0912,-0.2053,0.8244,0.0923,-0.2043,0.8245,0.0891,-0.2087,0.8268,0.0897,-0.2079,0.8264,0.0891,-0.208,0.8264,0.0896,-0.2094,0.8266,0.091,-0.2086,0.8263,0.0908,-0.2099,0.8271,0.0894,-0.2098,0.827,0.0903,-0.2085,0.8269,0.0886,-0.2092,0.8272,0.0887,-0.208,0.8267,0.0887,-0.208,0.8266,0.0889,-0.2029,0.8269,0.0812,-0.2034,0.8301,0.0833,-0.2036,0.8302,0.0836,-0.2107,0.829,0.0853,-0.2078,0.8276,0.085,-0.2019,0.8313,0.0836,-0.2003,0.8323,0.0837,-0.2017,0.8304,0.0809,-0.2018,0.8344,0.0862,-0.2036,0.8335,0.0865,-0.1974,0.8354,0.0863,-0.1971,0.8342,0.0848,-0.2054,0.8326,0.0868,-0.2136,0.8296,0.0889,-0.2135,0.8283,0.0883,-0.2119,0.8307,0.0874,-0.208,0.8263,0.09,-0.2042,0.8244,0.0853,-0.2037,0.8239,0.0862,-0.1999,0.8258,0.0908,-0.1989,0.8268,0.0915,-0.1976,0.8339,0.0901,-0.1968,0.8352,0.0881,-0.2001,0.8334,0.0909,-0.2003,0.8342,0.0889,-0.2001,0.83,0.0955,-0.2023,0.834,0.0893,-0.2105,0.8316,0.0889,-0.1954,0.8262,0.0807,-0.1961,0.8288,0.0824,-0.2028,0.8235,0.0834,-0.2025,0.8229,0.0843,-0.198,0.8353,0.086,-0.2006,0.8331,0.0846,-0.1975,0.8343,0.0847,-0.1977,0.8355,0.0866,-0.1979,0.8355,0.0863,-0.2062,0.8329,0.0878,-0.1983,0.8325,0.0922,-0.2077,0.8249,0.094,-0.2114,0.826,0.0956,-0.2107,0.8288,0.0854,-0.2133,0.8281,0.0883,-0.2023,0.8238,0.079,-0.2004,0.8229,0.0796,-0.2079,0.8274,0.0852,-0.202,0.829,0.0775,-0.2008,0.829,0.0774,-0.1994,0.829,0.0774,-0.2004,0.8263,0.0782,-0.1993,0.8264,0.0784,-0.1995,0.8244,0.0791,-0.1973,0.8354,0.0872,-0.2091,0.8259,0.0964,-0.2091,0.8322,0.0859,-0.1956,0.8263,0.0802,-0.1971,0.8251,0.0799,-0.1974,0.8336,0.0901,-0.1981,0.8323,0.0921,-0.1999,0.8297,0.0954,-0.1995,0.8293,0.0776,-0.2018,0.8261,0.0781,-0.2015,0.8261,0.078,-0.2045,0.8255,0.0835,-0.2033,0.8247,0.0814,-0.2033,0.8245,0.0816,-0.2072,0.8264,0.0881,-0.2072,0.8261,0.0886,-0.2031,0.824,0.0824,-0.2044,0.825,0.0844,-0.2073,0.8259,0.0904,-0.2071,0.8259,0.0895,-0.2064,0.8255,0.0894,-0.2066,0.8254,0.0907,-0.2073,0.8267,0.0876,-0.2083,0.8272,0.0874,-0.2097,0.8277,0.0877,-0.2109,0.8272,0.0909,-0.2109,0.8275,0.089,-0.2084,0.8259,0.0919,-0.21,0.8264,0.0924,-0.2102,0.8281,0.0866,-0.2082,0.8273,0.0863,-0.2121,0.8278,0.0887,-0.212,0.8273,0.0916,-0.2107,0.8261,0.0937,-0.2082,0.8254,0.0929,-0.1979,0.8288,0.0889,-0.197,0.8286,0.0853,-0.1974,0.8302,0.0872,-0.1974,0.8322,0.0891,-0.1981,0.8309,0.0912,-0.202,0.8332,0.0911,-0.2038,0.8321,0.0929,-0.2088,0.8323,0.0883,-0.2069,0.8327,0.0887,-0.209,0.8323,0.0872,-0.1999,0.8287,0.0946,-0.1967,0.83,0.0815,-0.2067,0.8267,0.0866});
			return r_trapezoid_coordinate_6_23_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_trapezoid 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_trapezoid().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_trapezoid\" 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_trapezoid self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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