Skip to content

Commit 1b1ac2f

Browse files
committed
【update】文档优化; review by luox
1 parent e39a85c commit 1b1ac2f

16 files changed

+1138
-1142
lines changed

build/jsdocs/template/typeLinkExt.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ var typeLinks = {
106106
"THREE.Vector3": threeApi + '#api/math/Vector3',
107107
"THREE.Scene": threeApi + '#api/scenes/Scene',
108108
"THREE.WebGLRenderer": threeApi + '#api/renderers/WebGLRenderer',
109-
"THREE.CanvasRenderer": threeApi + '#examples/renderers/CanvasRenderer',
110109
"THREE.Material": threeApi + '#api/en/materials/Material',
111110
"THREE.Mesh": threeApi + '#api/objects/Mesh',
112111
"THREE.Shape": threeApi + '#api/extras/core/Shape'

src/common/commontypes/Geometry.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ export class Geometry {
2626

2727
/**
2828
* @member {Geometry} Geometry.prototype.parent
29-
* @description This is set when a Geometry is added as component
30-
* of another geometry
29+
* @description 父类几何对象。
3130
*/
3231
this.parent = null;
3332

src/common/commontypes/Vector.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ export class Vector extends Feature {
175175

176176
/**
177177
* @function FeatureVector.prototype.destroy
178-
* @description nullify references to prevent circular references and memory leaks
178+
* @description 释放资源,将引用资源的属性置空。
179179
*/
180180
destroy() {
181181
if (this.layer) {
@@ -189,9 +189,8 @@ export class Vector extends Feature {
189189

190190
/**
191191
* @function FeatureVector.prototype.clone
192-
* @description Create a clone of this vector feature. Does not set any non-standard
193-
* properties.
194-
* @returns {FeatureVector} An exact clone of this vector feature.
192+
* @description 复制矢量要素,并返回复制后的新对象。
193+
* @returns {FeatureVector} 相同要素的新的矢量要素。
195194
*/
196195
clone() {
197196
return new Vector(

src/common/commontypes/geometry/LineString.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,7 @@ export class LineString extends Curve {
4545

4646
/**
4747
* @function GeometryLineString.prototype.getSortedSegments
48-
* @returns {array} An array of segment objects. Segment objects have properties
49-
* x1, y1, x2, and y2. The start point is represented by x1 and y1.
50-
* The end point is represented by x2 and y2. Start and end are
51-
* ordered so that x1 < x2.
48+
* @returns {array} 升序排列的点坐标对象数组。
5249
*/
5350
getSortedSegments() {
5451
var numSeg = this.components.length - 1;

src/common/control/TimeFlowControl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export class TimeFlowControl extends TimeControlBase {
143143

144144
/**
145145
* @function TimeFlowControl.prototype.update
146-
* @override
146+
* @description 更新控件。
147147
*/
148148
update() {
149149
var me = this;

src/common/iServer/InterpolationKrigingAnalystParameters.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ export class InterpolationKrigingAnalystParameters extends InterpolationAnalystP
183183
this.maxPointCountForInterpolation = 200;
184184

185185
/**
186-
* @member {number} [InterpolationKrigingAnalystParameters.prototype.maxPointCountForInterpolation=50]
186+
* @member {number} [InterpolationKrigingAnalystParameters.prototype.maxPointCountInNode=50]
187187
* @description 【块查找】方式下,设置单个块内最多参与运算点数。
188188
* 仅用于普通克吕金插值,简单克吕金和泛克吕金不支持块查找。
189189
*/

src/common/iServer/OverlayGeoJobParameter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export class OverlayGeoJobParameter {
7373
}
7474

7575
/**
76-
* @function OverlayGeoJobParameter.destroy
76+
* @function OverlayGeoJobParameter.prototype.destroy
7777
* @description 释放资源,将资源的属性置空。
7878
*/
7979
destroy() {

src/common/iServer/ServerTheme.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ export class ServerTheme extends UGCSubLayer {
4646

4747
/**
4848
* @function ServerTheme.prototype.destroy
49+
* @description 释放资源,将引用资源的属性置空。
4950
* @override
5051
*/
5152
destroy() {

src/common/iServer/SummaryAttributesJobsParameter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export class SummaryAttributesJobsParameter {
6161
}
6262

6363
/**
64-
* @function SummaryAttributesJobsParameter.destroy
64+
* @function SummaryAttributesJobsParameter.prototype.destroy
6565
* @description 释放资源,将资源的属性置空。
6666
*/
6767
destroy() {

src/common/iServer/SummaryMeshJobParameter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export class SummaryMeshJobParameter {
9797

9898

9999
/**
100-
* @function SummaryMeshJobParameter.destroy
100+
* @function SummaryMeshJobParameter.prototype.destroy
101101
* @description 释放资源,将资源的属性置空。
102102
*/
103103
destroy() {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy