package X3dForAdvancedModeling.AdditiveManufacturing;

/*
Copyright (c) 1995-2019 held by the author(s).  All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

    * Redistributions of source code must retain the above copyright
      notice, this list of conditions and the following disclaimer.
    * Redistributions in binary form must reproduce the above copyright
      notice, this list of conditions and the following disclaimer
      in the documentation and/or other materials provided with the
      distribution.
    * Neither the name of the Web3D Consortium (http://www.web3D.org)
      nor the names of its contributors may be used to endorse or
      promote products derived from this software without specific
      prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/

import java.util.*;
import org.web3d.x3d.jsail.Core.*;
import org.web3d.x3d.jsail.fields.*;
import org.web3d.x3d.jsail.Grouping.*;
import org.web3d.x3d.jsail.Rendering.*;
import org.web3d.x3d.jsail.Shape.*;

// Javadoc annotations follow, see below for source.
/**
 * <p> X3D representation of a Building Information Model (BIM) created from an Industry Foundation Classes (IFC) file. </p>
 <p> Related links: valid.java source, <a href="http://www.web3d.org/x3d/content/examples/X3dResources.html" target="_blank">X3D Resources</a>, <a href="http://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html" target="_blank">X3D Scene Authoring Hints</a>, and <a href="http://www.web3d.org/x3d/content/X3dTooltips.html" target="_blank">X3D Tooltips</a>. </p>
	<table style="color:black; border:0px solid; border-spacing:10px 0px;" summary="Scene Metadata">
		<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;">X3dForAdvancedModeling.AdditiveManufacturing.valid&nbsp; Document Metadata </td>
		</tr>

		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> title </i> </td>
			<td> <a href="http://someAddress/somePath/20015A.x3d">20015A.x3d</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> identifier </i> </td>
			<td> <a href="http://someAddress/somePath/20015A.x3d" target="_blank">http://someAddress/somePath/20015A.x3d</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> generator </i> </td>
			<td> BIM Vision, X3D Exporter plugin 1.0 </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> creator </i> </td>
			<td> Integrated Facility Management (integratedfm.com.au) </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> description </i> </td>
			<td> X3D representation of a Building Information Model (BIM) created from an Industry Foundation Classes (IFC) file </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="http://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="http://www.web3d.org/x3d/stylesheets/X3dToJava.xslt" target="_blank">X3dToJava.xslt</a>
		stylesheet to create Java source code from an <code>.x3d</code> model.
	</p>

	* @author Integrated Facility Management (integratedfm.com.au)
 */

public class valid
{
	/** Default constructor to create this object. */
	public valid ()
	{
	  initialize();
	}

