@xeokit/xeokit-sdk 2.6.86 → 2.6.87-rc0-no-las

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/README.md +3 -3
  2. package/dist/xeokit-sdk.cjs.js +15512 -32635
  3. package/dist/xeokit-sdk.es.js +15513 -32634
  4. package/dist/xeokit-sdk.es5.js +31259 -29843
  5. package/dist/xeokit-sdk.es5.js.map +1 -0
  6. package/dist/xeokit-sdk.min.cjs.js +8 -8
  7. package/dist/xeokit-sdk.min.es.js +8 -8
  8. package/dist/xeokit-sdk.min.es5.js +34 -33
  9. package/dist/xeokit-sdk.min.es5.js.map +1 -0
  10. package/package.json +7 -3
  11. package/src/plugins/CxConverterIFCLoaderPlugin/CxConverterIFCLoaderPlugin.js +81 -81
  12. package/src/plugins/CxConverterIFCLoaderPlugin/index.js +1 -1
  13. package/src/plugins/LASLoaderPlugin/index.js +1 -1
  14. package/src/plugins/NavCubePlugin/NavCubePlugin.js +63 -22
  15. package/src/plugins/XKTLoaderPlugin/parsers/ParserV1.js +5 -5
  16. package/src/plugins/XKTLoaderPlugin/parsers/ParserV10.js +5 -5
  17. package/src/plugins/XKTLoaderPlugin/parsers/ParserV12.js +9 -9
  18. package/src/plugins/XKTLoaderPlugin/parsers/ParserV2.js +5 -5
  19. package/src/plugins/XKTLoaderPlugin/parsers/ParserV3.js +5 -5
  20. package/src/plugins/XKTLoaderPlugin/parsers/ParserV4.js +5 -5
  21. package/src/plugins/XKTLoaderPlugin/parsers/ParserV5.js +5 -5
  22. package/src/plugins/XKTLoaderPlugin/parsers/ParserV6.js +5 -5
  23. package/src/plugins/XKTLoaderPlugin/parsers/ParserV7.js +5 -5
  24. package/src/plugins/XKTLoaderPlugin/parsers/ParserV8.js +5 -5
  25. package/src/plugins/XKTLoaderPlugin/parsers/ParserV9.js +5 -5
  26. package/src/plugins/index.js +2 -2
  27. package/src/viewer/scene/CameraControl/lib/handlers/TouchPickHandler.js +7 -6
  28. package/types/plugins/AngleMeasurementsPlugin/AngleMeasurement.d.ts +26 -108
  29. package/types/plugins/CityJSONLoaderPlugin/CityJSONLoaderPlugin.d.ts +3 -14
  30. package/types/plugins/DotBIMLoaderPlugin/DotBIMLoaderPlugin.d.ts +5 -23
  31. package/types/plugins/GLTFLoaderPlugin/GLTFLoaderPlugin.d.ts +5 -25
  32. package/types/plugins/LASLoaderPlugin/LASLoaderPlugin.d.ts +20 -100
  33. package/types/plugins/STLLoaderPlugin/STLLoaderPlugin.d.ts +3 -14
  34. package/types/plugins/WebIFCLoaderPlugin/WebIFCLoaderPlugin.d.ts +18 -83
  35. package/types/plugins/XKTLoaderPlugin/XKTLoaderPlugin.d.ts +21 -106
  36. package/types/viewer/Configs.d.ts +6 -24
  37. package/types/viewer/scene/CameraControl/CameraControl.d.ts +66 -445
  38. package/types/viewer/scene/Component.d.ts +1 -1
  39. package/types/viewer/scene/Entity.d.ts +40 -186
  40. package/types/viewer/scene/camera/Camera.d.ts +50 -170
  41. package/types/viewer/scene/camera/CameraFlightAnimation.d.ts +8 -57
  42. package/types/viewer/scene/camera/CameraPath.d.ts +8 -13
  43. package/types/viewer/scene/camera/CameraPathAnimation.d.ts +4 -22
  44. package/types/viewer/scene/camera/CustomProjection.d.ts +6 -21
  45. package/types/viewer/scene/camera/Frustum.d.ts +18 -90
  46. package/types/viewer/scene/camera/Ortho.d.ts +14 -54
  47. package/types/viewer/scene/camera/Perspective.d.ts +16 -70
  48. package/types/viewer/scene/geometry/ReadableGeometry.d.ts +21 -25
  49. package/types/viewer/scene/geometry/VBOGeometry.d.ts +7 -7
  50. package/types/viewer/scene/lights/AmbientLight.d.ts +4 -26
  51. package/types/viewer/scene/lights/DirLight.d.ts +8 -52
  52. package/types/viewer/scene/lights/PointLight.d.ts +14 -93
  53. package/types/viewer/scene/materials/EdgeMaterial.d.ts +12 -37
  54. package/types/viewer/scene/materials/EmphasisMaterial.d.ts +22 -119
  55. package/types/viewer/scene/materials/Fresnel.d.ts +10 -50
  56. package/types/viewer/scene/materials/LambertMaterial.d.ts +16 -90
  57. package/types/viewer/scene/materials/LinesMaterial.d.ts +7 -25
  58. package/types/viewer/scene/materials/MetallicMaterial.d.ts +40 -127
  59. package/types/viewer/scene/materials/PhongMaterial.d.ts +52 -185
  60. package/types/viewer/scene/materials/PointsMaterial.d.ts +20 -101
  61. package/types/viewer/scene/materials/SpecularMaterial.d.ts +41 -117
  62. package/types/viewer/scene/materials/Texture.d.ts +22 -62
  63. package/types/viewer/scene/models/SceneModel.d.ts +76 -233
  64. package/types/viewer/scene/models/SceneModelEntity.d.ts +50 -211
  65. package/types/viewer/scene/models/SceneModelMesh.d.ts +4 -4
  66. package/types/viewer/scene/models/SceneModelTransform.d.ts +14 -59
  67. package/types/viewer/scene/paths/CubicBezierCurve.d.ts +12 -73
  68. package/types/viewer/scene/paths/Curve.d.ts +6 -19
  69. package/types/viewer/scene/paths/Path.d.ts +10 -57
  70. package/types/viewer/scene/paths/QuadraticBezierCurve.d.ts +10 -57
  71. package/types/viewer/scene/paths/SplineCurve.d.ts +6 -32
  72. package/types/viewer/scene/scene/Scene.d.ts +94 -196
  73. package/types/viewer/scene/sectionPlane/SectionPlane.d.ts +12 -69
  74. package/types/viewer/scene/viewport/Viewport.d.ts +4 -14
  75. package/types/viewer/scene/webgl/PickResult.d.ts +13 -28
