mars3d-cesium 1.115.1 → 1.116.0
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.
- package/{Source → Build/Cesium}/Cesium.d.ts +131 -15
- package/Build/Cesium/Cesium.js +5781 -5637
- package/Build/Cesium/Core/Check.d.ts +127 -0
- package/Build/Cesium/Workers/{chunk-45S752AI.js → chunk-2DF4CAYN.js} +2 -2
- package/Build/Cesium/Workers/{chunk-EXHU67HQ.js → chunk-2QAZKO32.js} +2 -2
- package/Build/Cesium/Workers/{chunk-V4FC2NBT.js → chunk-2S4UUFD6.js} +2 -2
- package/Build/Cesium/Workers/{chunk-OPNYT6W6.js → chunk-37KLWU3W.js} +2 -2
- package/Build/Cesium/Workers/{chunk-DT4Q2ELL.js → chunk-42VHSORI.js} +1 -1
- package/Build/Cesium/Workers/{chunk-UP3MDEGD.js → chunk-4353PD6R.js} +1 -1
- package/Build/Cesium/Workers/{chunk-IYPGKAUT.js → chunk-4LWXONMT.js} +2 -2
- package/Build/Cesium/Workers/{chunk-WG5HRHBQ.js → chunk-4NDMMWOM.js} +2 -2
- package/Build/Cesium/Workers/{chunk-LBF5FSGO.js → chunk-4NVG6N2Q.js} +2 -2
- package/Build/Cesium/Workers/{chunk-JZPPGHIR.js → chunk-4PZYNNSN.js} +2 -2
- package/Build/Cesium/Workers/{chunk-G2QMCMM6.js → chunk-5CBMSEPD.js} +2 -2
- package/Build/Cesium/Workers/{chunk-UIF2CBUL.js → chunk-5J7YBBQK.js} +2 -2
- package/Build/Cesium/Workers/{chunk-S2H3F3YA.js → chunk-63E276CT.js} +2 -2
- package/Build/Cesium/Workers/{chunk-46PW2T3M.js → chunk-7VY24AS3.js} +1 -1
- package/Build/Cesium/Workers/{chunk-KJ3FQH54.js → chunk-ACKL3UCP.js} +2 -2
- package/Build/Cesium/Workers/{chunk-YLMBQY5T.js → chunk-AEWBPSCB.js} +2 -2
- package/Build/Cesium/Workers/{chunk-5RTAYKIS.js → chunk-AHZBRYZA.js} +2 -2
- package/Build/Cesium/Workers/{chunk-ETQDT2EQ.js → chunk-B7XFA4YC.js} +2 -2
- package/Build/Cesium/Workers/{chunk-HPKKHLHX.js → chunk-BMTOWA7K.js} +2 -2
- package/Build/Cesium/Workers/{chunk-4COZW56S.js → chunk-DTEVYUV6.js} +2 -2
- package/Build/Cesium/Workers/{chunk-M2O6XNAL.js → chunk-EJXUGS5C.js} +2 -2
- package/Build/Cesium/Workers/{chunk-4OEHBHKL.js → chunk-FCEVC3JZ.js} +2 -2
- package/Build/Cesium/Workers/{chunk-64THG6XW.js → chunk-FSXLPWHR.js} +2 -2
- package/Build/Cesium/Workers/{chunk-UUSG76XA.js → chunk-GKRM7KEL.js} +2 -2
- package/Build/Cesium/Workers/{chunk-5S5SGQOM.js → chunk-GW444G3T.js} +2 -2
- package/Build/Cesium/Workers/{chunk-MU4G7Z5L.js → chunk-H7FFK4U5.js} +1 -1
- package/Build/Cesium/Workers/{chunk-RQQ7J6SY.js → chunk-HTNJJ6YO.js} +2 -2
- package/Build/Cesium/Workers/{chunk-ME4KEDVO.js → chunk-I24DPSBO.js} +2 -2
- package/Build/Cesium/Workers/{chunk-OMYVNUEO.js → chunk-I2MF4BQC.js} +2 -2
- package/Build/Cesium/Workers/{chunk-3GTPJNZW.js → chunk-J26GWQSN.js} +2 -2
- package/Build/Cesium/Workers/chunk-JDDR7LGD.js +26 -0
- package/Build/Cesium/Workers/{chunk-ZHDBHCA6.js → chunk-KODO46B4.js} +2 -2
- package/Build/Cesium/Workers/{chunk-QHDLKQVD.js → chunk-LGFQRF3V.js} +2 -2
- package/Build/Cesium/Workers/{chunk-7MX5IVST.js → chunk-M5A47EM2.js} +2 -2
- package/Build/Cesium/Workers/{chunk-SBRVO6KX.js → chunk-M7WODBAD.js} +2 -2
- package/Build/Cesium/Workers/{chunk-SMCUPNRA.js → chunk-NRKRIGW5.js} +2 -2
- package/Build/Cesium/Workers/{chunk-UCIIJ7LE.js → chunk-NRW2R4YV.js} +2 -2
- package/Build/Cesium/Workers/{chunk-ASLBMHSP.js → chunk-NSILPUHD.js} +2 -2
- package/Build/Cesium/Workers/{chunk-PTLJCFLA.js → chunk-OXKDIHB6.js} +2 -2
- package/Build/Cesium/Workers/{chunk-NHST7PQH.js → chunk-PB7S64VP.js} +2 -2
- package/Build/Cesium/Workers/{chunk-I65A5FYC.js → chunk-PYB3IV2X.js} +2 -2
- package/Build/Cesium/Workers/{chunk-ECO2JPVD.js → chunk-TFV4LXCD.js} +2 -2
- package/Build/Cesium/Workers/{chunk-VKCXL32I.js → chunk-TK2AA6M2.js} +2 -2
- package/Build/Cesium/Workers/{chunk-WGLLBFPM.js → chunk-TM5U646E.js} +2 -2
- package/Build/Cesium/Workers/{chunk-IDZXQPR7.js → chunk-TWAPNO4J.js} +2 -2
- package/Build/Cesium/Workers/{chunk-YQRJLQIV.js → chunk-TXIAMGDC.js} +1 -1
- package/Build/Cesium/Workers/{chunk-NHC2RZZZ.js → chunk-U2CMUMOR.js} +2 -2
- package/Build/Cesium/Workers/{chunk-3MTSL7KG.js → chunk-UT4RPIUP.js} +2 -2
- package/Build/Cesium/Workers/{chunk-MCBXMIXL.js → chunk-W2YTVRCC.js} +2 -2
- package/Build/Cesium/Workers/{chunk-62WWLUQC.js → chunk-XORBV237.js} +2 -2
- package/Build/Cesium/Workers/{chunk-T5DERVNL.js → chunk-YEUII2A5.js} +2 -2
- package/Build/Cesium/Workers/{chunk-HP5HCYZJ.js → chunk-YPW76GEP.js} +2 -2
- package/Build/Cesium/Workers/{chunk-CPGXHV5C.js → chunk-ZK2UTPA3.js} +2 -2
- package/Build/Cesium/Workers/{chunk-732W37IU.js → chunk-ZZAO5JE6.js} +2 -2
- package/Build/Cesium/Workers/combineGeometry.js +2 -2
- package/Build/Cesium/Workers/createBoxGeometry.js +2 -2
- package/Build/Cesium/Workers/createBoxOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createCircleGeometry.js +2 -2
- package/Build/Cesium/Workers/createCircleOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createCoplanarPolygonGeometry.js +2 -2
- package/Build/Cesium/Workers/createCoplanarPolygonOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createCorridorGeometry.js +2 -2
- package/Build/Cesium/Workers/createCorridorOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createCylinderGeometry.js +2 -2
- package/Build/Cesium/Workers/createCylinderOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createEllipseGeometry.js +2 -2
- package/Build/Cesium/Workers/createEllipseOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createEllipsoidGeometry.js +2 -2
- package/Build/Cesium/Workers/createEllipsoidOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createFrustumGeometry.js +2 -2
- package/Build/Cesium/Workers/createFrustumOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createGeometry.js +2 -2
- package/Build/Cesium/Workers/createGroundPolylineGeometry.js +2 -2
- package/Build/Cesium/Workers/createPlaneGeometry.js +2 -2
- package/Build/Cesium/Workers/createPlaneOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createPolygonGeometry.js +2 -2
- package/Build/Cesium/Workers/createPolygonOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createPolylineGeometry.js +2 -2
- package/Build/Cesium/Workers/createPolylineVolumeGeometry.js +2 -2
- package/Build/Cesium/Workers/createPolylineVolumeOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createRectangleGeometry.js +2 -2
- package/Build/Cesium/Workers/createRectangleOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createSimplePolylineGeometry.js +2 -2
- package/Build/Cesium/Workers/createSphereGeometry.js +2 -2
- package/Build/Cesium/Workers/createSphereOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createTaskProcessorWorker.js +2 -2
- package/Build/Cesium/Workers/createVectorTileClampedPolylines.js +2 -2
- package/Build/Cesium/Workers/createVectorTileGeometries.js +2 -2
- package/Build/Cesium/Workers/createVectorTilePoints.js +2 -2
- package/Build/Cesium/Workers/createVectorTilePolygons.js +2 -2
- package/Build/Cesium/Workers/createVectorTilePolylines.js +2 -2
- package/Build/Cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +2 -2
- package/Build/Cesium/Workers/createVerticesFromHeightmap.js +2 -2
- package/Build/Cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +2 -2
- package/Build/Cesium/Workers/createWallGeometry.js +2 -2
- package/Build/Cesium/Workers/createWallOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/decodeDraco.js +2 -2
- package/Build/Cesium/Workers/decodeGoogleEarthEnterprisePacket.js +2 -2
- package/Build/Cesium/Workers/decodeI3S.js +2 -2
- package/Build/Cesium/Workers/transcodeKTX2.js +21 -21
- package/Build/Cesium/Workers/transferTypedArrayTest.js +1 -1
- package/Build/Cesium/Workers/upsampleQuantizedTerrainMesh.js +2 -2
- package/Build/Cesium/index.cjs +5601 -5457
- package/Build/Cesium/index.js +5626 -5482
- package/README.md +119 -34
- package/package.json +29 -150
- package/Build/Cesium/Workers/chunk-4NYKU2HG.js +0 -26
- package/LICENSE.md +0 -1117
|
@@ -3046,6 +3046,136 @@ export class CesiumTerrainProvider {
|
|
|
3046
3046
|
loadTileDataAvailability(x: number, y: number, level: number): undefined | Promise<void>;
|
|
3047
3047
|
}
|
|
3048
3048
|
|
|
3049
|
+
|
|
3050
|
+
/**
|
|
3051
|
+
* Contains functions for checking that supplied arguments are of a specified type
|
|
3052
|
+
* or meet specified conditions
|
|
3053
|
+
*/
|
|
3054
|
+
export const Check: {
|
|
3055
|
+
/**
|
|
3056
|
+
* Throws if test is not defined
|
|
3057
|
+
*
|
|
3058
|
+
* @param {string} name The name of the variable being tested
|
|
3059
|
+
* @param {*} test The value that is to be checked
|
|
3060
|
+
* @exception {DeveloperError} test must be defined
|
|
3061
|
+
*/
|
|
3062
|
+
defined<T>(name: string, test: T): asserts test is NonNullable<T>;
|
|
3063
|
+
/**
|
|
3064
|
+
* Contains type checking functions, all using the typeof operator
|
|
3065
|
+
*/
|
|
3066
|
+
typeOf: {
|
|
3067
|
+
/**
|
|
3068
|
+
* Throws if test is not typeof 'string'
|
|
3069
|
+
*
|
|
3070
|
+
* @param {string} name The name of the variable being tested
|
|
3071
|
+
* @param {*} test The value to test
|
|
3072
|
+
* @exception {DeveloperError} test must be typeof 'string'
|
|
3073
|
+
*/
|
|
3074
|
+
string(name: string, test: any): asserts test is string;
|
|
3075
|
+
/**
|
|
3076
|
+
* Throws if test is not typeof 'function'
|
|
3077
|
+
*
|
|
3078
|
+
* @param {string} name The name of the variable being tested
|
|
3079
|
+
* @param {*} test The value to test
|
|
3080
|
+
* @exception {DeveloperError} test must be typeof 'function'
|
|
3081
|
+
*/
|
|
3082
|
+
func(name: string, test: any): asserts test is Function;
|
|
3083
|
+
/**
|
|
3084
|
+
* Throws if test is not typeof 'object'
|
|
3085
|
+
*
|
|
3086
|
+
* @param {string} name The name of the variable being tested
|
|
3087
|
+
* @param {*} test The value to test
|
|
3088
|
+
* @exception {DeveloperError} test must be typeof 'object'
|
|
3089
|
+
*/
|
|
3090
|
+
object(name: string, test: any): asserts test is object;
|
|
3091
|
+
/**
|
|
3092
|
+
* Throws if test is not typeof 'boolean'
|
|
3093
|
+
*
|
|
3094
|
+
* @param {string} name The name of the variable being tested
|
|
3095
|
+
* @param {*} test The value to test
|
|
3096
|
+
* @exception {DeveloperError} test must be typeof 'boolean'
|
|
3097
|
+
*/
|
|
3098
|
+
bool(name: string, test: any): asserts test is boolean;
|
|
3099
|
+
/**
|
|
3100
|
+
* Throws if test is not typeof 'bigint'
|
|
3101
|
+
*
|
|
3102
|
+
* @param {string} name The name of the variable being tested
|
|
3103
|
+
* @param {*} test The value to test
|
|
3104
|
+
* @exception {DeveloperError} test must be typeof 'bigint'
|
|
3105
|
+
*/
|
|
3106
|
+
bigint(name: string, test: any): asserts test is bigint;
|
|
3107
|
+
/**
|
|
3108
|
+
* Throws if test is not typeof 'number'
|
|
3109
|
+
*
|
|
3110
|
+
* @param {string} name The name of the variable being tested
|
|
3111
|
+
* @param {*} test The value to test
|
|
3112
|
+
* @exception {DeveloperError} test must be typeof 'number'
|
|
3113
|
+
*/
|
|
3114
|
+
number: {
|
|
3115
|
+
(name: string, test: any): void;
|
|
3116
|
+
/**
|
|
3117
|
+
* Throws if test is not typeof 'number' and less than limit
|
|
3118
|
+
*
|
|
3119
|
+
* @param {string} name The name of the variable being tested
|
|
3120
|
+
* @param {*} test The value to test
|
|
3121
|
+
* @param {number} limit The limit value to compare against
|
|
3122
|
+
* @exception {DeveloperError} test must be typeof 'number' and less than limit
|
|
3123
|
+
*/
|
|
3124
|
+
lessThan(name: string, test: any, limit: number): asserts test is number;
|
|
3125
|
+
/**
|
|
3126
|
+
* Throws if test is not typeof 'number' and less than or equal to limit
|
|
3127
|
+
*
|
|
3128
|
+
* @param {string} name The name of the variable being tested
|
|
3129
|
+
* @param {*} test The value to test
|
|
3130
|
+
* @param {number} limit The limit value to compare against
|
|
3131
|
+
* @exception {DeveloperError} test must be typeof 'number' and less than or equal to limit
|
|
3132
|
+
*/
|
|
3133
|
+
lessThanOrEquals(
|
|
3134
|
+
name: string,
|
|
3135
|
+
test: any,
|
|
3136
|
+
limit: number
|
|
3137
|
+
): asserts test is number;
|
|
3138
|
+
/**
|
|
3139
|
+
* Throws if test is not typeof 'number' and greater than limit
|
|
3140
|
+
*
|
|
3141
|
+
* @param {string} name The name of the variable being tested
|
|
3142
|
+
* @param {*} test The value to test
|
|
3143
|
+
* @param {number} limit The limit value to compare against
|
|
3144
|
+
* @exception {DeveloperError} test must be typeof 'number' and greater than limit
|
|
3145
|
+
*/
|
|
3146
|
+
greaterThan(
|
|
3147
|
+
name: string,
|
|
3148
|
+
test: any,
|
|
3149
|
+
limit: number
|
|
3150
|
+
): asserts test is number;
|
|
3151
|
+
/**
|
|
3152
|
+
* Throws if test is not typeof 'number' and greater than or equal to limit
|
|
3153
|
+
*
|
|
3154
|
+
* @param {string} name The name of the variable being tested
|
|
3155
|
+
* @param {*} test The value to test
|
|
3156
|
+
* @param {number} limit The limit value to compare against
|
|
3157
|
+
* @exception {DeveloperError} test must be typeof 'number' and greater than or equal to limit
|
|
3158
|
+
*/
|
|
3159
|
+
greaterThanOrEquals(
|
|
3160
|
+
name: string,
|
|
3161
|
+
test: any,
|
|
3162
|
+
limit: number
|
|
3163
|
+
): asserts test is number;
|
|
3164
|
+
/**
|
|
3165
|
+
* Throws if test1 and test2 is not typeof 'number' and not equal in value
|
|
3166
|
+
*
|
|
3167
|
+
* @param {string} name1 The name of the first variable being tested
|
|
3168
|
+
* @param {string} name2 The name of the second variable being tested against
|
|
3169
|
+
* @param {*} test1 The value to test
|
|
3170
|
+
* @param {*} test2 The value to test against
|
|
3171
|
+
* @exception {DeveloperError} test1 and test2 should be type of 'number' and be equal in value
|
|
3172
|
+
*/
|
|
3173
|
+
equals(name1: string, name2: string, test1: any, test2: any): void;
|
|
3174
|
+
};
|
|
3175
|
+
};
|
|
3176
|
+
};
|
|
3177
|
+
|
|
3178
|
+
|
|
3049
3179
|
/**
|
|
3050
3180
|
* A description of a circle on the ellipsoid. Circle geometry can be rendered with both {@link Primitive} and {@link GroundPrimitive}.
|
|
3051
3181
|
* @example
|
|
@@ -7025,7 +7155,7 @@ export class Geometry {
|
|
|
7025
7155
|
<ul>
|
|
7026
7156
|
<li><code>position3DHigh</code> - High 32 bits for encoded 64-bit position computed with {@link GeometryPipeline.encodeAttribute}. 32-bit floating-point. 4 components per attribute.</li>
|
|
7027
7157
|
<li><code>position3DLow</code> - Low 32 bits for encoded 64-bit position computed with {@link GeometryPipeline.encodeAttribute}. 32-bit floating-point. 4 components per attribute.</li>
|
|
7028
|
-
<li><code>
|
|
7158
|
+
<li><code>position2DHigh</code> - High 32 bits for encoded 64-bit 2D (Columbus view) position computed with {@link GeometryPipeline.encodeAttribute}. 32-bit floating-point. 4 components per attribute.</li>
|
|
7029
7159
|
<li><code>position2DLow</code> - Low 32 bits for encoded 64-bit 2D (Columbus view) position computed with {@link GeometryPipeline.encodeAttribute}. 32-bit floating-point. 4 components per attribute.</li>
|
|
7030
7160
|
<li><code>color</code> - RGBA color (normalized) usually from {@link GeometryInstance#color}. 32-bit floating-point. 4 components per attribute.</li>
|
|
7031
7161
|
<li><code>pickColor</code> - RGBA color used for picking. 32-bit floating-point. 4 components per attribute.</li>
|
|
@@ -31853,20 +31983,6 @@ export class Globe {
|
|
|
31853
31983
|
* Gets an event that's raised when the terrain provider is changed
|
|
31854
31984
|
*/
|
|
31855
31985
|
readonly terrainProviderChanged: Event;
|
|
31856
|
-
/**
|
|
31857
|
-
* A scalar used to exaggerate the terrain. Defaults to <code>1.0</code> (no exaggeration).
|
|
31858
|
-
A value of <code>2.0</code> scales the terrain by 2x.
|
|
31859
|
-
A value of <code>0.0</code> makes the terrain completely flat.
|
|
31860
|
-
Note that terrain exaggeration will not modify any other primitive as they are positioned relative to the ellipsoid.
|
|
31861
|
-
*/
|
|
31862
|
-
terrainExaggeration: number;
|
|
31863
|
-
/**
|
|
31864
|
-
* The height from which terrain is exaggerated. Defaults to <code>0.0</code> (scaled relative to ellipsoid surface).
|
|
31865
|
-
Terrain that is above this height will scale upwards and terrain that is below this height will scale downwards.
|
|
31866
|
-
Note that terrain exaggeration will not modify any other primitive as they are positioned relative to the ellipsoid.
|
|
31867
|
-
If {@link Globe#terrainExaggeration} is <code>1.0</code> this value will have no effect.
|
|
31868
|
-
*/
|
|
31869
|
-
terrainExaggerationRelativeHeight: number;
|
|
31870
31986
|
/**
|
|
31871
31987
|
* Gets an event that's raised when the length of the tile load queue has changed since the last render frame. When the load queue is empty,
|
|
31872
31988
|
all terrain and imagery for the current view have been loaded. The event passes the new length of the tile load queue.
|