	/** Create and initialize the X3D model for this object. */
	public final void initialize()
	{
  x3dModel = new X3DObject().setProfile(X3DObject.PROFILE_INTERCHANGE).setVersion(X3DObject.VERSION_3_3)
  .setHead(new headObject()
    .addMeta(new metaObject().setName(metaObject.NAME_TITLE      ).setContent("20015A.x3d"))
    .addMeta(new metaObject().setName(metaObject.NAME_IDENTIFIER ).setContent("http://someAddress/somePath/20015A.x3d"))
    .addMeta(new metaObject().setName(metaObject.NAME_GENERATOR  ).setContent("BIM Vision, X3D Exporter plugin 1.0"))
    .addMeta(new metaObject().setName(metaObject.NAME_CREATOR    ).setContent("Integrated Facility Management (integratedfm.com.au)"))
    .addMeta(new metaObject().setName(metaObject.NAME_DESCRIPTION).setContent("X3D representation of a Building Information Model (BIM) created from an Industry Foundation Classes (IFC) file")))
  .setScene(new SceneObject()
    .addChild(new GroupObject()
      .addChild(new GroupObject()
        .addChild(new GroupObject()
          .addChild(new GroupObject()
            .addChild(new GroupObject()
              .addChild(new GroupObject()
                .addChild(new GroupObject()
                  .setMetadata(new MetadataSetObject().setName("ElementDataSet")
                    .addValue(new MetadataSetObject().setName("Element Specific")
                      .addValue(new MetadataStringObject().setName("Guid").setValue(new String[] {"0bGU1KW$510RZP1z7yKl9a"}))
                      .addValue(new MetadataStringObject().setName("IfcEntity").setValue(new String[] {"IfcSlab"}))
                      .addValue(new MetadataStringObject().setName("Name").setValue(new String[] {"Basic Roof:Generic - 12\":239401"}))
                      .addValue(new MetadataStringObject().setName("ObjectType").setValue(new String[] {"Basic Roof:Generic - 12\""}))
                      .addValue(new MetadataStringObject().setName("PredefinedType").setValue(new String[] {"ROOF"}))
                      .addValue(new MetadataStringObject().setName("Tag").setValue(new String[] {"239401"})))
                    .addValue(new MetadataSetObject().setName("Pset_SlabCommon")
                      .addValue(new MetadataBooleanObject().setName("IsExternal").setValue(new boolean[] {true}))
                      .addValue(new MetadataBooleanObject().setName("LoadBearing").setValue(new boolean[] {true}))
                      .addValue(new MetadataDoubleObject().setName("PitchAngle").setValue(new double[] {0.0}))
                      .addValue(new MetadataStringObject().setName("Reference").setValue(new String[] {"Generic - 12\""})))
                    .addValue(new MetadataSetObject().setName("Location")
                      .addValue(new MetadataStringObject().setName("Project").setValue(new String[] {"Project Number"}))
                      .addValue(new MetadataStringObject().setName("Storey").setValue(new String[] {"Level 3"}))
                      .addValue(new MetadataDoubleObject().setName("Top Elevation").setValue(new double[] {1.0}))
                      .addValue(new MetadataDoubleObject().setName("Bottom Elevation").setValue(new double[] {0.0}))
                      .addValue(new MetadataDoubleObject().setName("Global Top Elevation").setValue(new double[] {31.0}))
                      .addValue(new MetadataDoubleObject().setName("Global Bottom Elevation").setValue(new double[] {30.0})))
                    .addValue(new MetadataSetObject().setName("Geometry")
                      .addValue(new MetadataBooleanObject().setName("Has Own Geometry").setValue(new boolean[] {true}))
                      .addValue(new MetadataBooleanObject().setName("Children Have Geometry").setValue(new boolean[] {false}))
                      .addValue(new MetadataDoubleObject().setName("Global X").setValue(new double[] {-233.701329394281}))
                      .addValue(new MetadataDoubleObject().setName("Global Y").setValue(new double[] {-348.876933163505}))
                      .addValue(new MetadataDoubleObject().setName("Global Z").setValue(new double[] {30.0}))
                      .addValue(new MetadataDoubleObject().setName("Bounding Box Length").setValue(new double[] {222.074698701684}))
                      .addValue(new MetadataDoubleObject().setName("Bounding Box Width").setValue(new double[] {326.106968166804}))
                      .addValue(new MetadataDoubleObject().setName("Bounding Box Height").setValue(new double[] {1.0})))
                    .addValue(new MetadataSetObject().setName("Membership")
                      .addValue(new MetadataStringObject().setName("Layer").setValue(new String[] {"A-ROOF-____-OTLN"}))))
                  .addChild(new ShapeObject()
                    .setAppearance(new AppearanceObject()
                      .setMaterial(new MaterialObject().setAmbientIntensity(0.5f).setDiffuseColor(0.341176470588235f,0.392156862745098f,0.447058823529412f).setShininess(0f)))
                    .setGeometry(new TriangleSetObject().setCcw(true).setColorPerVertex(true).setNormalPerVertex(true).setSolid(false)
                      .setCoord(new CoordinateObject().setPoint(getCoordinate_12_40_point()))))))))))));
    }
	// end of initialize() method

