package ConformanceNist.Interpolators.OrientationInterpolator;
/*
Copyright (c) 1995-2023 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 (https://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 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.Interpolation.*;
import org.web3d.x3d.jsail.Navigation.*;
import org.web3d.x3d.jsail.Shape.*;
import org.web3d.x3d.jsail.Time.*;
// Javadoc metadata annotations follow, see below for X3DJSAIL Java source code.
/**
*
Test of basic OrientationInterpolator functionality. An OrientationInterpolator node is used to change the orientation of a Box geometry. The fraction_changed eventOut of a TimeSensor node is used to change the orientation from keyValues of 0, 90, 180, 270 and 360 degrees about the X, Y and Z axes, using 1000 keys and keyValues. The value_changed eventOut is routed to the set_rotation exposedField of the Transform node of the geometry. The result thould be: The Box should rotate about the X axis one full revolution, the about the Y axis, then about the Z axis. All three revolutions should complete every 5 seconds.
Related links: keys1000.java source, keys1000 catalog page, X3D Resources, X3D Scene Authoring Hints, and X3D Tooltips.
Scene Meta Information
meta tags |
Document Metadata |
title |
keys1000.x3d |
MovingImage |
1000keys-movie.mpg |
reference |
http://www.nist.gov/vrml.html |
reference |
http://www.itl.nist.gov/div897/ctg/vrml/vrml.html |
creator |
http://www.itl.nist.gov/div897/ctg/vrml/members.html |
creator |
This file was provided by the National Institute of Standards and Technology, and is part of the X3D Conformance Test Suite, available at http://www.nist.gov/vrml.html The information contained within this file is provided for use in establishing conformance to the ISO VRML97 Specification. Conformance to this test does not imply recommendation or endorsement by the National Institute of Standards and Technology (NIST). This software can be redistributed and/or modified freely provided that any derivative works bear some notice that they are derived from it, and any modified versions bear some notice that they have been modified. |
translator |
Michael Kass NIST, Don Brutzman NPS |
modified |
28 August 2023 |
description |
Test of basic OrientationInterpolator functionality. An OrientationInterpolator node is used to change the orientation of a Box geometry. The fraction_changed eventOut of a TimeSensor node is used to change the orientation from keyValues of 0, 90, 180, 270 and 360 degrees about the X, Y and Z axes, using 1000 keys and keyValues. The value_changed eventOut is routed to the set_rotation exposedField of the Transform node of the geometry. The result thould be: The Box should rotate about the X axis one full revolution, the about the Y axis, then about the Z axis. All three revolutions should complete every 5 seconds. |
identifier |
https://www.web3d.org/x3d/content/examples/ConformanceNist/Interpolators/OrientationInterpolator/keys1000.x3d |
generator |
X3D-Edit 4.0, https://savage.nps.edu/X3D-Edit |
license |
../../license.html |
|
This program uses the
X3D Java Scene Access Interface Library (X3DJSAIL).
It has been produced using the
X3dToJava.xslt
stylesheet
(version control)
is used to create Java source code from an original .x3d
model.
* @author http://www.itl.nist.gov/div897/ctg/vrml/members.html
* @author This file was provided by the National Institute of Standards and Technology, and is part of the X3D Conformance Test Suite, available at http://www.nist.gov/vrml.html The information contained within this file is provided for use in establishing conformance to the ISO VRML97 Specification. Conformance to this test does not imply recommendation or endorsement by the National Institute of Standards and Technology (NIST). This software can be redistributed and/or modified freely provided that any derivative works bear some notice that they are derived from it, and any modified versions bear some notice that they have been modified.
*/
public class keys1000
{
/** Default constructor to create this object. */
public keys1000 ()
{
initialize();
}
/** Create and initialize the X3D model for this object. */
public final void initialize()
{
try { // catch-all
x3dModel = new X3D().setProfile(X3D.PROFILE_INTERCHANGE).setVersion(X3D.VERSION_3_0)
.setHead(new head()
.addMeta(new meta().setName(meta.NAME_TITLE ).setContent("keys1000.x3d"))
.addMeta(new meta().setName(meta.NAME_MOVINGIMAGE).setContent("1000keys-movie.mpg"))
.addMeta(new meta().setName(meta.NAME_REFERENCE ).setContent("http://www.nist.gov/vrml.html"))
.addMeta(new meta().setName(meta.NAME_REFERENCE ).setContent("http://www.itl.nist.gov/div897/ctg/vrml/vrml.html"))
.addMeta(new meta().setName(meta.NAME_CREATOR ).setContent("http://www.itl.nist.gov/div897/ctg/vrml/members.html"))
.addMeta(new meta().setName(meta.NAME_CREATOR ).setContent("This file was provided by the National Institute of Standards and Technology, and is part of the X3D Conformance Test Suite, available at http://www.nist.gov/vrml.html The information contained within this file is provided for use in establishing conformance to the ISO VRML97 Specification. Conformance to this test does not imply recommendation or endorsement by the National Institute of Standards and Technology (NIST). This software can be redistributed and/or modified freely provided that any derivative works bear some notice that they are derived from it, and any modified versions bear some notice that they have been modified."))
.addMeta(new meta().setName(meta.NAME_TRANSLATOR ).setContent("Michael Kass NIST, Don Brutzman NPS"))
.addMeta(new meta().setName(meta.NAME_MODIFIED ).setContent("28 August 2023"))
.addMeta(new meta().setName(meta.NAME_DESCRIPTION).setContent("Test of basic OrientationInterpolator functionality. An OrientationInterpolator node is used to change the orientation of a Box geometry. The fraction_changed eventOut of a TimeSensor node is used to change the orientation from keyValues of 0, 90, 180, 270 and 360 degrees about the X, Y and Z axes, using 1000 keys and keyValues. The value_changed eventOut is routed to the set_rotation exposedField of the Transform node of the geometry. The result thould be: The Box should rotate about the X axis one full revolution, the about the Y axis, then about the Z axis. All three revolutions should complete every 5 seconds."))
.addMeta(new meta().setName(meta.NAME_IDENTIFIER ).setContent("https://www.web3d.org/x3d/content/examples/ConformanceNist/Interpolators/OrientationInterpolator/keys1000.x3d"))
.addMeta(new meta().setName(meta.NAME_GENERATOR ).setContent("X3D-Edit 4.0, https://savage.nps.edu/X3D-Edit"))
.addMeta(new meta().setName(meta.NAME_LICENSE ).setContent("../../license.html")))
.setScene(new Scene()
.addChild(new WorldInfo().setTitle("keys1000.x3d"))
.addChild(new NavigationInfo().setType("\"EXAMINE\" \"WALK\" \"FLY\" \"ANY\""))
.addChild(new TimeSensor("TIME").setCycleInterval(5).setLoop(true))
.addChild(new OrientationInterpolator("ORIENT").setKey(getORIENT_3_17_key()).setKeyValue(getORIENT_3_17_keyValue()))
.addChild(new Group()
.addChild(new Transform("TRANS")
.addChild(new Shape()
.setAppearance(new Appearance()
.setMaterial(new Material("COLOR").setDiffuseColor(1.0,0.0,0.0)))
.setGeometry(new Box()))))
.addChild(new ROUTE().setFromNode("TIME").setFromField("fraction_changed").setToNode("ORIENT").setToField("set_fraction"))
.addChild(new ROUTE().setFromNode("ORIENT").setFromField("value_changed").setToNode("TRANS").setToField("set_rotation")));
}
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 subarrays using type double[] */
private double[] getORIENT_3_17_key_1()
{
double[] value = {0.0,0.001,0.002,0.003,0.004,0.005,0.006,0.007,0.008,0.009,0.01,0.011,0.012,0.013,0.014,0.015,0.016,0.017,0.018,0.019,0.02,0.021,0.022,0.023,0.024,0.025,0.026,0.027,0.028,0.029,0.03,0.031,0.032,0.033,0.034,0.035,0.036,0.037,0.038,0.039,0.04,0.041,0.042,0.043,0.044,0.045,0.046,0.047,0.048,0.049,0.05,0.051,0.052,0.053,0.054,0.055,0.056,0.057,0.058,0.059,0.06,0.061,0.062,0.063,0.064,0.065,0.066,0.067,0.068,0.069,0.07,0.071,0.072,0.073,0.074,0.075,0.076,0.077,0.078,0.079,0.08,0.081,0.082,0.083,0.084,0.085,0.086,0.087,0.088,0.089,0.09,0.091,0.092,0.093,0.094,0.095,0.096,0.097,0.098,0.099,0.1,0.101,0.102,0.103,0.104,0.105,0.106,0.107,0.108,0.109,0.11,0.111,0.112,0.113,0.114,0.115,0.116,0.117,0.118,0.119,0.12,0.121,0.122,0.123,0.124,0.125,0.126,0.127,0.128,0.129,0.13,0.131,0.132,0.133,0.134,0.135,0.136,0.137,0.138,0.139,0.14,0.141,0.142,0.143,0.144,0.145,0.146,0.147,0.148,0.149,0.15,0.151,0.152,0.153,0.154,0.155,0.156,0.157,0.158,0.159,0.16,0.161,0.162,0.163,0.164,0.165,0.166,0.167,0.168,0.169,0.17,0.171,0.172,0.173,0.174,0.175,0.176,0.177,0.178,0.179,0.18,0.181,0.182,0.183,0.184,0.185,0.186,0.187,0.188,0.189,0.19,0.191,0.192,0.193,0.194,0.195,0.196,0.197,0.198,0.199,0.2,0.201,0.202,0.203,0.204,0.205,0.206,0.207,0.208,0.209,0.21,0.211,0.212,0.213,0.214,0.215,0.216,0.217,0.218,0.219,0.22,0.221,0.222,0.223,0.224,0.225,0.226,0.227,0.228,0.229,0.23,0.231,0.232,0.233,0.234,0.235,0.236,0.237,0.238,0.239,0.24,0.241,0.242,0.243,0.244,0.245,0.246,0.247,0.248,0.249,0.25,0.251,0.252,0.253,0.254,0.255,0.256,0.257,0.258,0.259,0.26,0.261,0.262,0.263,0.264,0.265,0.266,0.267,0.268,0.269,0.27,0.271,0.272,0.273,0.274,0.275,0.276,0.277,0.278,0.279,0.28,0.281,0.282,0.283,0.284,0.285,0.286,0.287,0.288,0.289,0.29,0.291,0.292,0.293,0.294,0.295,0.296,0.297,0.298,0.299,0.3,0.301,0.302,0.303,0.304,0.305,0.306,0.307,0.308,0.309,0.31,0.311,0.312,0.313,0.314,0.315,0.316,0.317,0.318,0.319,0.32,0.321,0.322,0.323,0.324,0.325,0.326,0.327,0.328,0.329,0.33,0.331,0.332,0.333,0.334,0.335,0.336,0.337,0.338,0.339,0.34,0.341,0.342,0.343,0.344,0.345,0.346,0.347,0.348,0.349,0.35,0.351,0.352,0.353,0.354,0.355,0.356,0.357,0.358,0.359,0.36,0.361,0.362,0.363,0.364,0.365,0.366,0.367,0.368,0.369,0.37,0.371,0.372,0.373,0.374,0.375,0.376,0.377,0.378,0.379,0.38,0.381,0.382,0.383,0.384,0.385,0.386,0.387,0.388,0.389,0.39,0.391,0.392,0.393,0.394,0.395,0.396,0.397,0.398,0.399,0.4,0.401,0.402,0.403,0.404,0.405,0.406,0.407,0.408,0.409,0.41,0.411,0.412,0.413,0.414,0.415,0.416,0.417,0.418,0.419,0.42,0.421,0.422,0.423,0.424,0.425,0.426,0.427,0.428,0.429,0.43,0.431,0.432,0.433,0.434,0.435,0.436,0.437,0.438,0.439,0.44,0.441,0.442,0.443,0.444,0.445,0.446,0.447,0.448,0.449,0.45,0.451,0.452,0.453,0.454,0.455,0.456,0.457,0.458,0.459,0.46,0.461,0.462,0.463,0.464,0.465,0.466,0.467,0.468,0.469,0.47,0.471,0.472,0.473,0.474,0.475,0.476,0.477,0.478,0.479,0.48,0.481,0.482,0.483,0.484,0.485,0.486,0.487,0.488,0.489,0.49,0.491,0.492,0.493,0.494,0.495,0.496,0.497,0.498,0.499,0.5,0.501,0.502,0.503,0.504,0.505,0.506,0.507,0.508,0.509,0.51,0.511,0.512,0.513,0.514,0.515,0.516,0.517,0.518,0.519,0.52,0.521,0.522,0.523,0.524,0.525,0.526,0.527,0.528,0.529,0.53,0.531,0.532,0.533,0.534,0.535,0.536,0.537,0.538,0.539,0.54,0.541,0.542,0.543,0.544,0.545,0.546,0.547,0.548,0.549,0.55,0.551,0.552,0.553,0.554,0.555,0.556,0.557,0.558,0.559,0.56,0.561,0.562,0.563,0.564,0.565,0.566,0.567,0.568,0.569,0.57,0.571,0.572,0.573,0.574,0.575,0.576,0.577,0.578,0.579,0.58,0.581,0.582,0.583,0.584,0.585,0.586,0.587,0.588,0.589,0.59,0.591,0.592,0.593,0.594,0.595,0.596,0.597,0.598,0.599,0.6,0.601,0.602,0.603,0.604,0.605,0.606,0.607,0.608,0.609,0.61,0.611,0.612,0.613,0.614,0.615,0.616,0.617,0.618,0.619,0.62,0.621,0.622,0.623,0.624,0.625,0.626,0.627,0.628,0.629,0.63,0.631,0.632,0.633,0.634,0.635,0.636,0.637,0.638,0.639,0.64,0.641,0.642,0.643,0.644,0.645,0.646,0.647,0.648,0.649,0.65,0.651,0.652,0.653,0.654,0.655,0.656,0.657,0.658,0.659,0.66,0.661,0.662,0.663,0.664,0.665,0.666,0.667,0.668,0.669,0.67,0.671,0.672,0.673,0.674,0.675,0.676,0.677,0.678,0.679,0.68,0.681,0.682,0.683,0.684,0.685,0.686,0.687,0.688,0.689,0.69,0.691,0.692,0.693,0.694,0.695,0.696,0.697,0.698,0.699,0.7,0.701,0.702,0.703,0.704,0.705,0.706,0.707,0.708,0.709,0.71,0.711,0.712,0.713,0.714,0.715,0.716,0.717,0.718,0.719,0.72,0.721,0.722,0.723,0.724,0.725,0.726,0.727,0.728,0.729,0.73,0.731,0.732,0.733,0.734,0.735,0.736,0.737,0.738,0.739,0.74,0.741,0.742,0.743,0.744,0.745,0.746,0.747,0.748,0.749,0.75,0.751,0.752,0.753,0.754,0.755,0.756,0.757,0.758,0.759,0.76,0.761,0.762,0.763,0.764,0.765,0.766,0.767,0.768,0.769,0.77,0.771,0.772,0.773,0.774,0.775,0.776,0.777,0.778,0.779,0.78,0.781,0.782,0.783,0.784,0.785,0.786,0.787,0.788,0.789,0.79,0.791,0.792,0.793,0.794,0.795,0.796,0.797,0.798,0.799,0.8,0.801,0.802,0.803,0.804,0.805,0.806,0.807,0.808,0.809,0.81,0.811,0.812,0.813,0.814,0.815,0.816,0.817,0.818,0.819,0.82,0.821,0.822,0.823,0.824,0.825,0.826,0.827,0.828,0.829,0.83,0.831,0.832,0.833,0.834,0.835,0.836,0.837,0.838,0.839,0.84,0.841,0.842,0.843,0.844,0.845,0.846,0.847,0.848,0.849,0.85,0.851,0.852,0.853,0.854,0.855,0.856,0.857,0.858,0.859,0.86,0.861,0.862,0.863,0.864,0.865,0.866,0.867,0.868,0.869,0.87,0.871,0.872,0.873,0.874,0.875,0.876,0.877,0.878,0.879,0.88,0.881,0.882,0.883,0.884,0.885,0.886,0.887,0.888,0.889,0.89,0.891,0.892,0.893,0.894,0.895,0.896,0.897,0.898,0.899,0.9,0.901,0.902,0.903,0.904,0.905,0.906,0.907,0.908,0.909,0.91,0.911,0.912,0.913,0.914,0.915,0.916,0.917,0.918,0.919,0.92,0.921,0.922,0.923,0.924,0.925,0.926,0.927,0.928,0.929,0.93,0.931,0.932,0.933,0.934,0.935,0.936,0.937,0.938,0.939,0.94,0.941,0.942,0.943,0.944,0.945,0.946,0.947,0.948,0.949,0.95,0.951,0.952,0.953,0.954,0.955,0.956,0.957,0.958,0.959,0.96,0.961,0.962,0.963,0.964,0.965,0.966,0.967,0.968,0.969,0.97,0.971,0.972,0.973,0.974,0.975,0.976,0.977,0.978,0.979,0.98,0.981,0.982,0.983,0.984,0.985,0.986,0.987,0.988,0.989,0.99,0.991,0.992,0.993,0.994,0.995,0.996,0.997,0.998,1.0};
return value;
}
/** Define subarrays using type double[] */
private double[] getORIENT_3_17_keyValue_1()
{
double[] value = {1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0188589,1.0,0.0,0.0,0.0377177,1.0,0.0,0.0,0.0565766,1.0,0.0,0.0,0.0754354,1.0,0.0,0.0,0.0942943,1.0,0.0,0.0,0.113153,1.0,0.0,0.0,0.132012,1.0,0.0,0.0,0.150871,1.0,0.0,0.0,0.16973,1.0,0.0,0.0,0.188589,1.0,0.0,0.0,0.207447,1.0,0.0,0.0,0.226306,1.0,0.0,0.0,0.245165,1.0,0.0,0.0,0.264024,1.0,0.0,0.0,0.282883,1.0,0.0,0.0,0.301742,1.0,0.0,0.0,0.320601,1.0,0.0,0.0,0.339459,1.0,0.0,0.0,0.358318,1.0,0.0,0.0,0.377177,1.0,0.0,0.0,0.396036,1.0,0.0,0.0,0.414895,1.0,0.0,0.0,0.433754,1.0,0.0,0.0,0.452613,1.0,0.0,0.0,0.471471,1.0,0.0,0.0,0.49033,1.0,0.0,0.0,0.509189,1.0,0.0,0.0,0.528048,1.0,0.0,0.0,0.546907,1.0,0.0,0.0,0.565766,1.0,0.0,0.0,0.584625,1.0,0.0,0.0,0.603483,1.0,0.0,0.0,0.622342,1.0,0.0,0.0,0.641201,1.0,0.0,0.0,0.66006,1.0,0.0,0.0,0.678919,1.0,0.0,0.0,0.697778,1.0,0.0,0.0,0.716637,1.0,0.0,0.0,0.735495,1.0,0.0,0.0,0.754354,1.0,0.0,0.0,0.773213,1.0,0.0,0.0,0.792072,1.0,0.0,0.0,0.810931,1.0,0.0,0.0,0.82979,1.0,0.0,0.0,0.848649,1.0,0.0,0.0,0.867508,1.0,0.0,0.0,0.886366,1.0,0.0,0.0,0.905225,1.0,0.0,0.0,0.924084,1.0,0.0,0.0,0.942943,1.0,0.0,0.0,0.961802,1.0,0.0,0.0,0.980661,1.0,0.0,0.0,0.99952,1.0,0.0,0.0,1.01838,1.0,0.0,0.0,1.03724,1.0,0.0,0.0,1.0561,1.0,0.0,0.0,1.07495,1.0,0.0,0.0,1.09381,1.0,0.0,0.0,1.11267,1.0,0.0,0.0,1.13153,1.0,0.0,0.0,1.15039,1.0,0.0,0.0,1.16925,1.0,0.0,0.0,1.18811,1.0,0.0,0.0,1.20697,1.0,0.0,0.0,1.22583,1.0,0.0,0.0,1.24468,1.0,0.0,0.0,1.26354,1.0,0.0,0.0,1.2824,1.0,0.0,0.0,1.30126,1.0,0.0,0.0,1.32012,1.0,0.0,0.0,1.33898,1.0,0.0,0.0,1.35784,1.0,0.0,0.0,1.3767,1.0,0.0,0.0,1.39556,1.0,0.0,0.0,1.41441,1.0,0.0,0.0,1.43327,1.0,0.0,0.0,1.45213,1.0,0.0,0.0,1.47099,1.0,0.0,0.0,1.48985,1.0,0.0,0.0,1.50871,1.0,0.0,0.0,1.52757,1.0,0.0,0.0,1.54643,1.0,0.0,0.0,1.56529,1.0,0.0,0.0,1.58414,1.0,0.0,0.0,1.603,1.0,0.0,0.0,1.62186,1.0,0.0,0.0,1.64072,1.0,0.0,0.0,1.65958,1.0,0.0,0.0,1.67844,1.0,0.0,0.0,1.6973,1.0,0.0,0.0,1.71616,1.0,0.0,0.0,1.73502,1.0,0.0,0.0,1.75387,1.0,0.0,0.0,1.77273,1.0,0.0,0.0,1.79159,1.0,0.0,0.0,1.81045,1.0,0.0,0.0,1.82931,1.0,0.0,0.0,1.84817};
return value;
}
private double[] getORIENT_3_17_keyValue_2()
{
double[] value = {1.0,0.0,0.0,1.86703,1.0,0.0,0.0,1.88589,1.0,0.0,0.0,1.90474,1.0,0.0,0.0,1.9236,1.0,0.0,0.0,1.94246,1.0,0.0,0.0,1.96132,1.0,0.0,0.0,1.98018,1.0,0.0,0.0,1.99904,1.0,0.0,0.0,2.0179,1.0,0.0,0.0,2.03676,1.0,0.0,0.0,2.05562,1.0,0.0,0.0,2.07447,1.0,0.0,0.0,2.09333,1.0,0.0,0.0,2.11219,1.0,0.0,0.0,2.13105,1.0,0.0,0.0,2.14991,1.0,0.0,0.0,2.16877,1.0,0.0,0.0,2.18763,1.0,0.0,0.0,2.20649,1.0,0.0,0.0,2.22535,1.0,0.0,0.0,2.2442,1.0,0.0,0.0,2.26306,1.0,0.0,0.0,2.28192,1.0,0.0,0.0,2.30078,1.0,0.0,0.0,2.31964,1.0,0.0,0.0,2.3385,1.0,0.0,0.0,2.35736,1.0,0.0,0.0,2.37622,1.0,0.0,0.0,2.39508,1.0,0.0,0.0,2.41393,1.0,0.0,0.0,2.43279,1.0,0.0,0.0,2.45165,1.0,0.0,0.0,2.47051,1.0,0.0,0.0,2.48937,1.0,0.0,0.0,2.50823,1.0,0.0,0.0,2.52709,1.0,0.0,0.0,2.54595,1.0,0.0,0.0,2.5648,1.0,0.0,0.0,2.58366,1.0,0.0,0.0,2.60252,1.0,0.0,0.0,2.62138,1.0,0.0,0.0,2.64024,1.0,0.0,0.0,2.6591,1.0,0.0,0.0,2.67796,1.0,0.0,0.0,2.69682,1.0,0.0,0.0,2.71568,1.0,0.0,0.0,2.73453,1.0,0.0,0.0,2.75339,1.0,0.0,0.0,2.77225,1.0,0.0,0.0,2.79111,1.0,0.0,0.0,2.80997,1.0,0.0,0.0,2.82883,1.0,0.0,0.0,2.84769,1.0,0.0,0.0,2.86655,1.0,0.0,0.0,2.88541,1.0,0.0,0.0,2.90426,1.0,0.0,0.0,2.92312,1.0,0.0,0.0,2.94198,1.0,0.0,0.0,2.96084,1.0,0.0,0.0,2.9797,1.0,0.0,0.0,2.99856,1.0,0.0,0.0,3.01742,1.0,0.0,0.0,3.03628,1.0,0.0,0.0,3.05514,1.0,0.0,0.0,3.07399,1.0,0.0,0.0,3.09285,1.0,0.0,0.0,3.11171,1.0,0.0,0.0,3.13057,1.0,0.0,0.0,3.14943,1.0,0.0,0.0,3.16829,1.0,0.0,0.0,3.18715,1.0,0.0,0.0,3.20601,1.0,0.0,0.0,3.22486,1.0,0.0,0.0,3.24372,1.0,0.0,0.0,3.26258,1.0,0.0,0.0,3.28144,1.0,0.0,0.0,3.3003,1.0,0.0,0.0,3.31916,1.0,0.0,0.0,3.33802,1.0,0.0,0.0,3.35688,1.0,0.0,0.0,3.37574,1.0,0.0,0.0,3.39459,1.0,0.0,0.0,3.41345,1.0,0.0,0.0,3.43231,1.0,0.0,0.0,3.45117,1.0,0.0,0.0,3.47003,1.0,0.0,0.0,3.48889,1.0,0.0,0.0,3.50775,1.0,0.0,0.0,3.52661,1.0,0.0,0.0,3.54547,1.0,0.0,0.0,3.56432,1.0,0.0,0.0,3.58318,1.0,0.0,0.0,3.60204,1.0,0.0,0.0,3.6209,1.0,0.0,0.0,3.63976,1.0,0.0,0.0,3.65862,1.0,0.0,0.0,3.67748,1.0,0.0,0.0,3.69634,1.0,0.0,0.0,3.7152,1.0,0.0,0.0,3.73405};
return value;
}
private double[] getORIENT_3_17_keyValue_3()
{
double[] value = {1.0,0.0,0.0,3.75291,1.0,0.0,0.0,3.77177,1.0,0.0,0.0,3.79063,1.0,0.0,0.0,3.80949,1.0,0.0,0.0,3.82835,1.0,0.0,0.0,3.84721,1.0,0.0,0.0,3.86607,1.0,0.0,0.0,3.88492,1.0,0.0,0.0,3.90378,1.0,0.0,0.0,3.92264,1.0,0.0,0.0,3.9415,1.0,0.0,0.0,3.96036,1.0,0.0,0.0,3.97922,1.0,0.0,0.0,3.99808,1.0,0.0,0.0,4.01694,1.0,0.0,0.0,4.0358,1.0,0.0,0.0,4.05465,1.0,0.0,0.0,4.07351,1.0,0.0,0.0,4.09237,1.0,0.0,0.0,4.11123,1.0,0.0,0.0,4.13009,1.0,0.0,0.0,4.14895,1.0,0.0,0.0,4.16781,1.0,0.0,0.0,4.18667,1.0,0.0,0.0,4.20553,1.0,0.0,0.0,4.22438,1.0,0.0,0.0,4.24324,1.0,0.0,0.0,4.2621,1.0,0.0,0.0,4.28096,1.0,0.0,0.0,4.29982,1.0,0.0,0.0,4.31868,1.0,0.0,0.0,4.33754,1.0,0.0,0.0,4.3564,1.0,0.0,0.0,4.37526,1.0,0.0,0.0,4.39411,1.0,0.0,0.0,4.41297,1.0,0.0,0.0,4.43183,1.0,0.0,0.0,4.45069,1.0,0.0,0.0,4.46955,1.0,0.0,0.0,4.48841,1.0,0.0,0.0,4.50727,1.0,0.0,0.0,4.52613,1.0,0.0,0.0,4.54498,1.0,0.0,0.0,4.56384,1.0,0.0,0.0,4.5827,1.0,0.0,0.0,4.60156,1.0,0.0,0.0,4.62042,1.0,0.0,0.0,4.63928,1.0,0.0,0.0,4.65814,1.0,0.0,0.0,4.677,1.0,0.0,0.0,4.69586,1.0,0.0,0.0,4.71471,1.0,0.0,0.0,4.73357,1.0,0.0,0.0,4.75243,1.0,0.0,0.0,4.77129,1.0,0.0,0.0,4.79015,1.0,0.0,0.0,4.80901,1.0,0.0,0.0,4.82787,1.0,0.0,0.0,4.84673,1.0,0.0,0.0,4.86559,1.0,0.0,0.0,4.88444,1.0,0.0,0.0,4.9033,1.0,0.0,0.0,4.92216,1.0,0.0,0.0,4.94102,1.0,0.0,0.0,4.95988,1.0,0.0,0.0,4.97874,1.0,0.0,0.0,4.9976,1.0,0.0,0.0,5.01646,1.0,0.0,0.0,5.03532,1.0,0.0,0.0,5.05417,1.0,0.0,0.0,5.07303,1.0,0.0,0.0,5.09189,1.0,0.0,0.0,5.11075,1.0,0.0,0.0,5.12961,1.0,0.0,0.0,5.14847,1.0,0.0,0.0,5.16733,1.0,0.0,0.0,5.18619,1.0,0.0,0.0,5.20505,1.0,0.0,0.0,5.2239,1.0,0.0,0.0,5.24276,1.0,0.0,0.0,5.26162,1.0,0.0,0.0,5.28048,1.0,0.0,0.0,5.29934,1.0,0.0,0.0,5.3182,1.0,0.0,0.0,5.33706,1.0,0.0,0.0,5.35592,1.0,0.0,0.0,5.37477,1.0,0.0,0.0,5.39363,1.0,0.0,0.0,5.41249,1.0,0.0,0.0,5.43135,1.0,0.0,0.0,5.45021,1.0,0.0,0.0,5.46907,1.0,0.0,0.0,5.48793,1.0,0.0,0.0,5.50679,1.0,0.0,0.0,5.52565,1.0,0.0,0.0,5.5445,1.0,0.0,0.0,5.56336,1.0,0.0,0.0,5.58222,1.0,0.0,0.0,5.60108,1.0,0.0,0.0,5.61994};
return value;
}
private double[] getORIENT_3_17_keyValue_4()
{
double[] value = {1.0,0.0,0.0,5.6388,1.0,0.0,0.0,5.65766,1.0,0.0,0.0,5.67652,1.0,0.0,0.0,5.69538,1.0,0.0,0.0,5.71423,1.0,0.0,0.0,5.73309,1.0,0.0,0.0,5.75195,1.0,0.0,0.0,5.77081,1.0,0.0,0.0,5.78967,1.0,0.0,0.0,5.80853,1.0,0.0,0.0,5.82739,1.0,0.0,0.0,5.84625,1.0,0.0,0.0,5.86511,1.0,0.0,0.0,5.88396,1.0,0.0,0.0,5.90282,1.0,0.0,0.0,5.92168,1.0,0.0,0.0,5.94054,1.0,0.0,0.0,5.9594,1.0,0.0,0.0,5.97826,1.0,0.0,0.0,5.99712,1.0,0.0,0.0,6.01598,1.0,0.0,0.0,6.03483,1.0,0.0,0.0,6.05369,1.0,0.0,0.0,6.07255,1.0,0.0,0.0,6.09141,1.0,0.0,0.0,6.11027,1.0,0.0,0.0,6.12913,1.0,0.0,0.0,6.14799,1.0,0.0,0.0,6.16685,1.0,0.0,0.0,6.18571,1.0,0.0,0.0,6.20456,1.0,0.0,0.0,6.22342,1.0,0.0,0.0,6.24228,1.0,0.0,0.0,6.26114,0.0,1.0,0.0,0.0,0.0,1.0,0.0,0.0188589,0.0,1.0,0.0,0.0377177,0.0,1.0,0.0,0.0565766,0.0,1.0,0.0,0.0754354,0.0,1.0,0.0,0.0942943,0.0,1.0,0.0,0.113153,0.0,1.0,0.0,0.132012,0.0,1.0,0.0,0.150871,0.0,1.0,0.0,0.16973,0.0,1.0,0.0,0.188589,0.0,1.0,0.0,0.207447,0.0,1.0,0.0,0.226306,0.0,1.0,0.0,0.245165,0.0,1.0,0.0,0.264024,0.0,1.0,0.0,0.282883,0.0,1.0,0.0,0.301742,0.0,1.0,0.0,0.320601,0.0,1.0,0.0,0.339459,0.0,1.0,0.0,0.358318,0.0,1.0,0.0,0.377177,0.0,1.0,0.0,0.396036,0.0,1.0,0.0,0.414895,0.0,1.0,0.0,0.433754,0.0,1.0,0.0,0.452613,0.0,1.0,0.0,0.471471,0.0,1.0,0.0,0.49033,0.0,1.0,0.0,0.509189,0.0,1.0,0.0,0.528048,0.0,1.0,0.0,0.546907,0.0,1.0,0.0,0.565766,0.0,1.0,0.0,0.584625,0.0,1.0,0.0,0.603483,0.0,1.0,0.0,0.622342,0.0,1.0,0.0,0.641201,0.0,1.0,0.0,0.66006,0.0,1.0,0.0,0.678919,0.0,1.0,0.0,0.697778,0.0,1.0,0.0,0.716637,0.0,1.0,0.0,0.735495,0.0,1.0,0.0,0.754354,0.0,1.0,0.0,0.773213,0.0,1.0,0.0,0.792072,0.0,1.0,0.0,0.810931,0.0,1.0,0.0,0.82979,0.0,1.0,0.0,0.848649,0.0,1.0,0.0,0.867508,0.0,1.0,0.0,0.886366,0.0,1.0,0.0,0.905225,0.0,1.0,0.0,0.924084,0.0,1.0,0.0,0.942943,0.0,1.0,0.0,0.961802,0.0,1.0,0.0,0.980661,0.0,1.0,0.0,0.99952,0.0,1.0,0.0,1.01838,0.0,1.0,0.0,1.03724,0.0,1.0,0.0,1.0561,0.0,1.0,0.0,1.07495,0.0,1.0,0.0,1.09381,0.0,1.0,0.0,1.11267,0.0,1.0,0.0,1.13153,0.0,1.0,0.0,1.15039,0.0,1.0,0.0,1.16925,0.0,1.0,0.0,1.18811,0.0,1.0,0.0,1.20697,0.0,1.0,0.0,1.22583};
return value;
}
private double[] getORIENT_3_17_keyValue_5()
{
double[] value = {0.0,1.0,0.0,1.24468,0.0,1.0,0.0,1.26354,0.0,1.0,0.0,1.2824,0.0,1.0,0.0,1.30126,0.0,1.0,0.0,1.32012,0.0,1.0,0.0,1.33898,0.0,1.0,0.0,1.35784,0.0,1.0,0.0,1.3767,0.0,1.0,0.0,1.39556,0.0,1.0,0.0,1.41441,0.0,1.0,0.0,1.43327,0.0,1.0,0.0,1.45213,0.0,1.0,0.0,1.47099,0.0,1.0,0.0,1.48985,0.0,1.0,0.0,1.50871,0.0,1.0,0.0,1.52757,0.0,1.0,0.0,1.54643,0.0,1.0,0.0,1.56529,0.0,1.0,0.0,1.58414,0.0,1.0,0.0,1.603,0.0,1.0,0.0,1.62186,0.0,1.0,0.0,1.64072,0.0,1.0,0.0,1.65958,0.0,1.0,0.0,1.67844,0.0,1.0,0.0,1.6973,0.0,1.0,0.0,1.71616,0.0,1.0,0.0,1.73502,0.0,1.0,0.0,1.75387,0.0,1.0,0.0,1.77273,0.0,1.0,0.0,1.79159,0.0,1.0,0.0,1.81045,0.0,1.0,0.0,1.82931,0.0,1.0,0.0,1.84817,0.0,1.0,0.0,1.86703,0.0,1.0,0.0,1.88589,0.0,1.0,0.0,1.90474,0.0,1.0,0.0,1.9236,0.0,1.0,0.0,1.94246,0.0,1.0,0.0,1.96132,0.0,1.0,0.0,1.98018,0.0,1.0,0.0,1.99904,0.0,1.0,0.0,2.0179,0.0,1.0,0.0,2.03676,0.0,1.0,0.0,2.05562,0.0,1.0,0.0,2.07447,0.0,1.0,0.0,2.09333,0.0,1.0,0.0,2.11219,0.0,1.0,0.0,2.13105,0.0,1.0,0.0,2.14991,0.0,1.0,0.0,2.16877,0.0,1.0,0.0,2.18763,0.0,1.0,0.0,2.20649,0.0,1.0,0.0,2.22535,0.0,1.0,0.0,2.2442,0.0,1.0,0.0,2.26306,0.0,1.0,0.0,2.28192,0.0,1.0,0.0,2.30078,0.0,1.0,0.0,2.31964,0.0,1.0,0.0,2.3385,0.0,1.0,0.0,2.35736,0.0,1.0,0.0,2.37622,0.0,1.0,0.0,2.39508,0.0,1.0,0.0,2.41393,0.0,1.0,0.0,2.43279,0.0,1.0,0.0,2.45165,0.0,1.0,0.0,2.47051,0.0,1.0,0.0,2.48937,0.0,1.0,0.0,2.50823,0.0,1.0,0.0,2.52709,0.0,1.0,0.0,2.54595,0.0,1.0,0.0,2.5648,0.0,1.0,0.0,2.58366,0.0,1.0,0.0,2.60252,0.0,1.0,0.0,2.62138,0.0,1.0,0.0,2.64024,0.0,1.0,0.0,2.6591,0.0,1.0,0.0,2.67796,0.0,1.0,0.0,2.69682,0.0,1.0,0.0,2.71568,0.0,1.0,0.0,2.73453,0.0,1.0,0.0,2.75339,0.0,1.0,0.0,2.77225,0.0,1.0,0.0,2.79111,0.0,1.0,0.0,2.80997,0.0,1.0,0.0,2.82883,0.0,1.0,0.0,2.84769,0.0,1.0,0.0,2.86655,0.0,1.0,0.0,2.88541,0.0,1.0,0.0,2.90426,0.0,1.0,0.0,2.92312,0.0,1.0,0.0,2.94198,0.0,1.0,0.0,2.96084,0.0,1.0,0.0,2.9797,0.0,1.0,0.0,2.99856,0.0,1.0,0.0,3.01742,0.0,1.0,0.0,3.03628,0.0,1.0,0.0,3.05514,0.0,1.0,0.0,3.07399,0.0,1.0,0.0,3.09285,0.0,1.0,0.0,3.11171};
return value;
}
private double[] getORIENT_3_17_keyValue_6()
{
double[] value = {0.0,1.0,0.0,3.13057,0.0,1.0,0.0,3.14943,0.0,1.0,0.0,3.16829,0.0,1.0,0.0,3.18715,0.0,1.0,0.0,3.20601,0.0,1.0,0.0,3.22486,0.0,1.0,0.0,3.24372,0.0,1.0,0.0,3.26258,0.0,1.0,0.0,3.28144,0.0,1.0,0.0,3.3003,0.0,1.0,0.0,3.31916,0.0,1.0,0.0,3.33802,0.0,1.0,0.0,3.35688,0.0,1.0,0.0,3.37574,0.0,1.0,0.0,3.39459,0.0,1.0,0.0,3.41345,0.0,1.0,0.0,3.43231,0.0,1.0,0.0,3.45117,0.0,1.0,0.0,3.47003,0.0,1.0,0.0,3.48889,0.0,1.0,0.0,3.50775,0.0,1.0,0.0,3.52661,0.0,1.0,0.0,3.54547,0.0,1.0,0.0,3.56432,0.0,1.0,0.0,3.58318,0.0,1.0,0.0,3.60204,0.0,1.0,0.0,3.6209,0.0,1.0,0.0,3.63976,0.0,1.0,0.0,3.65862,0.0,1.0,0.0,3.67748,0.0,1.0,0.0,3.69634,0.0,1.0,0.0,3.7152,0.0,1.0,0.0,3.73405,0.0,1.0,0.0,3.75291,0.0,1.0,0.0,3.77177,0.0,1.0,0.0,3.79063,0.0,1.0,0.0,3.80949,0.0,1.0,0.0,3.82835,0.0,1.0,0.0,3.84721,0.0,1.0,0.0,3.86607,0.0,1.0,0.0,3.88492,0.0,1.0,0.0,3.90378,0.0,1.0,0.0,3.92264,0.0,1.0,0.0,3.9415,0.0,1.0,0.0,3.96036,0.0,1.0,0.0,3.97922,0.0,1.0,0.0,3.99808,0.0,1.0,0.0,4.01694,0.0,1.0,0.0,4.0358,0.0,1.0,0.0,4.05465,0.0,1.0,0.0,4.07351,0.0,1.0,0.0,4.09237,0.0,1.0,0.0,4.11123,0.0,1.0,0.0,4.13009,0.0,1.0,0.0,4.14895,0.0,1.0,0.0,4.16781,0.0,1.0,0.0,4.18667,0.0,1.0,0.0,4.20553,0.0,1.0,0.0,4.22438,0.0,1.0,0.0,4.24324,0.0,1.0,0.0,4.2621,0.0,1.0,0.0,4.28096,0.0,1.0,0.0,4.29982,0.0,1.0,0.0,4.31868,0.0,1.0,0.0,4.33754,0.0,1.0,0.0,4.3564,0.0,1.0,0.0,4.37526,0.0,1.0,0.0,4.39411,0.0,1.0,0.0,4.41297,0.0,1.0,0.0,4.43183,0.0,1.0,0.0,4.45069,0.0,1.0,0.0,4.46955,0.0,1.0,0.0,4.48841,0.0,1.0,0.0,4.50727,0.0,1.0,0.0,4.52613,0.0,1.0,0.0,4.54498,0.0,1.0,0.0,4.56384,0.0,1.0,0.0,4.5827,0.0,1.0,0.0,4.60156,0.0,1.0,0.0,4.62042,0.0,1.0,0.0,4.63928,0.0,1.0,0.0,4.65814,0.0,1.0,0.0,4.677,0.0,1.0,0.0,4.69586,0.0,1.0,0.0,4.71471,0.0,1.0,0.0,4.73357,0.0,1.0,0.0,4.75243,0.0,1.0,0.0,4.77129,0.0,1.0,0.0,4.79015,0.0,1.0,0.0,4.80901,0.0,1.0,0.0,4.82787,0.0,1.0,0.0,4.84673,0.0,1.0,0.0,4.86559,0.0,1.0,0.0,4.88444,0.0,1.0,0.0,4.9033,0.0,1.0,0.0,4.92216,0.0,1.0,0.0,4.94102,0.0,1.0,0.0,4.95988,0.0,1.0,0.0,4.97874,0.0,1.0,0.0,4.9976};
return value;
}
private double[] getORIENT_3_17_keyValue_7()
{
double[] value = {0.0,1.0,0.0,5.01646,0.0,1.0,0.0,5.03532,0.0,1.0,0.0,5.05417,0.0,1.0,0.0,5.07303,0.0,1.0,0.0,5.09189,0.0,1.0,0.0,5.11075,0.0,1.0,0.0,5.12961,0.0,1.0,0.0,5.14847,0.0,1.0,0.0,5.16733,0.0,1.0,0.0,5.18619,0.0,1.0,0.0,5.20505,0.0,1.0,0.0,5.2239,0.0,1.0,0.0,5.24276,0.0,1.0,0.0,5.26162,0.0,1.0,0.0,5.28048,0.0,1.0,0.0,5.29934,0.0,1.0,0.0,5.3182,0.0,1.0,0.0,5.33706,0.0,1.0,0.0,5.35592,0.0,1.0,0.0,5.37477,0.0,1.0,0.0,5.39363,0.0,1.0,0.0,5.41249,0.0,1.0,0.0,5.43135,0.0,1.0,0.0,5.45021,0.0,1.0,0.0,5.46907,0.0,1.0,0.0,5.48793,0.0,1.0,0.0,5.50679,0.0,1.0,0.0,5.52565,0.0,1.0,0.0,5.5445,0.0,1.0,0.0,5.56336,0.0,1.0,0.0,5.58222,0.0,1.0,0.0,5.60108,0.0,1.0,0.0,5.61994,0.0,1.0,0.0,5.6388,0.0,1.0,0.0,5.65766,0.0,1.0,0.0,5.67652,0.0,1.0,0.0,5.69538,0.0,1.0,0.0,5.71423,0.0,1.0,0.0,5.73309,0.0,1.0,0.0,5.75195,0.0,1.0,0.0,5.77081,0.0,1.0,0.0,5.78967,0.0,1.0,0.0,5.80853,0.0,1.0,0.0,5.82739,0.0,1.0,0.0,5.84625,0.0,1.0,0.0,5.86511,0.0,1.0,0.0,5.88396,0.0,1.0,0.0,5.90282,0.0,1.0,0.0,5.92168,0.0,1.0,0.0,5.94054,0.0,1.0,0.0,5.9594,0.0,1.0,0.0,5.97826,0.0,1.0,0.0,5.99712,0.0,1.0,0.0,6.01598,0.0,1.0,0.0,6.03483,0.0,1.0,0.0,6.05369,0.0,1.0,0.0,6.07255,0.0,1.0,0.0,6.09141,0.0,1.0,0.0,6.11027,0.0,1.0,0.0,6.12913,0.0,1.0,0.0,6.14799,0.0,1.0,0.0,6.16685,0.0,1.0,0.0,6.18571,0.0,1.0,0.0,6.20456,0.0,1.0,0.0,6.22342,0.0,1.0,0.0,6.24228,0.0,1.0,0.0,6.26114,0.0,0.0,1.0,0.0,0.0,0.0,1.0,0.0188589,0.0,0.0,1.0,0.0377177,0.0,0.0,1.0,0.0565766,0.0,0.0,1.0,0.0754354,0.0,0.0,1.0,0.0942943,0.0,0.0,1.0,0.113153,0.0,0.0,1.0,0.132012,0.0,0.0,1.0,0.150871,0.0,0.0,1.0,0.16973,0.0,0.0,1.0,0.188589,0.0,0.0,1.0,0.207447,0.0,0.0,1.0,0.226306,0.0,0.0,1.0,0.245165,0.0,0.0,1.0,0.264024,0.0,0.0,1.0,0.282883,0.0,0.0,1.0,0.301742,0.0,0.0,1.0,0.320601,0.0,0.0,1.0,0.339459,0.0,0.0,1.0,0.358318,0.0,0.0,1.0,0.377177,0.0,0.0,1.0,0.396036,0.0,0.0,1.0,0.414895,0.0,0.0,1.0,0.433754,0.0,0.0,1.0,0.452613,0.0,0.0,1.0,0.471471,0.0,0.0,1.0,0.49033,0.0,0.0,1.0,0.509189,0.0,0.0,1.0,0.528048,0.0,0.0,1.0,0.546907,0.0,0.0,1.0,0.565766,0.0,0.0,1.0,0.584625,0.0,0.0,1.0,0.603483};
return value;
}
private double[] getORIENT_3_17_keyValue_8()
{
double[] value = {0.0,0.0,1.0,0.622342,0.0,0.0,1.0,0.641201,0.0,0.0,1.0,0.66006,0.0,0.0,1.0,0.678919,0.0,0.0,1.0,0.697778,0.0,0.0,1.0,0.716637,0.0,0.0,1.0,0.735495,0.0,0.0,1.0,0.754354,0.0,0.0,1.0,0.773213,0.0,0.0,1.0,0.792072,0.0,0.0,1.0,0.810931,0.0,0.0,1.0,0.82979,0.0,0.0,1.0,0.848649,0.0,0.0,1.0,0.867508,0.0,0.0,1.0,0.886366,0.0,0.0,1.0,0.905225,0.0,0.0,1.0,0.924084,0.0,0.0,1.0,0.942943,0.0,0.0,1.0,0.961802,0.0,0.0,1.0,0.980661,0.0,0.0,1.0,0.99952,0.0,0.0,1.0,1.01838,0.0,0.0,1.0,1.03724,0.0,0.0,1.0,1.0561,0.0,0.0,1.0,1.07495,0.0,0.0,1.0,1.09381,0.0,0.0,1.0,1.11267,0.0,0.0,1.0,1.13153,0.0,0.0,1.0,1.15039,0.0,0.0,1.0,1.16925,0.0,0.0,1.0,1.18811,0.0,0.0,1.0,1.20697,0.0,0.0,1.0,1.22583,0.0,0.0,1.0,1.24468,0.0,0.0,1.0,1.26354,0.0,0.0,1.0,1.2824,0.0,0.0,1.0,1.30126,0.0,0.0,1.0,1.32012,0.0,0.0,1.0,1.33898,0.0,0.0,1.0,1.35784,0.0,0.0,1.0,1.3767,0.0,0.0,1.0,1.39556,0.0,0.0,1.0,1.41441,0.0,0.0,1.0,1.43327,0.0,0.0,1.0,1.45213,0.0,0.0,1.0,1.47099,0.0,0.0,1.0,1.48985,0.0,0.0,1.0,1.50871,0.0,0.0,1.0,1.52757,0.0,0.0,1.0,1.54643,0.0,0.0,1.0,1.56529,0.0,0.0,1.0,1.58414,0.0,0.0,1.0,1.603,0.0,0.0,1.0,1.62186,0.0,0.0,1.0,1.64072,0.0,0.0,1.0,1.65958,0.0,0.0,1.0,1.67844,0.0,0.0,1.0,1.6973,0.0,0.0,1.0,1.71616,0.0,0.0,1.0,1.73502,0.0,0.0,1.0,1.75387,0.0,0.0,1.0,1.77273,0.0,0.0,1.0,1.79159,0.0,0.0,1.0,1.81045,0.0,0.0,1.0,1.82931,0.0,0.0,1.0,1.84817,0.0,0.0,1.0,1.86703,0.0,0.0,1.0,1.88589,0.0,0.0,1.0,1.90474,0.0,0.0,1.0,1.9236,0.0,0.0,1.0,1.94246,0.0,0.0,1.0,1.96132,0.0,0.0,1.0,1.98018,0.0,0.0,1.0,1.99904,0.0,0.0,1.0,2.0179,0.0,0.0,1.0,2.03676,0.0,0.0,1.0,2.05562,0.0,0.0,1.0,2.07447,0.0,0.0,1.0,2.09333,0.0,0.0,1.0,2.11219,0.0,0.0,1.0,2.13105,0.0,0.0,1.0,2.14991,0.0,0.0,1.0,2.16877,0.0,0.0,1.0,2.18763,0.0,0.0,1.0,2.20649,0.0,0.0,1.0,2.22535,0.0,0.0,1.0,2.2442,0.0,0.0,1.0,2.26306,0.0,0.0,1.0,2.28192,0.0,0.0,1.0,2.30078,0.0,0.0,1.0,2.31964,0.0,0.0,1.0,2.3385,0.0,0.0,1.0,2.35736,0.0,0.0,1.0,2.37622,0.0,0.0,1.0,2.39508,0.0,0.0,1.0,2.41393,0.0,0.0,1.0,2.43279,0.0,0.0,1.0,2.45165,0.0,0.0,1.0,2.47051,0.0,0.0,1.0,2.48937};
return value;
}
private double[] getORIENT_3_17_keyValue_9()
{
double[] value = {0.0,0.0,1.0,2.50823,0.0,0.0,1.0,2.52709,0.0,0.0,1.0,2.54595,0.0,0.0,1.0,2.5648,0.0,0.0,1.0,2.58366,0.0,0.0,1.0,2.60252,0.0,0.0,1.0,2.62138,0.0,0.0,1.0,2.64024,0.0,0.0,1.0,2.6591,0.0,0.0,1.0,2.67796,0.0,0.0,1.0,2.69682,0.0,0.0,1.0,2.71568,0.0,0.0,1.0,2.73453,0.0,0.0,1.0,2.75339,0.0,0.0,1.0,2.77225,0.0,0.0,1.0,2.79111,0.0,0.0,1.0,2.80997,0.0,0.0,1.0,2.82883,0.0,0.0,1.0,2.84769,0.0,0.0,1.0,2.86655,0.0,0.0,1.0,2.88541,0.0,0.0,1.0,2.90426,0.0,0.0,1.0,2.92312,0.0,0.0,1.0,2.94198,0.0,0.0,1.0,2.96084,0.0,0.0,1.0,2.9797,0.0,0.0,1.0,2.99856,0.0,0.0,1.0,3.01742,0.0,0.0,1.0,3.03628,0.0,0.0,1.0,3.05514,0.0,0.0,1.0,3.07399,0.0,0.0,1.0,3.09285,0.0,0.0,1.0,3.11171,0.0,0.0,1.0,3.13057,0.0,0.0,1.0,3.14943,0.0,0.0,1.0,3.16829,0.0,0.0,1.0,3.18715,0.0,0.0,1.0,3.20601,0.0,0.0,1.0,3.22486,0.0,0.0,1.0,3.24372,0.0,0.0,1.0,3.26258,0.0,0.0,1.0,3.28144,0.0,0.0,1.0,3.3003,0.0,0.0,1.0,3.31916,0.0,0.0,1.0,3.33802,0.0,0.0,1.0,3.35688,0.0,0.0,1.0,3.37574,0.0,0.0,1.0,3.39459,0.0,0.0,1.0,3.41345,0.0,0.0,1.0,3.43231,0.0,0.0,1.0,3.45117,0.0,0.0,1.0,3.47003,0.0,0.0,1.0,3.48889,0.0,0.0,1.0,3.50775,0.0,0.0,1.0,3.52661,0.0,0.0,1.0,3.54547,0.0,0.0,1.0,3.56432,0.0,0.0,1.0,3.58318,0.0,0.0,1.0,3.60204,0.0,0.0,1.0,3.6209,0.0,0.0,1.0,3.63976,0.0,0.0,1.0,3.65862,0.0,0.0,1.0,3.67748,0.0,0.0,1.0,3.69634,0.0,0.0,1.0,3.7152,0.0,0.0,1.0,3.73405,0.0,0.0,1.0,3.75291,0.0,0.0,1.0,3.77177,0.0,0.0,1.0,3.79063,0.0,0.0,1.0,3.80949,0.0,0.0,1.0,3.82835,0.0,0.0,1.0,3.84721,0.0,0.0,1.0,3.86607,0.0,0.0,1.0,3.88492,0.0,0.0,1.0,3.90378,0.0,0.0,1.0,3.92264,0.0,0.0,1.0,3.9415,0.0,0.0,1.0,3.96036,0.0,0.0,1.0,3.97922,0.0,0.0,1.0,3.99808,0.0,0.0,1.0,4.01694,0.0,0.0,1.0,4.0358,0.0,0.0,1.0,4.05465,0.0,0.0,1.0,4.07351,0.0,0.0,1.0,4.09237,0.0,0.0,1.0,4.11123,0.0,0.0,1.0,4.13009,0.0,0.0,1.0,4.14895,0.0,0.0,1.0,4.16781,0.0,0.0,1.0,4.18667,0.0,0.0,1.0,4.20553,0.0,0.0,1.0,4.22438,0.0,0.0,1.0,4.24324,0.0,0.0,1.0,4.2621,0.0,0.0,1.0,4.28096,0.0,0.0,1.0,4.29982,0.0,0.0,1.0,4.31868,0.0,0.0,1.0,4.33754,0.0,0.0,1.0,4.3564,0.0,0.0,1.0,4.37526};
return value;
}
private double[] getORIENT_3_17_keyValue_10()
{
double[] value = {0.0,0.0,1.0,4.39411,0.0,0.0,1.0,4.41297,0.0,0.0,1.0,4.43183,0.0,0.0,1.0,4.45069,0.0,0.0,1.0,4.46955,0.0,0.0,1.0,4.48841,0.0,0.0,1.0,4.50727,0.0,0.0,1.0,4.52613,0.0,0.0,1.0,4.54498,0.0,0.0,1.0,4.56384,0.0,0.0,1.0,4.5827,0.0,0.0,1.0,4.60156,0.0,0.0,1.0,4.62042,0.0,0.0,1.0,4.63928,0.0,0.0,1.0,4.65814,0.0,0.0,1.0,4.677,0.0,0.0,1.0,4.69586,0.0,0.0,1.0,4.71471,0.0,0.0,1.0,4.73357,0.0,0.0,1.0,4.75243,0.0,0.0,1.0,4.77129,0.0,0.0,1.0,4.79015,0.0,0.0,1.0,4.80901,0.0,0.0,1.0,4.82787,0.0,0.0,1.0,4.84673,0.0,0.0,1.0,4.86559,0.0,0.0,1.0,4.88444,0.0,0.0,1.0,4.9033,0.0,0.0,1.0,4.92216,0.0,0.0,1.0,4.94102,0.0,0.0,1.0,4.95988,0.0,0.0,1.0,4.97874,0.0,0.0,1.0,4.9976,0.0,0.0,1.0,5.01646,0.0,0.0,1.0,5.03532,0.0,0.0,1.0,5.05417,0.0,0.0,1.0,5.07303,0.0,0.0,1.0,5.09189,0.0,0.0,1.0,5.11075,0.0,0.0,1.0,5.12961,0.0,0.0,1.0,5.14847,0.0,0.0,1.0,5.16733,0.0,0.0,1.0,5.18619,0.0,0.0,1.0,5.20505,0.0,0.0,1.0,5.2239,0.0,0.0,1.0,5.24276,0.0,0.0,1.0,5.26162,0.0,0.0,1.0,5.28048,0.0,0.0,1.0,5.29934,0.0,0.0,1.0,5.3182,0.0,0.0,1.0,5.33706,0.0,0.0,1.0,5.35592,0.0,0.0,1.0,5.37477,0.0,0.0,1.0,5.39363,0.0,0.0,1.0,5.41249,0.0,0.0,1.0,5.43135,0.0,0.0,1.0,5.45021,0.0,0.0,1.0,5.46907,0.0,0.0,1.0,5.48793,0.0,0.0,1.0,5.50679,0.0,0.0,1.0,5.52565,0.0,0.0,1.0,5.5445,0.0,0.0,1.0,5.56336,0.0,0.0,1.0,5.58222,0.0,0.0,1.0,5.60108,0.0,0.0,1.0,5.61994,0.0,0.0,1.0,5.6388,0.0,0.0,1.0,5.65766,0.0,0.0,1.0,5.67652,0.0,0.0,1.0,5.69538,0.0,0.0,1.0,5.71423,0.0,0.0,1.0,5.73309,0.0,0.0,1.0,5.75195,0.0,0.0,1.0,5.77081,0.0,0.0,1.0,5.78967,0.0,0.0,1.0,5.80853,0.0,0.0,1.0,5.82739,0.0,0.0,1.0,5.84625,0.0,0.0,1.0,5.86511,0.0,0.0,1.0,5.88396,0.0,0.0,1.0,5.90282,0.0,0.0,1.0,5.92168,0.0,0.0,1.0,5.94054,0.0,0.0,1.0,5.9594,0.0,0.0,1.0,5.97826,0.0,0.0,1.0,5.99712,0.0,0.0,1.0,6.01598,0.0,0.0,1.0,6.03483,0.0,0.0,1.0,6.05369,0.0,0.0,1.0,6.07255,0.0,0.0,1.0,6.09141,0.0,0.0,1.0,6.11027,0.0,0.0,1.0,6.12913,0.0,0.0,1.0,6.14799,0.0,0.0,1.0,6.16685,0.0,0.0,1.0,6.18571,0.0,0.0,1.0,6.20456,0.0,0.0,1.0,6.22342,0.0,0.0,1.0,6.24228,0.0,0.0,1.0,6.26114};
return value;
}
/** Large attribute array: OrientationInterpolator DEF='ORIENT' key field, scene-graph level=3, element #17, 1000 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 MFFloat getORIENT_3_17_key()
{
MFFloat ORIENT_3_17_key = new MFFloat()/*2.finalize*/
.append(new MFFloat(getORIENT_3_17_key_1()));
return ORIENT_3_17_key;
}
/** Large attribute array: OrientationInterpolator DEF='ORIENT' keyValue field, scene-graph level=3, element #17, 4000 total numbers made up of 1000 4-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 MFRotation getORIENT_3_17_keyValue()
{
MFRotation ORIENT_3_17_keyValue = new MFRotation()/*2.finalize*/
.append(new MFRotation(getORIENT_3_17_keyValue_1()))
.append(new MFRotation(getORIENT_3_17_keyValue_2()))
.append(new MFRotation(getORIENT_3_17_keyValue_3()))
.append(new MFRotation(getORIENT_3_17_keyValue_4()))
.append(new MFRotation(getORIENT_3_17_keyValue_5()))
.append(new MFRotation(getORIENT_3_17_keyValue_6()))
.append(new MFRotation(getORIENT_3_17_keyValue_7()))
.append(new MFRotation(getORIENT_3_17_keyValue_8()))
.append(new MFRotation(getORIENT_3_17_keyValue_9()))
.append(new MFRotation(getORIENT_3_17_keyValue_10()));
return ORIENT_3_17_keyValue;
}
/** The initialized model object, created within initialize() method. */
private X3D x3dModel;
/**
* Provide a
* shallow copy
* of the X3D model.
* @see X3D
* @return keys1000 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 X3D.handleArguments(args)
* @see X3D.validationReport()
* @see CommandLine
* @see CommandLine.USAGE
* @see ConfigurationProperties
*/
public static void main(String args[])
{
System.out.println("Build this X3D model, showing validation diagnostics...");
X3D thisExampleX3dModel = new keys1000().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: \"ConformanceNist.Interpolators.OrientationInterpolator.keys1000\" 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("ConformanceNist.Interpolators.OrientationInterpolator.keys1000 self-validation test results: ");
if (!validationResults.equals("success"))
System.out.println();
System.out.println(validationResults.trim());
}
}
}