@@ -13,146 +13,64 @@ export declare class AngleMeasurement extends Component {
13
13
  plugin: AngleMeasurementsPlugin;
14
14
 
15
15
  /**
16
- * Sets whether this AngleMeasurement indicates that its measurement is approximate.
16
+ * Whether this AngleMeasurement indicates that its measurement is approximate.
17
17
  *
18
18
  * This is ````true```` by default.
19
- *
20
- * @type {Boolean}
21
19
  */
22
- set approximate(arg: boolean);
20
+ approximate: boolean;
23
21
  /**
24
- * Gets whether this AngleMeasurement indicates that its measurement is approximate.
25
- *
26
- * This is ````true```` by default.
27
- *
28
- * @type {Boolean}
22
+ * Whether this AngleMeasurement is visible or not.
29
23
  */
30
- get approximate(): boolean;
31
- /**
32
- * Sets whether this AngleMeasurement is visible or not.
33
- *
34
- * @type {Boolean}
35
- */
36
- set visible(arg: boolean);
37
- /**
38
- * Gets whether this AngleMeasurement is visible or not.
39
- *
40
- * @type {Boolean}
41
- */
42
- get visible(): boolean;
24
+ visible: boolean;
43
25
 
44
26
  /**
45
- * Sets whether this AngleMeasurement is highlighted or not.
46
- *
47
- * @type {Boolean}
27
+ * Whether this AngleMeasurement is highlighted or not.
48
28
  */
49
- set highlighted(arg: boolean);
50
- /**
51
- * Gets whether this AngleMeasurement is highlighted or not.
52
- *
53
- * @type {Boolean}
54
- */
55
- get highlighted(): boolean;
29
+ highlighted: boolean;
56
30
 
57
31
  /**
58
- * Sets if the origin {@link Marker} is visible.
59
- *
60
- * @type {Boolean}
61
- */
62
- set originVisible(arg: boolean);
63
- /**
64
- * Gets if the origin {@link Marker} is visible.
65
- *
66
- * @type {Boolean}
67
- */
68
- get originVisible(): boolean;
69
- /**
70
- * Sets if the corner {@link Marker} is visible.
71
- *
72
- * @type {Boolean}
73
- */
74
- set cornerVisible(arg: boolean);
75
- /**
76
- * Gets if the corner {@link Marker} is visible.
77
- *
78
- * @type {Boolean}
32
+ * Whether the origin {@link Marker} is visible.
79
33
  */
80
- get cornerVisible(): boolean;
34
+ originVisible: boolean;
81
35
  /**
82
- * Sets if the target {@link Marker} is visible.
83
- *
84
- * @type {Boolean}
36
+ * Whether the corner {@link Marker} is visible.
85
37
  */
86
- set targetVisible(arg: boolean);
38
+ cornerVisible: boolean;
87
39
  /**
88
- * Gets if the target {@link Marker} is visible.
89
- *
90
- * @type {Boolean}
40
+ * Whether the target {@link Marker} is visible.
91
41
  */
92
- get targetVisible(): boolean;
42
+ targetVisible: boolean;
93
43
  /**
94
- * Sets if the wire between the origin and the corner is visible.
95
- *
96
- * @type {Boolean}
44
+ * Whether the wire between the origin and the corner is visible.
97
45
  */
98
- set originWireVisible(arg: boolean);
46
+ originWireVisible: boolean;
99
47
  /**
100
- * Gets if the wire between the origin and the corner is visible.
101
- *
102
- * @type {Boolean}
48
+ * Whether the wire between the target and the corner is visible.
103
49
  */
104
- get originWireVisible(): boolean;
50
+ targetWireVisible: boolean;
105
51
  /**
106
- * Sets if the wire between the target and the corner is visible.
107
- *
108
- * @type {Boolean}
109
- */
110
- set targetWireVisible(arg: boolean);
111
- /**
112
- * Gets if the wire between the target and the corner is visible.
113
- *
114
- * @type {Boolean}
52
+ * Whether the angle label is visible.
115
53
  */
116
- get targetWireVisible(): boolean;
117
- /**
118
- * Sets if the angle label is visible.
119
- *
120
- * @type {Boolean}
121
- */
122
- set angleVisible(arg: boolean);
123
- /**
124
- * Gets if the angle label is visible.
125
- *
126
- * @type {Boolean}
127
- */
128
- get angleVisible(): boolean;
54
+ angleVisible: boolean;
129
55
 
130
56
  /**
131
- * Gets the origin {@link Marker}.
132
- *
133
- * @type {Marker}
57
+ * The origin {@link Marker}.
134
58
  */
135
- get origin(): Marker;
59
+ readonly origin: Marker;
136
60
 
137
61
  /**
138
- * Gets the corner {@link Marker}.
139
- *
140
- * @type {Marker}
62
+ * The corner {@link Marker}.
141
63
  */
142
- get corner(): Marker;
64
+ readonly corner: Marker;
143
65
 
144
66
  /**
145
- * Gets the target {@link Marker}.
146
- *
147
- * @type {Marker}
67
+ * The target {@link Marker}.
148
68
  */
149
- get target(): Marker;
69
+ readonly target: Marker;
150
70
 
151
71
  /**
152
- * Gets the angle between two connected 3D line segments, given
72
+ * The angle between two connected 3D line segments, given
153
73
  * as three positions on the surface(s) of one or more {@link Entity}s.
154
- *
155
- * @type {Number}
156
74
  */
157
- get angle(): number;
75
+ readonly angle: number;
158
76
  }