		/** Define subarrays using type float[] */
		private float[] getCoordinate_12_40_point_1()
		{
			float[] value = {-20.3853594408219f,-57.1229392630129f,9.4488f,-19.9652751729206f,-59.3817371724901f,9.4488f,-3.54379703510366f,-58.3235055717661f,9.4488f,-20.3853594408219f,-57.1229392630129f,9.4488f,-3.54379703510366f,-58.3235055717661f,9.4488f,-3.54379703510366f,-10.1300991096157f,9.4488f,-20.3853594408219f,-57.1229392630129f,9.4488f,-3.54379703510366f,-10.1300991096157f,9.4488f,-22.4035806581374f,-29.8717665433737f,9.4488f,-20.3853594408219f,-57.1229392630129f,9.4488f,-22.4035806581374f,-29.8717665433737f,9.4488f,-69.1144401963895f,-32.3847808901012f,9.4488f,-20.3853594408219f,-57.1229392630129f,9.4488f,-69.1144401963895f,-32.3847808901012f,9.4488f,-71.232165199377f,-32.3847808901012f,9.4488f,-20.3853594408219f,-57.1229392630129f,9.4488f,-71.232165199377f,-32.3847808901012f,9.4488f,-24.4391543627587f,-57.8181604640746f,9.4488f,-71.232165199377f,-32.3847808901012f,9.4488f,-71.232165199377f,-77.2110221225161f,9.4488f,-24.4391543627587f,-57.8181604640746f,9.4488f,-71.232165199377f,-77.2110221225161f,9.4488f,-63.8153234978049f,-77.2110221225161f,9.4488f,-24.4391543627587f,-57.8181604640746f,9.4488f,-24.4391543627587f,-57.8181604640746f,9.4488f,-63.8153234978049f,-77.2110221225161f,9.4488f,-23.7671677816533f,-81.3251425344477f,9.4488f,-63.8153234978049f,-77.2110221225161f,9.4488f,-30.0904740597546f,-104.820819994207f,9.4488f,-23.7671677816533f,-81.3251425344477f,9.4488f,-23.7671677816533f,-81.3251425344477f,9.4488f,-30.0904740597546f,-104.820819994207f,9.4488f,-24.7585873341551f,-104.820819994207f,9.4488f,-63.8153234978049f,-104.974213543295f,9.4488f,-30.0904740597546f,-106.337689228236f,9.4488f,-30.0904740597546f,-104.820819994207f,9.4488f,-63.8153234978049f,-104.974213543295f,9.4488f,-30.0904740597546f,-104.820819994207f,9.4488f,-63.8153234978049f,-77.2110221225161f,9.4488f,-69.1144401963895f,-19.51495370365f,9.4488f,-69.1144401963895f,-32.3847808901012f,9.4488f,-27.4047682872613f,-29.8717665433727f,9.4488f,-69.1144401963895f,-19.51495370365f,9.4488f,-27.4047682872613f,-29.8717665433727f,9.4488f,-28.3855184053893f,-23.6012334998595f,9.4488f,-69.1144401963895f,-19.51495370365f,9.4488f,-28.3855184053893f,-23.6012334998595f,9.4488f,-29.5328201395807f,-17.3590260237529f,9.4488f,-69.1144401963895f,-19.51495370365f,9.4488f,-29.5328201395807f,-17.3590260237529f,9.4488f,-33.1131157034342f,-17.3590260237497f,9.4488f,-69.1144401963895f,-19.51495370365f,9.4488f,-33.1131157034342f,-17.3590260237497f,9.4488f,-33.1131157034342f,-16.0901648837216f,9.4488f,-21.5919653494926f,-18.3502113720471f,9.4488f,-22.4035806581374f,-29.8717665433737f,9.4488f,-3.54379703510366f,-10.1300991096157f,9.4488f,-21.5919653494926f,-18.3502113720471f,9.4488f,-3.54379703510366f,-10.1300991096157f,9.4488f,-19.797936165537f,-6.94028533099446f,9.4488f,-3.54379703510366f,-58.3235055717661f,9.4488f,-19.9652751729206f,-59.3817371724901f,9.4488f,-19.5067899008592f,-61.6330545742163f,9.4488f,-27.4047682872613f,-29.8717665433727f,9.4488f,-69.1144401963895f,-32.3847808901012f,9.4488f,-22.4035806581374f,-29.8717665433737f,9.4488f,-71.232165199377f,-32.3847808901012f,9.144f,-69.1144401963895f,-32.3847808901012f,9.144f,-20.3853594408219f,-57.1229392630129f,9.144f,-69.1144401963895f,-32.3847808901012f,9.144f,-22.4035806581374f,-29.8717665433737f,9.144f,-20.3853594408219f,-57.1229392630129f,9.144f,-20.3853594408219f,-57.1229392630129f,9.144f,-22.4035806581374f,-29.8717665433737f,9.144f,-3.54379703510366f,-10.1300991096157f,9.144f,-22.4035806581374f,-29.8717665433737f,9.144f,-21.5919653494926f,-18.3502113720471f,9.144f,-3.54379703510366f,-10.1300991096157f,9.144f,-3.54379703510366f,-10.1300991096157f,9.144f,-21.5919653494926f,-18.3502113720471f,9.144f,-19.797936165537f,-6.94028533099446f,9.144f,-3.54379703510366f,-58.3235055717661f,9.144f,-19.5067899008592f,-61.6330545742163f,9.144f,-19.9652751729206f,-59.3817371724901f,9.144f,-3.54379703510366f,-58.3235055717661f,9.144f,-19.9652751729206f,-59.3817371724901f,9.144f,-20.3853594408219f,-57.1229392630129f,9.144f,-3.54379703510366f,-58.3235055717661f,9.144f,-20.3853594408219f,-57.1229392630129f,9.144f,-3.54379703510366f,-10.1300991096157f,9.144f,-69.1144401963895f,-19.51495370365f,9.144f,-33.1131157034342f,-16.0901648837216f,9.144f,-33.1131157034342f,-17.3590260237497f,9.144f,-69.1144401963895f,-19.51495370365f,9.144f,-33.1131157034342f,-17.3590260237497f,9.144f,-29.5328201395807f,-17.3590260237529f,9.144f,-69.1144401963895f,-19.51495370365f,9.144f,-29.5328201395807f,-17.3590260237529f,9.144f,-28.3855184053893f,-23.6012334998595f,9.144f,-69.1144401963895f,-19.51495370365f,9.144f};
			return value;
		}
		private float[] getCoordinate_12_40_point_2()
		{
			float[] value = {-28.3855184053893f,-23.6012334998595f,9.144f,-27.4047682872613f,-29.8717665433727f,9.144f,-69.1144401963895f,-19.51495370365f,9.144f,-27.4047682872613f,-29.8717665433727f,9.144f,-69.1144401963895f,-32.3847808901012f,9.144f,-24.4391543627587f,-57.8181604640746f,9.144f,-23.7671677816533f,-81.3251425344477f,9.144f,-63.8153234978049f,-77.2110221225161f,9.144f,-24.4391543627587f,-57.8181604640746f,9.144f,-63.8153234978049f,-77.2110221225161f,9.144f,-71.232165199377f,-77.2110221225161f,9.144f,-24.4391543627587f,-57.8181604640746f,9.144f,-71.232165199377f,-77.2110221225161f,9.144f,-71.232165199377f,-32.3847808901012f,9.144f,-24.4391543627587f,-57.8181604640746f,9.144f,-71.232165199377f,-32.3847808901012f,9.144f,-20.3853594408219f,-57.1229392630129f,9.144f,-30.0904740597546f,-106.337689228236f,9.144f,-63.8153234978049f,-104.974213543295f,9.144f,-30.0904740597546f,-104.820819994207f,9.144f,-63.8153234978049f,-104.974213543295f,9.144f,-63.8153234978049f,-77.2110221225161f,9.144f,-30.0904740597546f,-104.820819994207f,9.144f,-30.0904740597546f,-104.820819994207f,9.144f,-63.8153234978049f,-77.2110221225161f,9.144f,-24.7585873341551f,-104.820819994207f,9.144f,-63.8153234978049f,-77.2110221225161f,9.144f,-23.7671677816533f,-81.3251425344477f,9.144f,-24.7585873341551f,-104.820819994207f,9.144f,-69.1144401963895f,-32.3847808901012f,9.144f,-27.4047682872613f,-29.8717665433727f,9.144f,-22.4035806581374f,-29.8717665433737f,9.144f,-71.232165199377f,-77.2110221225161f,9.144f,-63.8153234978049f,-77.2110221225161f,9.144f,-63.8153234978049f,-77.2110221225161f,9.4488f,-63.8153234978049f,-77.2110221225161f,9.4488f,-71.232165199377f,-77.2110221225161f,9.4488f,-71.232165199377f,-77.2110221225161f,9.144f,-63.8153234978049f,-77.2110221225161f,9.144f,-63.8153234978049f,-104.974213543295f,9.144f,-63.8153234978049f,-104.974213543295f,9.4488f,-63.8153234978049f,-104.974213543295f,9.4488f,-63.8153234978049f,-77.2110221225161f,9.4488f,-63.8153234978049f,-77.2110221225161f,9.144f,-63.8153234978049f,-104.974213543295f,9.144f,-30.0904740597546f,-106.337689228236f,9.144f,-30.0904740597546f,-106.337689228236f,9.4488f,-30.0904740597546f,-106.337689228236f,9.4488f,-63.8153234978049f,-104.974213543295f,9.4488f,-63.8153234978049f,-104.974213543295f,9.144f,-30.0904740597546f,-106.337689228236f,9.144f,-30.0904740597546f,-104.820819994207f,9.144f,-30.0904740597546f,-104.820819994207f,9.4488f,-30.0904740597546f,-104.820819994207f,9.4488f,-30.0904740597546f,-106.337689228236f,9.4488f,-30.0904740597546f,-106.337689228236f,9.144f,-30.0904740597546f,-104.820819994207f,9.144f,-24.7585873341551f,-104.820819994207f,9.144f,-24.7585873341551f,-104.820819994207f,9.4488f,-24.7585873341551f,-104.820819994207f,9.4488f,-30.0904740597546f,-104.820819994207f,9.4488f,-30.0904740597546f,-104.820819994207f,9.144f,-24.7585873341551f,-104.820819994207f,9.144f,-23.7671677816533f,-81.3251425344477f,9.144f,-23.7671677816533f,-81.3251425344477f,9.4488f,-23.7671677816533f,-81.3251425344477f,9.4488f,-24.7585873341551f,-104.820819994207f,9.4488f,-24.7585873341551f,-104.820819994207f,9.144f,-23.7671677816533f,-81.3251425344477f,9.144f,-24.4391543627587f,-57.8181604640746f,9.144f,-24.4391543627587f,-57.8181604640746f,9.4488f,-24.4391543627587f,-57.8181604640746f,9.4488f,-23.7671677816533f,-81.3251425344477f,9.4488f,-23.7671677816533f,-81.3251425344477f,9.144f,-24.4391543627587f,-57.8181604640746f,9.144f,-20.3853594408219f,-57.1229392630129f,9.144f,-20.3853594408219f,-57.1229392630129f,9.4488f,-20.3853594408219f,-57.1229392630129f,9.4488f,-24.4391543627587f,-57.8181604640746f,9.4488f,-24.4391543627587f,-57.8181604640746f,9.144f,-20.3853594408219f,-57.1229392630129f,9.144f,-19.9652751729206f,-59.3817371724901f,9.144f,-19.9652751729206f,-59.3817371724901f,9.4488f,-19.9652751729206f,-59.3817371724901f,9.4488f,-20.3853594408219f,-57.1229392630129f,9.4488f,-20.3853594408219f,-57.1229392630129f,9.144f,-19.9652751729206f,-59.3817371724901f,9.144f,-19.5067899008592f,-61.6330545742163f,9.144f,-19.5067899008592f,-61.6330545742163f,9.4488f,-19.5067899008592f,-61.6330545742163f,9.4488f,-19.9652751729206f,-59.3817371724901f,9.4488f,-19.9652751729206f,-59.3817371724901f,9.144f,-19.5067899008592f,-61.6330545742163f,9.144f,-3.54379703510366f,-58.3235055717661f,9.144f,-3.54379703510366f,-58.3235055717661f,9.4488f,-3.54379703510366f,-58.3235055717661f,9.4488f,-19.5067899008592f,-61.6330545742163f,9.4488f,-19.5067899008592f,-61.6330545742163f,9.144f,-3.54379703510366f,-58.3235055717661f,9.144f,-3.54379703510366f,-10.1300991096157f,9.144f};
			return value;
		}
		private float[] getCoordinate_12_40_point_3()
		{
			float[] value = {-3.54379703510366f,-10.1300991096157f,9.4488f,-3.54379703510366f,-10.1300991096157f,9.4488f,-3.54379703510366f,-58.3235055717661f,9.4488f,-3.54379703510366f,-58.3235055717661f,9.144f,-3.54379703510366f,-10.1300991096157f,9.144f,-19.797936165537f,-6.94028533099446f,9.144f,-19.797936165537f,-6.94028533099446f,9.4488f,-19.797936165537f,-6.94028533099446f,9.4488f,-3.54379703510366f,-10.1300991096157f,9.4488f,-3.54379703510366f,-10.1300991096157f,9.144f,-19.797936165537f,-6.94028533099446f,9.144f,-21.5919653494926f,-18.3502113720471f,9.144f,-21.5919653494926f,-18.3502113720471f,9.4488f,-21.5919653494926f,-18.3502113720471f,9.4488f,-19.797936165537f,-6.94028533099446f,9.4488f,-19.797936165537f,-6.94028533099446f,9.144f,-21.5919653494926f,-18.3502113720471f,9.144f,-22.4035806581374f,-29.8717665433737f,9.144f,-22.4035806581374f,-29.8717665433737f,9.4488f,-22.4035806581374f,-29.8717665433737f,9.4488f,-21.5919653494926f,-18.3502113720471f,9.4488f,-21.5919653494926f,-18.3502113720471f,9.144f,-22.4035806581374f,-29.8717665433737f,9.144f,-27.4047682872613f,-29.8717665433727f,9.144f,-27.4047682872613f,-29.8717665433727f,9.4488f,-27.4047682872613f,-29.8717665433727f,9.4488f,-22.4035806581374f,-29.8717665433737f,9.4488f,-22.4035806581374f,-29.8717665433737f,9.144f,-27.4047682872613f,-29.8717665433727f,9.144f,-28.3855184053893f,-23.6012334998595f,9.144f,-28.3855184053893f,-23.6012334998595f,9.4488f,-28.3855184053893f,-23.6012334998595f,9.4488f,-27.4047682872613f,-29.8717665433727f,9.4488f,-27.4047682872613f,-29.8717665433727f,9.144f,-28.3855184053893f,-23.6012334998595f,9.144f,-29.5328201395807f,-17.3590260237529f,9.144f,-29.5328201395807f,-17.3590260237529f,9.4488f,-29.5328201395807f,-17.3590260237529f,9.4488f,-28.3855184053893f,-23.6012334998595f,9.4488f,-28.3855184053893f,-23.6012334998595f,9.144f,-29.5328201395807f,-17.3590260237529f,9.144f,-33.1131157034342f,-17.3590260237497f,9.144f,-33.1131157034342f,-17.3590260237497f,9.4488f,-33.1131157034342f,-17.3590260237497f,9.4488f,-29.5328201395807f,-17.3590260237529f,9.4488f,-29.5328201395807f,-17.3590260237529f,9.144f,-33.1131157034342f,-17.3590260237497f,9.144f,-33.1131157034342f,-16.0901648837216f,9.144f,-33.1131157034342f,-16.0901648837216f,9.4488f,-33.1131157034342f,-16.0901648837216f,9.4488f,-33.1131157034342f,-17.3590260237497f,9.4488f,-33.1131157034342f,-17.3590260237497f,9.144f,-33.1131157034342f,-16.0901648837216f,9.144f,-69.1144401963895f,-19.51495370365f,9.144f,-69.1144401963895f,-19.51495370365f,9.4488f,-69.1144401963895f,-19.51495370365f,9.4488f,-33.1131157034342f,-16.0901648837216f,9.4488f,-33.1131157034342f,-16.0901648837216f,9.144f,-69.1144401963895f,-19.51495370365f,9.144f,-69.1144401963895f,-32.3847808901012f,9.144f,-69.1144401963895f,-32.3847808901012f,9.4488f,-69.1144401963895f,-32.3847808901012f,9.4488f,-69.1144401963895f,-19.51495370365f,9.4488f,-69.1144401963895f,-19.51495370365f,9.144f,-69.1144401963895f,-32.3847808901012f,9.144f,-71.232165199377f,-32.3847808901012f,9.144f,-71.232165199377f,-32.3847808901012f,9.4488f,-71.232165199377f,-32.3847808901012f,9.4488f,-69.1144401963895f,-32.3847808901012f,9.4488f,-69.1144401963895f,-32.3847808901012f,9.144f,-71.232165199377f,-32.3847808901012f,9.144f,-71.232165199377f,-77.2110221225161f,9.144f,-71.232165199377f,-77.2110221225161f,9.4488f,-71.232165199377f,-77.2110221225161f,9.4488f,-71.232165199377f,-32.3847808901012f,9.4488f,-71.232165199377f,-32.3847808901012f,9.144f};
			return value;
		}

