You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: Source/Core/AxisAlignedBoundingBox.js
-7
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,6 @@ define([
57
57
/**
58
58
* Computes an instance of an AxisAlignedBoundingBox. The box is determined by
59
59
* finding the points spaced the farthest apart on the x, y, and z axes.
60
-
* @memberof AxisAlignedBoundingBox
61
60
*
62
61
* @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.
63
62
* @param {AxisAlignedBoundingBox} [result] The object onto which to store the result.
@@ -120,7 +119,6 @@ define([
120
119
121
120
/**
122
121
* Duplicates a AxisAlignedBoundingBox instance.
123
-
* @memberof AxisAlignedBoundingBox
124
122
*
125
123
* @param {AxisAlignedBoundingBox} box The bounding box to duplicate.
126
124
* @param {AxisAlignedBoundingBox} [result] The object onto which to store the result.
@@ -144,7 +142,6 @@ define([
144
142
/**
145
143
* Compares the provided AxisAlignedBoundingBox componentwise and returns
146
144
* <code>true</code> if they are equal, <code>false</code> otherwise.
147
-
* @memberof AxisAlignedBoundingBox
148
145
*
149
146
* @param {AxisAlignedBoundingBox} [left] The first AxisAlignedBoundingBox.
150
147
* @param {AxisAlignedBoundingBox} [right] The second AxisAlignedBoundingBox.
@@ -162,7 +159,6 @@ define([
162
159
varintersectScratch=newCartesian3();
163
160
/**
164
161
* Determines which side of a plane a box is located.
165
-
* @memberof AxisAlignedBoundingBox
166
162
*
167
163
* @param {AxisAlignedBoundingBox} box The bounding box to test.
168
164
* @param {Cartesian4} plane The coefficients of the plane in the form <code>ax + by + cz + d = 0</code>
@@ -202,7 +198,6 @@ define([
202
198
203
199
/**
204
200
* Duplicates this AxisAlignedBoundingBox instance.
205
-
* @memberof AxisAlignedBoundingBox
206
201
*
207
202
* @param {AxisAlignedBoundingBox} [result] The object onto which to store the result.
208
203
* @returns {AxisAlignedBoundingBox} The modified result parameter or a new AxisAlignedBoundingBox instance if one was not provided.
@@ -213,7 +208,6 @@ define([
213
208
214
209
/**
215
210
* Determines which side of a plane this box is located.
216
-
* @memberof AxisAlignedBoundingBox
217
211
*
218
212
* @param {Cartesian4} plane The coefficients of the plane in the form <code>ax + by + cz + d = 0</code>
219
213
* where the coefficients a, b, c, and d are the components x, y, z, and w
@@ -230,7 +224,6 @@ define([
230
224
/**
231
225
* Compares this AxisAlignedBoundingBox against the provided AxisAlignedBoundingBox componentwise and returns
232
226
* <code>true</code> if they are equal, <code>false</code> otherwise.
233
-
* @memberof AxisAlignedBoundingBox
234
227
*
235
228
* @param {AxisAlignedBoundingBox} [right] The right hand side AxisAlignedBoundingBox.
236
229
* @returns {Boolean} <code>true</code> if they are equal, <code>false</code> otherwise.
Copy file name to clipboardexpand all lines: Source/Core/BoundingRectangle.js
-10
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,6 @@ define([
64
64
/**
65
65
* Computes a bounding rectangle enclosing the list of 2D points.
66
66
* The rectangle is oriented with the corner at the bottom left.
67
-
* @memberof BoundingRectangle
68
67
*
69
68
* @param {Cartesian2[]} positions List of points that the bounding rectangle will enclose. Each point must have <code>x</code> and <code>y</code> properties.
70
69
* @param {BoundingRectangle} [result] The object onto which to store the result.
@@ -114,7 +113,6 @@ define([
114
113
varfromRectangleUpperRight=newCartographic();
115
114
/**
116
115
* Computes a bounding rectangle from an rectangle.
117
-
* @memberof BoundingRectangle
118
116
*
119
117
* @param {Rectangle} rectangle The valid rectangle used to create a bounding rectangle.
120
118
* @param {Object} [projection=GeographicProjection] The projection used to project the rectangle into 2D.
@@ -150,7 +148,6 @@ define([
150
148
151
149
/**
152
150
* Duplicates a BoundingRectangle instance.
153
-
* @memberof BoundingRectangle
154
151
*
155
152
* @param {BoundingRectangle} rectangle The bounding rectangle to duplicate.
156
153
* @param {BoundingRectangle} [result] The object onto which to store the result.
@@ -174,7 +171,6 @@ define([
174
171
175
172
/**
176
173
* Computes a bounding rectangle that is the union of the left and right bounding rectangles.
177
-
* @memberof BoundingRectangle
178
174
*
179
175
* @param {BoundingRectangle} left A rectangle to enclose in bounding rectangle.
180
176
* @param {BoundingRectangle} right A rectangle to enclose in a bounding rectangle.
@@ -209,7 +205,6 @@ define([
209
205
210
206
/**
211
207
* Computes a bounding rectangle by enlarging the provided rectangle until it contains the provided point.
212
-
* @memberof BoundingRectangle
213
208
*
214
209
* @param {BoundingRectangle} rectangle A rectangle to expand.
215
210
* @param {Cartesian2} point A point to enclose in a bounding rectangle.
@@ -250,7 +245,6 @@ define([
250
245
251
246
/**
252
247
* Determines if two rectangles intersect.
253
-
* @memberof BoundingRectangle
254
248
*
255
249
* @param {BoundingRectangle} left A rectangle to check for intersection.
256
250
* @param {BoundingRectangle} right The other rectangle to check for intersection.
@@ -283,7 +277,6 @@ define([
283
277
/**
284
278
* Compares the provided BoundingRectangles componentwise and returns
285
279
* <code>true</code> if they are equal, <code>false</code> otherwise.
286
-
* @memberof BoundingRectangle
287
280
*
288
281
* @param {BoundingRectangle} [left] The first BoundingRectangle.
289
282
* @param {BoundingRectangle} [right] The second BoundingRectangle.
@@ -301,7 +294,6 @@ define([
301
294
302
295
/**
303
296
* Duplicates this BoundingRectangle instance.
304
-
* @memberof BoundingRectangle
305
297
*
306
298
* @param {BoundingRectangle} [result] The object onto which to store the result.
307
299
* @returns {BoundingRectangle} The modified result parameter or a new BoundingRectangle instance if one was not provided.
@@ -312,7 +304,6 @@ define([
312
304
313
305
/**
314
306
* Determines if this rectangle intersects with another.
315
-
* @memberof BoundingRectangle
316
307
*
317
308
* @param {BoundingRectangle} right A rectangle to check for intersection.
318
309
* @returns {Intersect} <code>Intersect.INTESECTING</code> if the rectangles intersect, <code>Intersect.OUTSIDE</code> otherwise.
@@ -324,7 +315,6 @@ define([
324
315
/**
325
316
* Compares this BoundingRectangle against the provided BoundingRectangle componentwise and returns
326
317
* <code>true</code> if they are equal, <code>false</code> otherwise.
327
-
* @memberof BoundingRectangle
328
318
*
329
319
* @param {BoundingRectangle} [right] The right hand side BoundingRectangle.
330
320
* @returns {Boolean} <code>true</code> if they are equal, <code>false</code> otherwise.
Copy file name to clipboardexpand all lines: Source/Core/BoundingSphere.js
-27
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,6 @@ define([
70
70
* Computes a tight-fitting bounding sphere enclosing a list of 3D Cartesian points.
71
71
* The bounding sphere is computed by running two algorithms, a naive algorithm and
72
72
* Ritter's algorithm. The smaller of the two spheres is used to ensure a tight fit.
73
-
* @memberof BoundingSphere
74
73
*
75
74
* @param {Cartesian3[]} positions An array of points that the bounding sphere will enclose. Each point must have <code>x</code>, <code>y</code>, and <code>z</code> properties.
76
75
* @param {BoundingSphere} [result] The object onto which to store the result.
@@ -222,8 +221,6 @@ define([
222
221
/**
223
222
* Computes a bounding sphere from an rectangle projected in 2D.
224
223
*
225
-
* @memberof BoundingSphere
226
-
*
227
224
* @param {Rectangle} rectangle The rectangle around which to create a bounding sphere.
228
225
* @param {Object} [projection=GeographicProjection] The projection used to project the rectangle into 2D.
229
226
* @param {BoundingSphere} [result] The object onto which to store the result.
@@ -237,8 +234,6 @@ define([
237
234
* Computes a bounding sphere from an rectangle projected in 2D. The bounding sphere accounts for the
238
235
* object's minimum and maximum heights over the rectangle.
239
236
*
240
-
* @memberof BoundingSphere
241
-
*
242
237
* @param {Rectangle} rectangle The rectangle around which to create a bounding sphere.
243
238
* @param {Object} [projection=GeographicProjection] The projection used to project the rectangle into 2D.
244
239
* @param {Number} [minimumHeight=0.0] The minimum height over the rectangle.
@@ -284,7 +279,6 @@ define([
284
279
/**
285
280
* Computes a bounding sphere from an rectangle in 3D. The bounding sphere is created using a subsample of points
286
281
* on the ellipsoid and contained in the rectangle. It may not be accurate for all rectangles on all types of ellipsoids.
287
-
* @memberof BoundingSphere
288
282
*
289
283
* @param {Rectangle} rectangle The valid rectangle used to create a bounding sphere.
290
284
* @param {Ellipsoid} [ellipsoid=Ellipsoid.WGS84] The ellipsoid used to determine positions of the rectangle.
@@ -310,8 +304,6 @@ define([
310
304
* algorithms, a naive algorithm and Ritter's algorithm. The smaller of the two spheres is used to
311
305
* ensure a tight fit.
312
306
*
313
-
* @memberof BoundingSphere
314
-
*
315
307
* @param {Cartesian3[]} positions An array of points that the bounding sphere will enclose. Each point
316
308
* is formed from three elements in the array in the order X, Y, Z.
317
309
* @param {Cartesian3} [center=Cartesian3.ZERO] The position to which the positions are relative, which need not be the
@@ -494,8 +486,6 @@ define([
494
486
* Computes a bounding sphere from the corner points of an axis-aligned bounding box. The sphere
495
487
* tighly and fully encompases the box.
496
488
*
497
-
* @memberof BoundingSphere
498
-
*
499
489
* @param {Number} [corner] The minimum height over the rectangle.
500
490
* @param {Number} [oppositeCorner] The maximum height over the rectangle.
501
491
* @param {BoundingSphere} [result] The object onto which to store the result.
@@ -527,8 +517,6 @@ define([
527
517
/**
528
518
* Creates a bounding sphere encompassing an ellipsoid.
529
519
*
530
-
* @memberof BoundingSphere
531
-
*
532
520
* @param {Ellipsoid} ellipsoid The ellipsoid around which to create a bounding sphere.
533
521
* @param {BoundingSphere} [result] The object onto which to store the result.
534
522
*
@@ -555,7 +543,6 @@ define([
555
543
556
544
/**
557
545
* Duplicates a BoundingSphere instance.
558
-
* @memberof BoundingSphere
559
546
*
560
547
* @param {BoundingSphere} sphere The bounding sphere to duplicate.
561
548
* @param {BoundingSphere} [result] The object onto which to store the result.
@@ -583,7 +570,6 @@ define([
583
570
584
571
/**
585
572
* Stores the provided instance into the provided array.
586
-
* @memberof BoundingSphere
587
573
*
588
574
* @param {BoundingSphere} value The value to pack.
589
575
* @param {Number[]} array The array to pack into.
@@ -611,7 +597,6 @@ define([
611
597
612
598
/**
613
599
* Retrieves an instance from a packed array.
614
-
* @memberof BoundingSphere
615
600
*
616
601
* @param {Number[]} array The packed array.
617
602
* @param {Number} [startingIndex=0] The starting index of the element to be unpacked.
@@ -642,7 +627,6 @@ define([
642
627
varunionScratchCenter=newCartesian3();
643
628
/**
644
629
* Computes a bounding sphere that contains both the left and right bounding spheres.
645
-
* @memberof BoundingSphere
646
630
*
647
631
* @param {BoundingSphere} left A sphere to enclose in a bounding sphere.
648
632
* @param {BoundingSphere} right A sphere to enclose in a bounding sphere.
@@ -682,7 +666,6 @@ define([
682
666
varexpandScratch=newCartesian3();
683
667
/**
684
668
* Computes a bounding sphere by enlarging the provided sphere to contain the provided point.
685
-
* @memberof BoundingSphere
686
669
*
687
670
* @param {BoundingSphere} sphere A sphere to expand.
688
671
* @param {Cartesian3} point A point to enclose in a bounding sphere.
@@ -712,7 +695,6 @@ define([
712
695
713
696
/**
714
697
* Determines which side of a plane a sphere is located.
715
-
* @memberof BoundingSphere
716
698
*
717
699
* @param {BoundingSphere} sphere The bounding sphere to test.
718
700
* @param {Cartesian4} plane The coefficients of the plane in the for ax + by + cz + d = 0
@@ -750,7 +732,6 @@ define([
750
732
751
733
/**
752
734
* Applies a 4x4 affine transformation matrix to a bounding sphere.
753
-
* @memberof BoundingSphere
754
735
*
755
736
* @param {BoundingSphere} sphere The bounding sphere to apply the transformation to.
756
737
* @param {Matrix4} transform The transformation matrix to apply to the bounding sphere.
@@ -782,7 +763,6 @@ define([
782
763
783
764
/**
784
765
* Computes the estimated distance squared from the closest point on a bounding sphere to a point.
785
-
* @memberof BoundingSphere
786
766
*
787
767
* @param {BoundingSphere} sphere The sphere.
788
768
* @param {Cartesian3} cartesian The point
@@ -812,7 +792,6 @@ define([
812
792
* Applies a 4x4 affine transformation matrix to a bounding sphere where there is no scale
813
793
* The transformation matrix is not verified to have a uniform scale of 1.
814
794
* This method is faster than computing the general bounding sphere transform using {@link BoundingSphere.transform}.
815
-
* @memberof BoundingSphere
816
795
*
817
796
* @param {BoundingSphere} sphere The bounding sphere to apply the transformation to.
818
797
* @param {Matrix4} transform The transformation matrix to apply to the bounding sphere.
@@ -852,7 +831,6 @@ define([
852
831
* <br>
853
832
* If you imagine the infinite number of planes with normal direction, this computes the smallest distance to the
854
833
* closest and farthest planes from position that intersect the bounding sphere.
855
-
* @memberof BoundingSphere
856
834
*
857
835
* @param {BoundingSphere} sphere The bounding sphere to calculate the distance to.
858
836
* @param {Cartesian3} position The position to calculate the distance from.
Copy file name to clipboardexpand all lines: Source/Core/BoxGeometry.js
-2
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,6 @@ define([
73
73
74
74
/**
75
75
* Creates a cube centered at the origin given its dimensions.
76
-
* @memberof BoxGeometry
77
76
*
78
77
* @param {Cartesian3} options.dimensions The width, depth, and height of the box stored in the x, y, and z coordinates of the <code>Cartesian3</code>, respectively.
79
78
* @param {VertexFormat} [options.vertexFormat=VertexFormat.DEFAULT] The vertex attributes to be computed.
@@ -116,7 +115,6 @@ define([
116
115
117
116
/**
118
117
* Computes the geometric representation of a box, including its vertices, indices, and a bounding sphere.
119
-
* @memberof BoxGeometry
120
118
*
121
119
* @param {BoxGeometry} boxGeometry A description of the box.
122
120
* @returns {Geometry} The computed vertices and indices.
0 commit comments