Skip to content

Commit 8e0437f

Browse files
committed
Merge pull request #1780 from AnalyticalGraphicsInc/refdoc
Clean up memberof in reference doc
2 parents 2968229 + c5f5e2f commit 8e0437f

File tree

241 files changed

+222
-1676
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

241 files changed

+222
-1676
lines changed

Source/Core/ArcGisImageServerTerrainProvider.js

-6
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,6 @@ define([
157157
* {@link ArcGisImageServerTerrainProvider#ready} returns true. The result includes terrain
158158
* data and indicates that all child tiles are available.
159159
*
160-
* @memberof ArcGisImageServerTerrainProvider
161-
*
162160
* @param {Number} x The X coordinate of the tile for which to request geometry.
163161
* @param {Number} y The Y coordinate of the tile for which to request geometry.
164162
* @param {Number} level The level of the tile for which to request geometry.
@@ -213,8 +211,6 @@ define([
213211
/**
214212
* Gets the maximum geometric error allowed in a tile at a given level.
215213
*
216-
* @memberof ArcGisImageServerTerrainProvider
217-
*
218214
* @param {Number} level The tile level for which to get the maximum geometric error.
219215
* @returns {Number} The maximum geometric error.
220216
*/
@@ -227,8 +223,6 @@ define([
227223
* indicates which areas of the globe are water rather than land, so they can be rendered
228224
* as a reflective surface with animated waves.
229225
*
230-
* @memberof ArcGisImageServerTerrainProvider
231-
*
232226
* @returns {Boolean} True if the provider has a water mask; otherwise, false.
233227
*/
234228
ArcGisImageServerTerrainProvider.prototype.hasWaterMask = function() {

Source/Core/AssociativeArray.js

-4
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ define([
5050
/**
5151
* Associates the provided key with the provided value. If the key already
5252
* exists, it is overwritten with the new value.
53-
* @memberof AssociativeArray
5453
*
5554
* @param {String|Number} key A unique identifier.
5655
* @param {Object} value The value to associate with the provided key.
@@ -69,7 +68,6 @@ define([
6968

7069
/**
7170
* Retrieves the value associated with the provided key.
72-
* @memberof AssociativeArray
7371
*
7472
* @param {String|Number} key The key whose value is to be retrieved.
7573
* @returns {Object} The associated value, or undefined if the key does not exist in the collection.
@@ -85,7 +83,6 @@ define([
8583

8684
/**
8785
* Removes a key-value pair from the collection.
88-
* @memberof AssociativeArray
8986
*
9087
* @param {String|Number} key The key to be removed.
9188
* @returns {Boolean} True if it was removed, false if the key was not in the collection.
@@ -109,7 +106,6 @@ define([
109106

110107
/**
111108
* Clears the collection.
112-
* @memberof AssociativeArray
113109
*/
114110
AssociativeArray.prototype.removeAll = function() {
115111
this._hash = {};

Source/Core/AxisAlignedBoundingBox.js

-7
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ define([
5757
/**
5858
* Computes an instance of an AxisAlignedBoundingBox. The box is determined by
5959
* finding the points spaced the farthest apart on the x, y, and z axes.
60-
* @memberof AxisAlignedBoundingBox
6160
*
6261
* @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.
6362
* @param {AxisAlignedBoundingBox} [result] The object onto which to store the result.
@@ -120,7 +119,6 @@ define([
120119

121120
/**
122121
* Duplicates a AxisAlignedBoundingBox instance.
123-
* @memberof AxisAlignedBoundingBox
124122
*
125123
* @param {AxisAlignedBoundingBox} box The bounding box to duplicate.
126124
* @param {AxisAlignedBoundingBox} [result] The object onto which to store the result.
@@ -144,7 +142,6 @@ define([
144142
/**
145143
* Compares the provided AxisAlignedBoundingBox componentwise and returns
146144
* <code>true</code> if they are equal, <code>false</code> otherwise.
147-
* @memberof AxisAlignedBoundingBox
148145
*
149146
* @param {AxisAlignedBoundingBox} [left] The first AxisAlignedBoundingBox.
150147
* @param {AxisAlignedBoundingBox} [right] The second AxisAlignedBoundingBox.
@@ -162,7 +159,6 @@ define([
162159
var intersectScratch = new Cartesian3();
163160
/**
164161
* Determines which side of a plane a box is located.
165-
* @memberof AxisAlignedBoundingBox
166162
*
167163
* @param {AxisAlignedBoundingBox} box The bounding box to test.
168164
* @param {Cartesian4} plane The coefficients of the plane in the form <code>ax + by + cz + d = 0</code>
@@ -202,7 +198,6 @@ define([
202198

203199
/**
204200
* Duplicates this AxisAlignedBoundingBox instance.
205-
* @memberof AxisAlignedBoundingBox
206201
*
207202
* @param {AxisAlignedBoundingBox} [result] The object onto which to store the result.
208203
* @returns {AxisAlignedBoundingBox} The modified result parameter or a new AxisAlignedBoundingBox instance if one was not provided.
@@ -213,7 +208,6 @@ define([
213208

214209
/**
215210
* Determines which side of a plane this box is located.
216-
* @memberof AxisAlignedBoundingBox
217211
*
218212
* @param {Cartesian4} plane The coefficients of the plane in the form <code>ax + by + cz + d = 0</code>
219213
* where the coefficients a, b, c, and d are the components x, y, z, and w
@@ -230,7 +224,6 @@ define([
230224
/**
231225
* Compares this AxisAlignedBoundingBox against the provided AxisAlignedBoundingBox componentwise and returns
232226
* <code>true</code> if they are equal, <code>false</code> otherwise.
233-
* @memberof AxisAlignedBoundingBox
234227
*
235228
* @param {AxisAlignedBoundingBox} [right] The right hand side AxisAlignedBoundingBox.
236229
* @returns {Boolean} <code>true</code> if they are equal, <code>false</code> otherwise.

Source/Core/BoundingRectangle.js

-10
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ define([
6464
/**
6565
* Computes a bounding rectangle enclosing the list of 2D points.
6666
* The rectangle is oriented with the corner at the bottom left.
67-
* @memberof BoundingRectangle
6867
*
6968
* @param {Cartesian2[]} positions List of points that the bounding rectangle will enclose. Each point must have <code>x</code> and <code>y</code> properties.
7069
* @param {BoundingRectangle} [result] The object onto which to store the result.
@@ -114,7 +113,6 @@ define([
114113
var fromRectangleUpperRight = new Cartographic();
115114
/**
116115
* Computes a bounding rectangle from an rectangle.
117-
* @memberof BoundingRectangle
118116
*
119117
* @param {Rectangle} rectangle The valid rectangle used to create a bounding rectangle.
120118
* @param {Object} [projection=GeographicProjection] The projection used to project the rectangle into 2D.
@@ -150,7 +148,6 @@ define([
150148

151149
/**
152150
* Duplicates a BoundingRectangle instance.
153-
* @memberof BoundingRectangle
154151
*
155152
* @param {BoundingRectangle} rectangle The bounding rectangle to duplicate.
156153
* @param {BoundingRectangle} [result] The object onto which to store the result.
@@ -174,7 +171,6 @@ define([
174171

175172
/**
176173
* Computes a bounding rectangle that is the union of the left and right bounding rectangles.
177-
* @memberof BoundingRectangle
178174
*
179175
* @param {BoundingRectangle} left A rectangle to enclose in bounding rectangle.
180176
* @param {BoundingRectangle} right A rectangle to enclose in a bounding rectangle.
@@ -209,7 +205,6 @@ define([
209205

210206
/**
211207
* Computes a bounding rectangle by enlarging the provided rectangle until it contains the provided point.
212-
* @memberof BoundingRectangle
213208
*
214209
* @param {BoundingRectangle} rectangle A rectangle to expand.
215210
* @param {Cartesian2} point A point to enclose in a bounding rectangle.
@@ -250,7 +245,6 @@ define([
250245

251246
/**
252247
* Determines if two rectangles intersect.
253-
* @memberof BoundingRectangle
254248
*
255249
* @param {BoundingRectangle} left A rectangle to check for intersection.
256250
* @param {BoundingRectangle} right The other rectangle to check for intersection.
@@ -283,7 +277,6 @@ define([
283277
/**
284278
* Compares the provided BoundingRectangles componentwise and returns
285279
* <code>true</code> if they are equal, <code>false</code> otherwise.
286-
* @memberof BoundingRectangle
287280
*
288281
* @param {BoundingRectangle} [left] The first BoundingRectangle.
289282
* @param {BoundingRectangle} [right] The second BoundingRectangle.
@@ -301,7 +294,6 @@ define([
301294

302295
/**
303296
* Duplicates this BoundingRectangle instance.
304-
* @memberof BoundingRectangle
305297
*
306298
* @param {BoundingRectangle} [result] The object onto which to store the result.
307299
* @returns {BoundingRectangle} The modified result parameter or a new BoundingRectangle instance if one was not provided.
@@ -312,7 +304,6 @@ define([
312304

313305
/**
314306
* Determines if this rectangle intersects with another.
315-
* @memberof BoundingRectangle
316307
*
317308
* @param {BoundingRectangle} right A rectangle to check for intersection.
318309
* @returns {Intersect} <code>Intersect.INTESECTING</code> if the rectangles intersect, <code>Intersect.OUTSIDE</code> otherwise.
@@ -324,7 +315,6 @@ define([
324315
/**
325316
* Compares this BoundingRectangle against the provided BoundingRectangle componentwise and returns
326317
* <code>true</code> if they are equal, <code>false</code> otherwise.
327-
* @memberof BoundingRectangle
328318
*
329319
* @param {BoundingRectangle} [right] The right hand side BoundingRectangle.
330320
* @returns {Boolean} <code>true</code> if they are equal, <code>false</code> otherwise.

Source/Core/BoundingSphere.js

-27
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ define([
7070
* Computes a tight-fitting bounding sphere enclosing a list of 3D Cartesian points.
7171
* The bounding sphere is computed by running two algorithms, a naive algorithm and
7272
* Ritter's algorithm. The smaller of the two spheres is used to ensure a tight fit.
73-
* @memberof BoundingSphere
7473
*
7574
* @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.
7675
* @param {BoundingSphere} [result] The object onto which to store the result.
@@ -222,8 +221,6 @@ define([
222221
/**
223222
* Computes a bounding sphere from an rectangle projected in 2D.
224223
*
225-
* @memberof BoundingSphere
226-
*
227224
* @param {Rectangle} rectangle The rectangle around which to create a bounding sphere.
228225
* @param {Object} [projection=GeographicProjection] The projection used to project the rectangle into 2D.
229226
* @param {BoundingSphere} [result] The object onto which to store the result.
@@ -237,8 +234,6 @@ define([
237234
* Computes a bounding sphere from an rectangle projected in 2D. The bounding sphere accounts for the
238235
* object's minimum and maximum heights over the rectangle.
239236
*
240-
* @memberof BoundingSphere
241-
*
242237
* @param {Rectangle} rectangle The rectangle around which to create a bounding sphere.
243238
* @param {Object} [projection=GeographicProjection] The projection used to project the rectangle into 2D.
244239
* @param {Number} [minimumHeight=0.0] The minimum height over the rectangle.
@@ -284,7 +279,6 @@ define([
284279
/**
285280
* Computes a bounding sphere from an rectangle in 3D. The bounding sphere is created using a subsample of points
286281
* on the ellipsoid and contained in the rectangle. It may not be accurate for all rectangles on all types of ellipsoids.
287-
* @memberof BoundingSphere
288282
*
289283
* @param {Rectangle} rectangle The valid rectangle used to create a bounding sphere.
290284
* @param {Ellipsoid} [ellipsoid=Ellipsoid.WGS84] The ellipsoid used to determine positions of the rectangle.
@@ -310,8 +304,6 @@ define([
310304
* algorithms, a naive algorithm and Ritter's algorithm. The smaller of the two spheres is used to
311305
* ensure a tight fit.
312306
*
313-
* @memberof BoundingSphere
314-
*
315307
* @param {Cartesian3[]} positions An array of points that the bounding sphere will enclose. Each point
316308
* is formed from three elements in the array in the order X, Y, Z.
317309
* @param {Cartesian3} [center=Cartesian3.ZERO] The position to which the positions are relative, which need not be the
@@ -494,8 +486,6 @@ define([
494486
* Computes a bounding sphere from the corner points of an axis-aligned bounding box. The sphere
495487
* tighly and fully encompases the box.
496488
*
497-
* @memberof BoundingSphere
498-
*
499489
* @param {Number} [corner] The minimum height over the rectangle.
500490
* @param {Number} [oppositeCorner] The maximum height over the rectangle.
501491
* @param {BoundingSphere} [result] The object onto which to store the result.
@@ -527,8 +517,6 @@ define([
527517
/**
528518
* Creates a bounding sphere encompassing an ellipsoid.
529519
*
530-
* @memberof BoundingSphere
531-
*
532520
* @param {Ellipsoid} ellipsoid The ellipsoid around which to create a bounding sphere.
533521
* @param {BoundingSphere} [result] The object onto which to store the result.
534522
*
@@ -555,7 +543,6 @@ define([
555543

556544
/**
557545
* Duplicates a BoundingSphere instance.
558-
* @memberof BoundingSphere
559546
*
560547
* @param {BoundingSphere} sphere The bounding sphere to duplicate.
561548
* @param {BoundingSphere} [result] The object onto which to store the result.
@@ -583,7 +570,6 @@ define([
583570

584571
/**
585572
* Stores the provided instance into the provided array.
586-
* @memberof BoundingSphere
587573
*
588574
* @param {BoundingSphere} value The value to pack.
589575
* @param {Number[]} array The array to pack into.
@@ -611,7 +597,6 @@ define([
611597

612598
/**
613599
* Retrieves an instance from a packed array.
614-
* @memberof BoundingSphere
615600
*
616601
* @param {Number[]} array The packed array.
617602
* @param {Number} [startingIndex=0] The starting index of the element to be unpacked.
@@ -642,7 +627,6 @@ define([
642627
var unionScratchCenter = new Cartesian3();
643628
/**
644629
* Computes a bounding sphere that contains both the left and right bounding spheres.
645-
* @memberof BoundingSphere
646630
*
647631
* @param {BoundingSphere} left A sphere to enclose in a bounding sphere.
648632
* @param {BoundingSphere} right A sphere to enclose in a bounding sphere.
@@ -682,7 +666,6 @@ define([
682666
var expandScratch = new Cartesian3();
683667
/**
684668
* Computes a bounding sphere by enlarging the provided sphere to contain the provided point.
685-
* @memberof BoundingSphere
686669
*
687670
* @param {BoundingSphere} sphere A sphere to expand.
688671
* @param {Cartesian3} point A point to enclose in a bounding sphere.
@@ -712,7 +695,6 @@ define([
712695

713696
/**
714697
* Determines which side of a plane a sphere is located.
715-
* @memberof BoundingSphere
716698
*
717699
* @param {BoundingSphere} sphere The bounding sphere to test.
718700
* @param {Cartesian4} plane The coefficients of the plane in the for ax + by + cz + d = 0
@@ -750,7 +732,6 @@ define([
750732

751733
/**
752734
* Applies a 4x4 affine transformation matrix to a bounding sphere.
753-
* @memberof BoundingSphere
754735
*
755736
* @param {BoundingSphere} sphere The bounding sphere to apply the transformation to.
756737
* @param {Matrix4} transform The transformation matrix to apply to the bounding sphere.
@@ -782,7 +763,6 @@ define([
782763

783764
/**
784765
* Computes the estimated distance squared from the closest point on a bounding sphere to a point.
785-
* @memberof BoundingSphere
786766
*
787767
* @param {BoundingSphere} sphere The sphere.
788768
* @param {Cartesian3} cartesian The point
@@ -812,7 +792,6 @@ define([
812792
* Applies a 4x4 affine transformation matrix to a bounding sphere where there is no scale
813793
* The transformation matrix is not verified to have a uniform scale of 1.
814794
* This method is faster than computing the general bounding sphere transform using {@link BoundingSphere.transform}.
815-
* @memberof BoundingSphere
816795
*
817796
* @param {BoundingSphere} sphere The bounding sphere to apply the transformation to.
818797
* @param {Matrix4} transform The transformation matrix to apply to the bounding sphere.
@@ -852,7 +831,6 @@ define([
852831
* <br>
853832
* If you imagine the infinite number of planes with normal direction, this computes the smallest distance to the
854833
* closest and farthest planes from position that intersect the bounding sphere.
855-
* @memberof BoundingSphere
856834
*
857835
* @param {BoundingSphere} sphere The bounding sphere to calculate the distance to.
858836
* @param {Cartesian3} position The position to calculate the distance from.
@@ -901,7 +879,6 @@ define([
901879
var projectTo2DProjection = new GeographicProjection();
902880
/**
903881
* Creates a bounding sphere in 2D from a bounding sphere in 3D world coordinates.
904-
* @memberof BoundingSphere
905882
*
906883
* @param {BoundingSphere} sphere The bounding sphere to transform to 2D.
907884
* @param {Object} [projection=GeographicProjection] The projection to 2D.
@@ -1003,7 +980,6 @@ define([
1003980
/**
1004981
* Compares the provided BoundingSphere componentwise and returns
1005982
* <code>true</code> if they are equal, <code>false</code> otherwise.
1006-
* @memberof BoundingSphere
1007983
*
1008984
* @param {BoundingSphere} [left] The first BoundingSphere.
1009985
* @param {BoundingSphere} [right] The second BoundingSphere.
@@ -1019,7 +995,6 @@ define([
1019995

1020996
/**
1021997
* Determines which side of a plane the sphere is located.
1022-
* @memberof BoundingSphere
1023998
*
1024999
* @param {Cartesian4} plane The coefficients of the plane in the for ax + by + cz + d = 0
10251000
* where the coefficients a, b, c, and d are the components x, y, z,
@@ -1036,7 +1011,6 @@ define([
10361011
/**
10371012
* Compares this BoundingSphere against the provided BoundingSphere componentwise and returns
10381013
* <code>true</code> if they are equal, <code>false</code> otherwise.
1039-
* @memberof BoundingSphere
10401014
*
10411015
* @param {BoundingSphere} [right] The right hand side BoundingSphere.
10421016
* @returns {Boolean} <code>true</code> if they are equal, <code>false</code> otherwise.
@@ -1047,7 +1021,6 @@ define([
10471021

10481022
/**
10491023
* Duplicates this BoundingSphere instance.
1050-
* @memberof BoundingSphere
10511024
*
10521025
* @param {BoundingSphere} [result] The object onto which to store the result.
10531026
* @returns {BoundingSphere} The modified result parameter or a new BoundingSphere instance if none was provided.

Source/Core/BoxGeometry.js

-2
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ define([
7373

7474
/**
7575
* Creates a cube centered at the origin given its dimensions.
76-
* @memberof BoxGeometry
7776
*
7877
* @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.
7978
* @param {VertexFormat} [options.vertexFormat=VertexFormat.DEFAULT] The vertex attributes to be computed.
@@ -116,7 +115,6 @@ define([
116115

117116
/**
118117
* Computes the geometric representation of a box, including its vertices, indices, and a bounding sphere.
119-
* @memberof BoxGeometry
120118
*
121119
* @param {BoxGeometry} boxGeometry A description of the box.
122120
* @returns {Geometry} The computed vertices and indices.

0 commit comments

Comments
 (0)