		/** Large attribute array: Coordinate point field, scene-graph level=12, element #40, 828 total numbers made up of 276 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 MFVec3fObject getCoordinate_12_40_point()
		{
			MFVec3fObject Coordinate_12_40_point = new MFVec3fObject()/*2.finalize*/
				.append(new MFVec3fObject(getCoordinate_12_40_point_1()))
				.append(new MFVec3fObject(getCoordinate_12_40_point_2()))
				.append(new MFVec3fObject(getCoordinate_12_40_point_3()));
			return Coordinate_12_40_point;
		}

	/** The initialized model object, created within initialize() method. */
	private X3DObject 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="http://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/Core/X3DObject.html">X3DObject</a>
	 * @return valid model
	 */
	public X3DObject 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="http://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/Core/X3DObject.html#handleArguments-java.lang.String:A-">X3DObject.handleArguments(args)</a>
	 * @see <a href="http://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/Core/X3DObject.html#validationReport--">X3DObject.validationReport()</a>
     * @see <a href="http://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/CommandLine.html">CommandLine</a>
     * @see <a href="http://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/CommandLine.html#USAGE">CommandLine.USAGE</a>
     * @see <a href="http://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/ConfigurationProperties.html">ConfigurationProperties</a>
     */
    public static void main(String args[])
    {
        X3DObject thisExampleX3dObject = new valid().getX3dModel();

		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(X3DObject.FILE_EXTENSION_X3D) ||
					arg.toLowerCase().endsWith(X3DObject.FILE_EXTENSION_CLASSICVRML) ||
					arg.toLowerCase().endsWith(X3DObject.FILE_EXTENSION_X3DB) ||
					arg.toLowerCase().endsWith(X3DObject.FILE_EXTENSION_VRML97) ||
					arg.toLowerCase().endsWith(X3DObject.FILE_EXTENSION_EXI) ||
					arg.toLowerCase().endsWith(X3DObject.FILE_EXTENSION_GZIP) ||
					arg.toLowerCase().endsWith(X3DObject.FILE_EXTENSION_ZIP) ||
					arg.toLowerCase().endsWith(X3DObject.FILE_EXTENSION_HTML) ||
					arg.toLowerCase().endsWith(X3DObject.FILE_EXTENSION_XHTML))
				{
					argumentsLoadNewModel = true;
					fileName = arg;
				}
			}
		}
		if      (argumentsLoadNewModel)
			System.out.println("WARNING: \"valid\" 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
			thisExampleX3dObject.handleArguments(args);

		if (validate)
		{
			System.out.print("Java program \"valid\" self-validation test results: ");
			String validationResults = thisExampleX3dObject.validationReport();
			System.out.println(validationResults);
		}
    }
}
