EllipsoidTangentPlane-10c6053a.js 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535
  1. /* This file is automatically rebuilt by the Cesium build process. */
  2. define(['exports', './defined-26bd4a03', './Check-da037458', './defaultValue-f2e68450', './Cartesian2-2a723276', './defineProperties-6f7a50f2', './Transforms-65aba0a4', './IntersectionTests-c2360ffa', './Plane-a1a3fd52'], function (exports, defined, Check, defaultValue, Cartesian2, defineProperties, Transforms, IntersectionTests, Plane) { 'use strict';
  3. /**
  4. * Creates an instance of an AxisAlignedBoundingBox from the minimum and maximum points along the x, y, and z axes.
  5. * @alias AxisAlignedBoundingBox
  6. * @constructor
  7. *
  8. * @param {Cartesian3} [minimum=Cartesian3.ZERO] The minimum point along the x, y, and z axes.
  9. * @param {Cartesian3} [maximum=Cartesian3.ZERO] The maximum point along the x, y, and z axes.
  10. * @param {Cartesian3} [center] The center of the box; automatically computed if not supplied.
  11. *
  12. * @see BoundingSphere
  13. * @see BoundingRectangle
  14. */
  15. function AxisAlignedBoundingBox(minimum, maximum, center) {
  16. /**
  17. * The minimum point defining the bounding box.
  18. * @type {Cartesian3}
  19. * @default {@link Cartesian3.ZERO}
  20. */
  21. this.minimum = Cartesian2.Cartesian3.clone(defaultValue.defaultValue(minimum, Cartesian2.Cartesian3.ZERO));
  22. /**
  23. * The maximum point defining the bounding box.
  24. * @type {Cartesian3}
  25. * @default {@link Cartesian3.ZERO}
  26. */
  27. this.maximum = Cartesian2.Cartesian3.clone(defaultValue.defaultValue(maximum, Cartesian2.Cartesian3.ZERO));
  28. //If center was not defined, compute it.
  29. if (!defined.defined(center)) {
  30. center = Cartesian2.Cartesian3.midpoint(this.minimum, this.maximum, new Cartesian2.Cartesian3());
  31. } else {
  32. center = Cartesian2.Cartesian3.clone(center);
  33. }
  34. /**
  35. * The center point of the bounding box.
  36. * @type {Cartesian3}
  37. */
  38. this.center = center;
  39. }
  40. /**
  41. * Computes an instance of an AxisAlignedBoundingBox. The box is determined by
  42. * finding the points spaced the farthest apart on the x, y, and z axes.
  43. *
  44. * @param {Cartesian3[]} positions List of points that the bounding box will enclose. Each point must have a <code>x</code>, <code>y</code>, and <code>z</code> properties.
  45. * @param {AxisAlignedBoundingBox} [result] The object onto which to store the result.
  46. * @returns {AxisAlignedBoundingBox} The modified result parameter or a new AxisAlignedBoundingBox instance if one was not provided.
  47. *
  48. * @example
  49. * // Compute an axis aligned bounding box enclosing two points.
  50. * var box = Cesium.AxisAlignedBoundingBox.fromPoints([new Cesium.Cartesian3(2, 0, 0), new Cesium.Cartesian3(-2, 0, 0)]);
  51. */
  52. AxisAlignedBoundingBox.fromPoints = function(positions, result) {
  53. if (!defined.defined(result)) {
  54. result = new AxisAlignedBoundingBox();
  55. }
  56. if (!defined.defined(positions) || positions.length === 0) {
  57. result.minimum = Cartesian2.Cartesian3.clone(Cartesian2.Cartesian3.ZERO, result.minimum);
  58. result.maximum = Cartesian2.Cartesian3.clone(Cartesian2.Cartesian3.ZERO, result.maximum);
  59. result.center = Cartesian2.Cartesian3.clone(Cartesian2.Cartesian3.ZERO, result.center);
  60. return result;
  61. }
  62. var minimumX = positions[0].x;
  63. var minimumY = positions[0].y;
  64. var minimumZ = positions[0].z;
  65. var maximumX = positions[0].x;
  66. var maximumY = positions[0].y;
  67. var maximumZ = positions[0].z;
  68. var length = positions.length;
  69. for ( var i = 1; i < length; i++) {
  70. var p = positions[i];
  71. var x = p.x;
  72. var y = p.y;
  73. var z = p.z;
  74. minimumX = Math.min(x, minimumX);
  75. maximumX = Math.max(x, maximumX);
  76. minimumY = Math.min(y, minimumY);
  77. maximumY = Math.max(y, maximumY);
  78. minimumZ = Math.min(z, minimumZ);
  79. maximumZ = Math.max(z, maximumZ);
  80. }
  81. var minimum = result.minimum;
  82. minimum.x = minimumX;
  83. minimum.y = minimumY;
  84. minimum.z = minimumZ;
  85. var maximum = result.maximum;
  86. maximum.x = maximumX;
  87. maximum.y = maximumY;
  88. maximum.z = maximumZ;
  89. result.center = Cartesian2.Cartesian3.midpoint(minimum, maximum, result.center);
  90. return result;
  91. };
  92. /**
  93. * Duplicates a AxisAlignedBoundingBox instance.
  94. *
  95. * @param {AxisAlignedBoundingBox} box The bounding box to duplicate.
  96. * @param {AxisAlignedBoundingBox} [result] The object onto which to store the result.
  97. * @returns {AxisAlignedBoundingBox} The modified result parameter or a new AxisAlignedBoundingBox instance if none was provided. (Returns undefined if box is undefined)
  98. */
  99. AxisAlignedBoundingBox.clone = function(box, result) {
  100. if (!defined.defined(box)) {
  101. return undefined;
  102. }
  103. if (!defined.defined(result)) {
  104. return new AxisAlignedBoundingBox(box.minimum, box.maximum, box.center);
  105. }
  106. result.minimum = Cartesian2.Cartesian3.clone(box.minimum, result.minimum);
  107. result.maximum = Cartesian2.Cartesian3.clone(box.maximum, result.maximum);
  108. result.center = Cartesian2.Cartesian3.clone(box.center, result.center);
  109. return result;
  110. };
  111. /**
  112. * Compares the provided AxisAlignedBoundingBox componentwise and returns
  113. * <code>true</code> if they are equal, <code>false</code> otherwise.
  114. *
  115. * @param {AxisAlignedBoundingBox} [left] The first AxisAlignedBoundingBox.
  116. * @param {AxisAlignedBoundingBox} [right] The second AxisAlignedBoundingBox.
  117. * @returns {Boolean} <code>true</code> if left and right are equal, <code>false</code> otherwise.
  118. */
  119. AxisAlignedBoundingBox.equals = function(left, right) {
  120. return (left === right) ||
  121. ((defined.defined(left)) &&
  122. (defined.defined(right)) &&
  123. Cartesian2.Cartesian3.equals(left.center, right.center) &&
  124. Cartesian2.Cartesian3.equals(left.minimum, right.minimum) &&
  125. Cartesian2.Cartesian3.equals(left.maximum, right.maximum));
  126. };
  127. var intersectScratch = new Cartesian2.Cartesian3();
  128. /**
  129. * Determines which side of a plane a box is located.
  130. *
  131. * @param {AxisAlignedBoundingBox} box The bounding box to test.
  132. * @param {Plane} plane The plane to test against.
  133. * @returns {Intersect} {@link Intersect.INSIDE} if the entire box is on the side of the plane
  134. * the normal is pointing, {@link Intersect.OUTSIDE} if the entire box is
  135. * on the opposite side, and {@link Intersect.INTERSECTING} if the box
  136. * intersects the plane.
  137. */
  138. AxisAlignedBoundingBox.intersectPlane = function(box, plane) {
  139. //>>includeStart('debug', pragmas.debug);
  140. Check.Check.defined('box', box);
  141. Check.Check.defined('plane', plane);
  142. //>>includeEnd('debug');
  143. intersectScratch = Cartesian2.Cartesian3.subtract(box.maximum, box.minimum, intersectScratch);
  144. var h = Cartesian2.Cartesian3.multiplyByScalar(intersectScratch, 0.5, intersectScratch); //The positive half diagonal
  145. var normal = plane.normal;
  146. var e = h.x * Math.abs(normal.x) + h.y * Math.abs(normal.y) + h.z * Math.abs(normal.z);
  147. var s = Cartesian2.Cartesian3.dot(box.center, normal) + plane.distance; //signed distance from center
  148. if (s - e > 0) {
  149. return Transforms.Intersect.INSIDE;
  150. }
  151. if (s + e < 0) {
  152. //Not in front because normals point inward
  153. return Transforms.Intersect.OUTSIDE;
  154. }
  155. return Transforms.Intersect.INTERSECTING;
  156. };
  157. /**
  158. * Duplicates this AxisAlignedBoundingBox instance.
  159. *
  160. * @param {AxisAlignedBoundingBox} [result] The object onto which to store the result.
  161. * @returns {AxisAlignedBoundingBox} The modified result parameter or a new AxisAlignedBoundingBox instance if one was not provided.
  162. */
  163. AxisAlignedBoundingBox.prototype.clone = function(result) {
  164. return AxisAlignedBoundingBox.clone(this, result);
  165. };
  166. /**
  167. * Determines which side of a plane this box is located.
  168. *
  169. * @param {Plane} plane The plane to test against.
  170. * @returns {Intersect} {@link Intersect.INSIDE} if the entire box is on the side of the plane
  171. * the normal is pointing, {@link Intersect.OUTSIDE} if the entire box is
  172. * on the opposite side, and {@link Intersect.INTERSECTING} if the box
  173. * intersects the plane.
  174. */
  175. AxisAlignedBoundingBox.prototype.intersectPlane = function(plane) {
  176. return AxisAlignedBoundingBox.intersectPlane(this, plane);
  177. };
  178. /**
  179. * Compares this AxisAlignedBoundingBox against the provided AxisAlignedBoundingBox componentwise and returns
  180. * <code>true</code> if they are equal, <code>false</code> otherwise.
  181. *
  182. * @param {AxisAlignedBoundingBox} [right] The right hand side AxisAlignedBoundingBox.
  183. * @returns {Boolean} <code>true</code> if they are equal, <code>false</code> otherwise.
  184. */
  185. AxisAlignedBoundingBox.prototype.equals = function(right) {
  186. return AxisAlignedBoundingBox.equals(this, right);
  187. };
  188. var scratchCart4 = new Transforms.Cartesian4();
  189. /**
  190. * A plane tangent to the provided ellipsoid at the provided origin.
  191. * If origin is not on the surface of the ellipsoid, it's surface projection will be used.
  192. * If origin is at the center of the ellipsoid, an exception will be thrown.
  193. * @alias EllipsoidTangentPlane
  194. * @constructor
  195. *
  196. * @param {Cartesian3} origin The point on the surface of the ellipsoid where the tangent plane touches.
  197. * @param {Ellipsoid} [ellipsoid=Ellipsoid.WGS84] The ellipsoid to use.
  198. *
  199. * @exception {DeveloperError} origin must not be at the center of the ellipsoid.
  200. */
  201. function EllipsoidTangentPlane(origin, ellipsoid) {
  202. //>>includeStart('debug', pragmas.debug);
  203. Check.Check.defined('origin', origin);
  204. //>>includeEnd('debug');
  205. ellipsoid = defaultValue.defaultValue(ellipsoid, Cartesian2.Ellipsoid.WGS84);
  206. origin = ellipsoid.scaleToGeodeticSurface(origin);
  207. //>>includeStart('debug', pragmas.debug);
  208. if (!defined.defined(origin)) {
  209. throw new Check.DeveloperError('origin must not be at the center of the ellipsoid.');
  210. }
  211. //>>includeEnd('debug');
  212. var eastNorthUp = Transforms.Transforms.eastNorthUpToFixedFrame(origin, ellipsoid);
  213. this._ellipsoid = ellipsoid;
  214. this._origin = origin;
  215. this._xAxis = Cartesian2.Cartesian3.fromCartesian4(Transforms.Matrix4.getColumn(eastNorthUp, 0, scratchCart4));
  216. this._yAxis = Cartesian2.Cartesian3.fromCartesian4(Transforms.Matrix4.getColumn(eastNorthUp, 1, scratchCart4));
  217. var normal = Cartesian2.Cartesian3.fromCartesian4(Transforms.Matrix4.getColumn(eastNorthUp, 2, scratchCart4));
  218. this._plane = Plane.Plane.fromPointNormal(origin, normal);
  219. }
  220. defineProperties.defineProperties(EllipsoidTangentPlane.prototype, {
  221. /**
  222. * Gets the ellipsoid.
  223. * @memberof EllipsoidTangentPlane.prototype
  224. * @type {Ellipsoid}
  225. */
  226. ellipsoid : {
  227. get : function() {
  228. return this._ellipsoid;
  229. }
  230. },
  231. /**
  232. * Gets the origin.
  233. * @memberof EllipsoidTangentPlane.prototype
  234. * @type {Cartesian3}
  235. */
  236. origin : {
  237. get : function() {
  238. return this._origin;
  239. }
  240. },
  241. /**
  242. * Gets the plane which is tangent to the ellipsoid.
  243. * @memberof EllipsoidTangentPlane.prototype
  244. * @readonly
  245. * @type {Plane}
  246. */
  247. plane : {
  248. get : function() {
  249. return this._plane;
  250. }
  251. },
  252. /**
  253. * Gets the local X-axis (east) of the tangent plane.
  254. * @memberof EllipsoidTangentPlane.prototype
  255. * @readonly
  256. * @type {Cartesian3}
  257. */
  258. xAxis : {
  259. get : function() {
  260. return this._xAxis;
  261. }
  262. },
  263. /**
  264. * Gets the local Y-axis (north) of the tangent plane.
  265. * @memberof EllipsoidTangentPlane.prototype
  266. * @readonly
  267. * @type {Cartesian3}
  268. */
  269. yAxis : {
  270. get : function() {
  271. return this._yAxis;
  272. }
  273. },
  274. /**
  275. * Gets the local Z-axis (up) of the tangent plane.
  276. * @member EllipsoidTangentPlane.prototype
  277. * @readonly
  278. * @type {Cartesian3}
  279. */
  280. zAxis : {
  281. get : function() {
  282. return this._plane.normal;
  283. }
  284. }
  285. });
  286. var tmp = new AxisAlignedBoundingBox();
  287. /**
  288. * Creates a new instance from the provided ellipsoid and the center
  289. * point of the provided Cartesians.
  290. *
  291. * @param {Cartesian3} cartesians The list of positions surrounding the center point.
  292. * @param {Ellipsoid} [ellipsoid=Ellipsoid.WGS84] The ellipsoid to use.
  293. */
  294. EllipsoidTangentPlane.fromPoints = function(cartesians, ellipsoid) {
  295. //>>includeStart('debug', pragmas.debug);
  296. Check.Check.defined('cartesians', cartesians);
  297. //>>includeEnd('debug');
  298. var box = AxisAlignedBoundingBox.fromPoints(cartesians, tmp);
  299. return new EllipsoidTangentPlane(box.center, ellipsoid);
  300. };
  301. var scratchProjectPointOntoPlaneRay = new IntersectionTests.Ray();
  302. var scratchProjectPointOntoPlaneCartesian3 = new Cartesian2.Cartesian3();
  303. /**
  304. * Computes the projection of the provided 3D position onto the 2D plane, radially outward from the {@link EllipsoidTangentPlane.ellipsoid} coordinate system origin.
  305. *
  306. * @param {Cartesian3} cartesian The point to project.
  307. * @param {Cartesian2} [result] The object onto which to store the result.
  308. * @returns {Cartesian2} The modified result parameter or a new Cartesian2 instance if none was provided. Undefined if there is no intersection point
  309. */
  310. EllipsoidTangentPlane.prototype.projectPointOntoPlane = function(cartesian, result) {
  311. //>>includeStart('debug', pragmas.debug);
  312. Check.Check.defined('cartesian', cartesian);
  313. //>>includeEnd('debug');
  314. var ray = scratchProjectPointOntoPlaneRay;
  315. ray.origin = cartesian;
  316. Cartesian2.Cartesian3.normalize(cartesian, ray.direction);
  317. var intersectionPoint = IntersectionTests.IntersectionTests.rayPlane(ray, this._plane, scratchProjectPointOntoPlaneCartesian3);
  318. if (!defined.defined(intersectionPoint)) {
  319. Cartesian2.Cartesian3.negate(ray.direction, ray.direction);
  320. intersectionPoint = IntersectionTests.IntersectionTests.rayPlane(ray, this._plane, scratchProjectPointOntoPlaneCartesian3);
  321. }
  322. if (defined.defined(intersectionPoint)) {
  323. var v = Cartesian2.Cartesian3.subtract(intersectionPoint, this._origin, intersectionPoint);
  324. var x = Cartesian2.Cartesian3.dot(this._xAxis, v);
  325. var y = Cartesian2.Cartesian3.dot(this._yAxis, v);
  326. if (!defined.defined(result)) {
  327. return new Cartesian2.Cartesian2(x, y);
  328. }
  329. result.x = x;
  330. result.y = y;
  331. return result;
  332. }
  333. return undefined;
  334. };
  335. /**
  336. * Computes the projection of the provided 3D positions onto the 2D plane (where possible), radially outward from the global origin.
  337. * The resulting array may be shorter than the input array - if a single projection is impossible it will not be included.
  338. *
  339. * @see EllipsoidTangentPlane.projectPointOntoPlane
  340. *
  341. * @param {Cartesian3[]} cartesians The array of points to project.
  342. * @param {Cartesian2[]} [result] The array of Cartesian2 instances onto which to store results.
  343. * @returns {Cartesian2[]} The modified result parameter or a new array of Cartesian2 instances if none was provided.
  344. */
  345. EllipsoidTangentPlane.prototype.projectPointsOntoPlane = function(cartesians, result) {
  346. //>>includeStart('debug', pragmas.debug);
  347. Check.Check.defined('cartesians', cartesians);
  348. //>>includeEnd('debug');
  349. if (!defined.defined(result)) {
  350. result = [];
  351. }
  352. var count = 0;
  353. var length = cartesians.length;
  354. for ( var i = 0; i < length; i++) {
  355. var p = this.projectPointOntoPlane(cartesians[i], result[count]);
  356. if (defined.defined(p)) {
  357. result[count] = p;
  358. count++;
  359. }
  360. }
  361. result.length = count;
  362. return result;
  363. };
  364. /**
  365. * Computes the projection of the provided 3D position onto the 2D plane, along the plane normal.
  366. *
  367. * @param {Cartesian3} cartesian The point to project.
  368. * @param {Cartesian2} [result] The object onto which to store the result.
  369. * @returns {Cartesian2} The modified result parameter or a new Cartesian2 instance if none was provided.
  370. */
  371. EllipsoidTangentPlane.prototype.projectPointToNearestOnPlane = function(cartesian, result) {
  372. //>>includeStart('debug', pragmas.debug);
  373. Check.Check.defined('cartesian', cartesian);
  374. //>>includeEnd('debug');
  375. if (!defined.defined(result)) {
  376. result = new Cartesian2.Cartesian2();
  377. }
  378. var ray = scratchProjectPointOntoPlaneRay;
  379. ray.origin = cartesian;
  380. Cartesian2.Cartesian3.clone(this._plane.normal, ray.direction);
  381. var intersectionPoint = IntersectionTests.IntersectionTests.rayPlane(ray, this._plane, scratchProjectPointOntoPlaneCartesian3);
  382. if (!defined.defined(intersectionPoint)) {
  383. Cartesian2.Cartesian3.negate(ray.direction, ray.direction);
  384. intersectionPoint = IntersectionTests.IntersectionTests.rayPlane(ray, this._plane, scratchProjectPointOntoPlaneCartesian3);
  385. }
  386. var v = Cartesian2.Cartesian3.subtract(intersectionPoint, this._origin, intersectionPoint);
  387. var x = Cartesian2.Cartesian3.dot(this._xAxis, v);
  388. var y = Cartesian2.Cartesian3.dot(this._yAxis, v);
  389. result.x = x;
  390. result.y = y;
  391. return result;
  392. };
  393. /**
  394. * Computes the projection of the provided 3D positions onto the 2D plane, along the plane normal.
  395. *
  396. * @see EllipsoidTangentPlane.projectPointToNearestOnPlane
  397. *
  398. * @param {Cartesian3[]} cartesians The array of points to project.
  399. * @param {Cartesian2[]} [result] The array of Cartesian2 instances onto which to store results.
  400. * @returns {Cartesian2[]} The modified result parameter or a new array of Cartesian2 instances if none was provided. This will have the same length as <code>cartesians</code>.
  401. */
  402. EllipsoidTangentPlane.prototype.projectPointsToNearestOnPlane = function(cartesians, result) {
  403. //>>includeStart('debug', pragmas.debug);
  404. Check.Check.defined('cartesians', cartesians);
  405. //>>includeEnd('debug');
  406. if (!defined.defined(result)) {
  407. result = [];
  408. }
  409. var length = cartesians.length;
  410. result.length = length;
  411. for (var i = 0; i < length; i++) {
  412. result[i] = this.projectPointToNearestOnPlane(cartesians[i], result[i]);
  413. }
  414. return result;
  415. };
  416. var projectPointsOntoEllipsoidScratch = new Cartesian2.Cartesian3();
  417. /**
  418. * Computes the projection of the provided 2D position onto the 3D ellipsoid.
  419. *
  420. * @param {Cartesian2} cartesian The points to project.
  421. * @param {Cartesian3} [result] The Cartesian3 instance to store result.
  422. * @returns {Cartesian3} The modified result parameter or a new Cartesian3 instance if none was provided.
  423. */
  424. EllipsoidTangentPlane.prototype.projectPointOntoEllipsoid = function(cartesian, result) {
  425. //>>includeStart('debug', pragmas.debug);
  426. Check.Check.defined('cartesian', cartesian);
  427. //>>includeEnd('debug');
  428. if (!defined.defined(result)) {
  429. result = new Cartesian2.Cartesian3();
  430. }
  431. var ellipsoid = this._ellipsoid;
  432. var origin = this._origin;
  433. var xAxis = this._xAxis;
  434. var yAxis = this._yAxis;
  435. var tmp = projectPointsOntoEllipsoidScratch;
  436. Cartesian2.Cartesian3.multiplyByScalar(xAxis, cartesian.x, tmp);
  437. result = Cartesian2.Cartesian3.add(origin, tmp, result);
  438. Cartesian2.Cartesian3.multiplyByScalar(yAxis, cartesian.y, tmp);
  439. Cartesian2.Cartesian3.add(result, tmp, result);
  440. ellipsoid.scaleToGeocentricSurface(result, result);
  441. return result;
  442. };
  443. /**
  444. * Computes the projection of the provided 2D positions onto the 3D ellipsoid.
  445. *
  446. * @param {Cartesian2[]} cartesians The array of points to project.
  447. * @param {Cartesian3[]} [result] The array of Cartesian3 instances onto which to store results.
  448. * @returns {Cartesian3[]} The modified result parameter or a new array of Cartesian3 instances if none was provided.
  449. */
  450. EllipsoidTangentPlane.prototype.projectPointsOntoEllipsoid = function(cartesians, result) {
  451. //>>includeStart('debug', pragmas.debug);
  452. Check.Check.defined('cartesians', cartesians);
  453. //>>includeEnd('debug');
  454. var length = cartesians.length;
  455. if (!defined.defined(result)) {
  456. result = new Array(length);
  457. } else {
  458. result.length = length;
  459. }
  460. for ( var i = 0; i < length; ++i) {
  461. result[i] = this.projectPointOntoEllipsoid(cartesians[i], result[i]);
  462. }
  463. return result;
  464. };
  465. exports.AxisAlignedBoundingBox = AxisAlignedBoundingBox;
  466. exports.EllipsoidTangentPlane = EllipsoidTangentPlane;
  467. });