@@ -11,9 +11,7 @@ export declare interface ICityJSONDefaultDataSource {
11
11
  */
12
12
  getCityJSON(src: string | number, ok: (json: any)=> void, error: (e: Error)=> void): void;
13
13
 
14
- get cacheBuster(): boolean;
15
-
16
- set cacheBuster(value: boolean);
14
+ cacheBuster: boolean;
17
15
  }
18
16
 
19
17
  export declare type CityJSONLoaderPluginConfiguration = {
@@ -59,22 +57,13 @@ export declare class CityJSONLoaderPlugin extends Plugin {
59
57
  constructor(viewer: Viewer, cfg?: CityJSONLoaderPluginConfiguration);
60
58
 
61
59
  /**
62
- * Sets a custom data source through which the CityJSONLoaderPlugin can load CityJSON files.
63
- *
64
- * Default value is {@link CityJSONDefaultDataSource}, which loads via HTTP.
65
- *
66
- * @type {Object}
67
- */
68
- set dataSource(arg: ICityJSONDefaultDataSource);
69
-
70
- /**
71
- * Gets the custom data source through which the CityJSONLoaderPlugin can load CityJSON files.
60
+ * Custom data source through which the CityJSONLoaderPlugin can load CityJSON files.
72
61
  *
73
62
  * Default value is {@link CityJSONDefaultDataSource}, which loads via HTTP.
74
63
  *
75
64
  * @type {Object}
76
65
  */
77
- get dataSource(): ICityJSONDefaultDataSource;
66
+ dataSource: ICityJSONDefaultDataSource;
78
67
 
79
68
  /**
80
69
  * Loads an ````CityJSON```` model into this CityJSONLoaderPlugin's {@link Viewer}.
@@ -10,9 +10,7 @@ export declare interface IDotBIMDefaultDataSource {
10
10
  */
11
11
  getDotBIM(dotBIMSrc: string | number, ok: (buffer: ArrayBuffer) => void, error: (e: Error) => void): void;
12
12
 
13
- get cacheBuster(): boolean;
14
-
15
- set cacheBuster(value: boolean);
13
+ cacheBuster: boolean;
16
14
  }
17
15
 
18
16
  export declare type DotBIMLoaderPluginConfiguration = {
@@ -73,36 +71,20 @@ export declare class DotBIMLoaderPlugin extends Plugin {
73
71
  constructor(viewer: Viewer, cfg?: DotBIMLoaderPluginConfiguration);
74
72
 
75
73
  /**
76
- * Sets a custom data source through which the DotBIMLoaderPlugin can .BIM files.
77
- *
78
- * Default value is {@link DotBIMDefaultDataSource}, which loads via an XMLHttpRequest.
79
- *
80
- * @type {IDotBIMDefaultDataSource}
81
- */
82
- set dataSource(arg: IDotBIMDefaultDataSource);
83
-
84
- /**
85
- * Gets the custom data source through which the DotBIMLoaderPlugin can load .BIM files.
74
+ * Custom data source through which the DotBIMLoaderPlugin can load .BIM files.
86
75
  *
87
76
  * Default value is {@link DotBIMDefaultDataSource}, which loads via an XMLHttpRequest.
88
77
  *
89
78
  * @type {IDotBIMDefaultDataSource}
90
79
  */
91
- get dataSource(): IDotBIMDefaultDataSource;
92
-
93
- /**
94
- * Sets map of initial default states for each loaded {@link Entity} that represents an object.
95
- *
96
- * @type {IFCObjectDefaults}
97
- */
98
- set objectDefaults(arg: IFCObjectDefaults);
80
+ dataSource: IDotBIMDefaultDataSource;
99
81
 
100
82
  /**
101
- * Gets map of initial default states for each loaded {@link Entity} that represents an object.
83
+ * Map of initial default states for each loaded {@link Entity} that represents an object.
102
84
  *
103
85
  * @type {IFCObjectDefaults}
104
86
  */
105
- get objectDefaults(): IFCObjectDefaults;
87
+ objectDefaults: IFCObjectDefaults;
106
88
 
107
89
  /**
108
90
  * Loads a .BIM model from a file into this DotBIMLoaderPlugin's {@link Viewer}.
@@ -32,9 +32,7 @@ export declare interface IGLTFDefaultDataSource {
32
32
  */
33
33
  getArrayBuffer(glTFSrc: string | number, binarySrc: string | number, ok: Function, error: Function): void;
34
34
 
35
- get cacheBuster(): boolean;
36
-
37
- set cacheBuster(value: boolean);
35
+ cacheBuster: boolean;
38
36
  }
39
37
 
40
38
  export declare type GLTFLoaderPluginConfiguration = {
@@ -101,40 +99,22 @@ export declare class GLTFLoaderPlugin extends Plugin {
101
99
  constructor(viewer: Viewer, cfg?:GLTFLoaderPluginConfiguration);
102
100
 
103
101
  /**
104
- * Sets a custom data source through which the GLTFLoaderPlugin can load metadata, glTF and binary attachments.
105
- *
106
- * Default value is {@link GLTFDefaultDataSource}, which loads via an XMLHttpRequest.
107
- *
108
- * @type {Object}
109
- */
110
- set dataSource(arg: IGLTFDefaultDataSource);
111
-
112
- /**
113
- * Gets the custom data source through which the GLTFLoaderPlugin can load metadata, glTF and binary attachments.
102
+ * Custom data source through which the GLTFLoaderPlugin can load metadata, glTF and binary attachments.
114
103
  *
115
104
  * Default value is {@link GLTFDefaultDataSource}, which loads via an XMLHttpRequest.
116
105
  *
117
106
  * @type {Object}
118
107
  */
119
- get dataSource(): IGLTFDefaultDataSource;
120
-
121
- /**
122
- * Sets map of initial default states for each loaded {@link Entity} that represents an object.
123
- *
124
- * Default value is {@link IFCObjectDefaults}.
125
- *
126
- * @type {IFCObjectDefaults}
127
- */
128
- set objectDefaults(arg: IFCObjectDefaults);
108
+ dataSource: IGLTFDefaultDataSource;
129
109
 
130
110
  /**
131
- * Gets map of initial default states for each loaded {@link Entity} that represents an object.
111
+ * Map of initial default states for each loaded {@link Entity} that represents an object.
132
112
  *
133
113
  * Default value is {@link IFCObjectDefaults}.
134
114
  *
135
115
  * @type {IFCObjectDefaults}
136
116
  */
137
- get objectDefaults(): IFCObjectDefaults;
117
+ objectDefaults: IFCObjectDefaults;
138
118
 
139
119
  /**
140
120
  * Loads a glTF model from a file into this GLTFLoaderPlugin's {@link Viewer}.
@@ -11,9 +11,7 @@ export declare interface ILASDefaultDataSource {
11
11
  */
12
12
  getLAS(src: string | number, ok: (LAS: ArrayBuffer) => void, error: (e: Error) => void): void;
13
13
 
14
- get cacheBuster(): boolean;
15
-
16
- set cacheBuster(value: boolean);
14
+ cacheBuster: boolean;
17
15
  }
18
16
 
19
17
  export declare type LASLoaderPluginConfiguration = {
@@ -77,58 +75,31 @@ export declare class LASLoaderPlugin extends Plugin {
77
75
  constructor(viewer: Viewer, cfg?: LASLoaderPluginConfiguration);
78
76
 
79
77
  /**
80
- * Sets a custom data source through which the LASLoaderPlugin can load LAS files.
81
- *
82
- * Default value is {@link LASDefaultDataSource}, which loads via HTTP.
83
- *
84
- * @type {ILASDefaultDataSource}
85
- */
86
- set dataSource(arg: ILASDefaultDataSource);
87
-
88
- /**
89
- * Gets the custom data source through which the LASLoaderPlugin can load LAS files.
78
+ * Custom data source through which the LASLoaderPlugin can load LAS files.
90
79
  *
91
80
  * Default value is {@link LASDefaultDataSource}, which loads via HTTP.
92
81
  *
93
82
  * @type {ILASDefaultDataSource}
94
83
  */
95
- get dataSource(): ILASDefaultDataSource;
84
+ dataSource: ILASDefaultDataSource;
96
85
 
97
86
  /**
98
87
  * Configures LASLoaderPlugin to load every **n** points.
99
88
  *
100
89
  * Default value is ````1````.
101
90
  *
102
- * @param {Number} value The **n**th point that LASLoaderPlugin will read.
103
- */
104
- set skip(value: number);
105
-
106
- /**
107
- * When LASLoaderPlugin is configured to load every **n** points, returns the value of **n**.
108
- *
109
- * Default value is ````1````.
110
- *
111
- * @returns {Number} The **n**th point that LASLoaderPlugin will read.
91
+ * @type {Number}
112
92
  */
113
- get skip(): number;
93
+ skip: number;
114
94
 
115
95
  /**
116
96
  * Configures if LASLoaderPlugin assumes that LAS positions are stored in 64-bit floats instead of 32-bit.
117
97
  *
118
98
  * Default value is ````false````.
119
99
  *
120
- * @param {Boolean} value True if LASLoaderPlugin assumes that positions are stored in 64-bit floats instead of 32-bit.
100
+ * @type {Boolean}
121
101
  */
122
- set fp64(value: boolean);
123
-
124
- /**
125
- * Gets if LASLoaderPlugin assumes that LAS positions are stored in 64-bit floats instead of 32-bit.
126
- *
127
- * Default value is ````false````.
128
- *
129
- * @returns {Boolean} True if LASLoaderPlugin assumes that positions are stored in 64-bit floats instead of 32-bit.
130
- */
131
- get fp64(): boolean;
102
+ fp64: boolean;
132
103
 
133
104
  /**
134
105
  * Configures whether LASLoaderPlugin assumes that LAS colors are encoded using 8 or 16 bits.
@@ -137,31 +108,9 @@ export declare class LASLoaderPlugin extends Plugin {
137
108
  *
138
109
  * Note: LAS specification recommends 16 bits.
139
110
  *
140
- * @param {Number|String} value Valid values are 8, 16 and "auto".
141
- */
142
- set colorDepth(value: 8 | 16 | "auto");
143
-
144
- /**
145
- * Gets whether LASLoaderPlugin assumes that LAS colors are encoded using 8 or 16 bits.
146
- *
147
- * Default value is ````8````.
148
- *
149
- * Note: LAS specification recommends 16 bits.
150
- *
151
- * @returns {Number|String} Possible returned values are 8, 16 and "auto".
111
+ * @type {Number|String}
152
112
  */
153
- get colorDepth(): 8 | 16 | "auto";
154
-
155
- /**
156
- * Gets if LASLoaderPlugin immediately centers LAS positions.
157
- *
158
- * If this is ````true```` then centering is the first thing that happens to LAS positions as they are loaded.
159
- *
160
- * Default value is ````false````.
161
- *
162
- * @returns {Boolean} True if LASLoaderPlugin immediately centers LAS positions.
163
- */
164
- get center():number[];
113
+ colorDepth: 8 | 16 | "auto";
165
114
 
166
115
  /**
167
116
  * Configures if LASLoaderPlugin immediately centers LAS positions.
@@ -170,69 +119,40 @@ export declare class LASLoaderPlugin extends Plugin {
170
119
  *
171
120
  * Default value is ````false````.
172
121
  *
173
- * @param {Boolean} value True if LASLoaderPlugin immediately centers LAS positions.
122
+ * @type {Number[]}
174
123
  */
175
- set center(value:number[]);
124
+ center: number[];
176
125
 
177
126
  /**
178
- * Gets the current transformation to apply to LAS positions as they are loaded.
127
+ * Current transformation to apply to LAS positions as they are loaded.
179
128
  *
180
129
  * If this is ````true```` then LAS positions will be transformed right after they are centered.
181
130
  *
182
131
  * Default value is null.
183
132
  *
184
- * @returns {Number[]|null} A 16-element array containing a 4x4 transformation matrix.
185
- */
186
- get transform(): number[];
187
-
188
- /**
189
- * Sets the current transformation to apply to LAS positions as they are loaded.
190
- *
191
- * Default value is null.
192
- *
193
- * @param {Number[]|null} transform A 16-element array containing a 4x4 transformation matrix.
133
+ * @type {Number[]|null}
194
134
  */
195
- set transform(transform: number[]);
135
+ transform: number[];
196
136
 
197
137
  /**
198
- * Gets the current rotations to apply to LAS positions as they are loaded.
138
+ * Current rotations to apply to LAS positions as they are loaded.
199
139
  *
200
140
  * Rotations are an array of three Euler angles in degrees, for each of the X, Y and Z axis, applied in that order.
201
141
  *
202
142
  * Default value is null.
203
143
  *
204
- * @returns {Number[]|null} If defined, an array of three Euler angles in degrees, for each of the X, Y and Z axis. Null if undefined.
205
- */
206
- get rotate():number[];
207
-
208
- /**
209
- * Sets the current rotations to apply to LAS positions as they are loaded.
210
- *
211
- * Rotations are an array of three Euler angles in degrees, for each of the X, Y and Z axis, applied in that order.
212
- *
213
- * Default value is null.
214
- *
215
- * @param {Number[]|null} rotate Array of three Euler angles in degrees, for each of the X, Y and Z axis.
216
- */
217
- set rotate(rotate:number[]) ;
218
-
219
- /**
220
- * Gets if LAS positions are rotated 90 degrees about X as they are loaded.
221
- *
222
- * Default value is ````false````.
223
- *
224
- * @returns {*}
144
+ * @type {Number[]|null}
225
145
  */
226
- get rotateX() :boolean;
146
+ rotate: number[];
227
147
 
228
148
  /**
229
- * Sets if LAS positions are rotated 90 degrees about X as they are loaded.
149
+ * Configures if LAS positions are rotated 90 degrees about X as they are loaded.
230
150
  *
231
151
  * Default value is ````false````.
232
152
  *
233
- * @param rotateX
153
+ * @type {Boolean}
234
154
  */
235
- set rotateX(rotateX:boolean);
155
+ rotateX: boolean;
236
156
 
237
157
  /**
238
158
  * Loads an ````LAS```` model into this LASLoaderPlugin's {@link Viewer}.
@@ -10,9 +10,7 @@ export declare interface ISTLDefaultDataSource {
10
10
  */
11
11
  getSTL(src: string | number, ok: Function, error: Function): void;
12
12
 
13
- get cacheBuster(): boolean;
14
-
15
- set cacheBuster(value: boolean);
13
+ cacheBuster: boolean;
16
14
  }
17
15
 
18
16
  export declare type STLLoaderPluginCOnfiguration = {
@@ -65,22 +63,13 @@ export declare class STLLoaderPlugin extends Plugin {
65
63
  constructor(viewer: Viewer, cfg?: STLLoaderPluginCOnfiguration);
66
64
 
67
65
  /**
68
- * Sets a custom data source through which the STLLoaderPlugin can load STL files.
69
- *
70
- * Default value is {@link STLDefaultDataSource}, which loads via an XMLHttpRequest.
71
- *
72
- * @type {ISTLDefaultDataSource}
73
- */
74
- set dataSource(arg: ISTLDefaultDataSource);
75
-
76
- /**
77
- * Gets the custom data source through which the STLLoaderPlugin can load STL files.
66
+ * Custom data source through which the STLLoaderPlugin can load STL files.
78
67
  *
79
68
  * Default value is {@link STLDefaultDataSource}, which loads via an XMLHttpRequest.
80
69
  *
81
70
  * @type {ISTLDefaultDataSource}
82
71
  */
83
- get dataSource(): ISTLDefaultDataSource;
72
+ dataSource: ISTLDefaultDataSource;
84
73
 
85
74
  /**
86
75
  * Loads an STL model from a file into this STLLoaderPlugin's {@link Viewer}.