Compare commits
25 Commits
e9492904e5
...
zyl
Author | SHA1 | Date | |
---|---|---|---|
0e8793f01d | |||
a1f5a61252 | |||
47fa66ce6b | |||
50ef8e1f05 | |||
6629775367 | |||
41bffc2e83 | |||
a33fbb1cbe | |||
39dc98401d | |||
30745547c2 | |||
9f1d2e9e4f | |||
5d463e3632 | |||
9c9ac8e84f | |||
202341f0d9 | |||
4b0473b928 | |||
e78b8c2073 | |||
80f63fcca1 | |||
cb5e9bbb86 | |||
85121ac6a8 | |||
e31d7c7ae0 | |||
0fd6759262 | |||
9f40803009 | |||
4b1baec32a | |||
a36f059731 | |||
67a39c11e2 | |||
ff34b26a7b |
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,7 +1,9 @@
|
||||
node_modules
|
||||
dist
|
||||
build
|
||||
out
|
||||
.history
|
||||
.DS_Store
|
||||
.vscode
|
||||
.eslintcache
|
||||
*.log*
|
||||
|
4
.vscode/settings.json
vendored
4
.vscode/settings.json
vendored
@ -1,6 +1,6 @@
|
||||
{
|
||||
"[typescript]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
"editor.defaultFormatter": "vscode.typescript-language-features"
|
||||
},
|
||||
"[javascript]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
@ -13,4 +13,4 @@
|
||||
"src/renderer/src/assets/i18n/lang"
|
||||
],
|
||||
"liveServer.settings.port": 5501
|
||||
}
|
||||
}
|
80
package-lock.json
generated
80
package-lock.json
generated
@ -13,6 +13,9 @@
|
||||
"@electron-toolkit/utils": "^4.0.0",
|
||||
"@ztree/ztree_v3": "^3.5.48",
|
||||
"axios": "^1.11.0",
|
||||
"clipboard": "^2.0.11",
|
||||
"dayjs": "^1.11.18",
|
||||
"echarts": "^6.0.0",
|
||||
"electron-updater": "^6.3.9",
|
||||
"element-plus": "^2.10.4",
|
||||
"mitt": "^3.0.1",
|
||||
@ -29,7 +32,7 @@
|
||||
"@electron-toolkit/eslint-config-ts": "^3.0.0",
|
||||
"@electron-toolkit/tsconfig": "^1.0.1",
|
||||
"@types/jquery": "^3.5.32",
|
||||
"@types/node": "^22.16.5",
|
||||
"@types/node": "^22.18.1",
|
||||
"@types/plist": "^3.0.5",
|
||||
"@types/verror": "^1.10.11",
|
||||
"@types/vue-i18n": "^6.1.3",
|
||||
@ -2648,9 +2651,9 @@
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@types/node": {
|
||||
"version": "22.16.5",
|
||||
"resolved": "https://registry.npmmirror.com/@types/node/-/node-22.16.5.tgz",
|
||||
"integrity": "sha512-bJFoMATwIGaxxx8VJPeM8TonI8t579oRvgAuT8zFugJsJZgzqv0Fu8Mhp68iecjzG7cnN3mO2dJQ5uUM2EFrgQ==",
|
||||
"version": "22.18.1",
|
||||
"resolved": "https://registry.npmmirror.com/@types/node/-/node-22.18.1.tgz",
|
||||
"integrity": "sha512-rzSDyhn4cYznVG+PCzGe1lwuMYJrcBS1fc3JqSa2PvtABwWo+dZ1ij5OVok3tqfpEBCBoaR4d7upFJk73HRJDw==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"undici-types": "~6.21.0"
|
||||
@ -4646,6 +4649,17 @@
|
||||
"url": "https://github.com/sponsors/sindresorhus"
|
||||
}
|
||||
},
|
||||
"node_modules/clipboard": {
|
||||
"version": "2.0.11",
|
||||
"resolved": "https://registry.npmmirror.com/clipboard/-/clipboard-2.0.11.tgz",
|
||||
"integrity": "sha512-C+0bbOqkezLIsmWSvlsXS0Q0bmkugu7jcfMIACB+RDEntIzQIkdr148we28AfSloQLRdZlYL/QYyrq05j/3Faw==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"good-listener": "^1.2.2",
|
||||
"select": "^1.1.2",
|
||||
"tiny-emitter": "^2.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/cliui": {
|
||||
"version": "8.0.1",
|
||||
"resolved": "https://registry.npmmirror.com/cliui/-/cliui-8.0.1.tgz",
|
||||
@ -5195,9 +5209,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/dayjs": {
|
||||
"version": "1.11.13",
|
||||
"resolved": "https://registry.npmmirror.com/dayjs/-/dayjs-1.11.13.tgz",
|
||||
"integrity": "sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==",
|
||||
"version": "1.11.18",
|
||||
"resolved": "https://registry.npmmirror.com/dayjs/-/dayjs-1.11.18.tgz",
|
||||
"integrity": "sha512-zFBQ7WFRvVRhKcWoUh+ZA1g2HVgUbsZm9sbddh8EC5iv93sui8DVVz1Npvz+r6meo9VKfa8NyLWBsQK1VvIKPA==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/de-indent": {
|
||||
@ -5360,6 +5374,12 @@
|
||||
"node": ">=0.4.0"
|
||||
}
|
||||
},
|
||||
"node_modules/delegate": {
|
||||
"version": "3.2.0",
|
||||
"resolved": "https://registry.npmmirror.com/delegate/-/delegate-3.2.0.tgz",
|
||||
"integrity": "sha512-IofjkYBZaZivn0V8nnsMJGBr4jVLxHDheKSW88PyxS5QC4Vo9ZbZVvhzlSxY87fVq3STR6r+4cGepyHkcWOQSw==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/delegates": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmmirror.com/delegates/-/delegates-1.0.0.tgz",
|
||||
@ -5609,6 +5629,16 @@
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/echarts": {
|
||||
"version": "6.0.0",
|
||||
"resolved": "https://registry.npmmirror.com/echarts/-/echarts-6.0.0.tgz",
|
||||
"integrity": "sha512-Tte/grDQRiETQP4xz3iZWSvoHrkCQtwqd6hs+mifXcjrCuo2iKWbajFObuLJVBlDIJlOzgQPd1hsaKt/3+OMkQ==",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"tslib": "2.3.0",
|
||||
"zrender": "6.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/ejs": {
|
||||
"version": "3.1.10",
|
||||
"resolved": "https://registry.npmmirror.com/ejs/-/ejs-3.1.10.tgz",
|
||||
@ -7247,6 +7277,15 @@
|
||||
"url": "https://github.com/sponsors/ljharb"
|
||||
}
|
||||
},
|
||||
"node_modules/good-listener": {
|
||||
"version": "1.2.2",
|
||||
"resolved": "https://registry.npmmirror.com/good-listener/-/good-listener-1.2.2.tgz",
|
||||
"integrity": "sha512-goW1b+d9q/HIwbVYZzZ6SsTr4IgE+WA44A0GmPIQstuOrgsFcT7VEJ48nmr9GaRtNu0XTKacFLGnBPAM6Afouw==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"delegate": "^3.1.2"
|
||||
}
|
||||
},
|
||||
"node_modules/gopd": {
|
||||
"version": "1.2.0",
|
||||
"resolved": "https://registry.npmmirror.com/gopd/-/gopd-1.2.0.tgz",
|
||||
@ -10980,6 +11019,12 @@
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/select": {
|
||||
"version": "1.1.2",
|
||||
"resolved": "https://registry.npmmirror.com/select/-/select-1.1.2.tgz",
|
||||
"integrity": "sha512-OwpTSOfy6xSs1+pwcNrv0RBMOzI39Lp3qQKUTPVVPRjCdNa5JH/oPRiqsesIskK8TVgmRiHwO4KXlV2Li9dANA==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/semver": {
|
||||
"version": "6.3.1",
|
||||
"resolved": "https://registry.npmmirror.com/semver/-/semver-6.3.1.tgz",
|
||||
@ -12237,6 +12282,12 @@
|
||||
"node": ">= 10.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/tiny-emitter": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmmirror.com/tiny-emitter/-/tiny-emitter-2.1.0.tgz",
|
||||
"integrity": "sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/tiny-typed-emitter": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmmirror.com/tiny-typed-emitter/-/tiny-typed-emitter-2.1.0.tgz",
|
||||
@ -12455,6 +12506,12 @@
|
||||
"typescript": ">=4.8.4"
|
||||
}
|
||||
},
|
||||
"node_modules/tslib": {
|
||||
"version": "2.3.0",
|
||||
"resolved": "https://registry.npmmirror.com/tslib/-/tslib-2.3.0.tgz",
|
||||
"integrity": "sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==",
|
||||
"license": "0BSD"
|
||||
},
|
||||
"node_modules/type-check": {
|
||||
"version": "0.4.0",
|
||||
"resolved": "https://registry.npmmirror.com/type-check/-/type-check-0.4.0.tgz",
|
||||
@ -13880,6 +13937,15 @@
|
||||
"engines": {
|
||||
"node": ">= 10"
|
||||
}
|
||||
},
|
||||
"node_modules/zrender": {
|
||||
"version": "6.0.0",
|
||||
"resolved": "https://registry.npmmirror.com/zrender/-/zrender-6.0.0.tgz",
|
||||
"integrity": "sha512-41dFXEEXuJpNecuUQq6JlbybmnHaqqpGlbH1yxnA5V9MMP4SbohSVZsJIwz+zdjQXSSlR1Vc34EgH1zxyTDvhg==",
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": {
|
||||
"tslib": "2.3.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -25,6 +25,9 @@
|
||||
"@electron-toolkit/utils": "^4.0.0",
|
||||
"@ztree/ztree_v3": "^3.5.48",
|
||||
"axios": "^1.11.0",
|
||||
"clipboard": "^2.0.11",
|
||||
"dayjs": "^1.11.18",
|
||||
"echarts": "^6.0.0",
|
||||
"electron-updater": "^6.3.9",
|
||||
"element-plus": "^2.10.4",
|
||||
"mitt": "^3.0.1",
|
||||
@ -41,7 +44,7 @@
|
||||
"@electron-toolkit/eslint-config-ts": "^3.0.0",
|
||||
"@electron-toolkit/tsconfig": "^1.0.1",
|
||||
"@types/jquery": "^3.5.32",
|
||||
"@types/node": "^22.16.5",
|
||||
"@types/node": "^22.18.1",
|
||||
"@types/plist": "^3.0.5",
|
||||
"@types/verror": "^1.10.11",
|
||||
"@types/vue-i18n": "^6.1.3",
|
||||
|
@ -4,6 +4,8 @@ import { electronApp, optimizer, is } from '@electron-toolkit/utils'
|
||||
import icon from '../../resources/earth.png?asset'
|
||||
import fs from 'fs'
|
||||
|
||||
const { exec } = require('child_process');
|
||||
|
||||
// 开发环境路径处理 - 确保添加正确的file协议
|
||||
const devSplashPath = path.resolve(
|
||||
app.getAppPath(),
|
||||
|
2
src/preload/index.d.ts
vendored
2
src/preload/index.d.ts
vendored
@ -4,5 +4,7 @@ declare global {
|
||||
interface Window {
|
||||
electron: ElectronAPI
|
||||
api: unknown
|
||||
Cesium: any
|
||||
YJColorPicker: any
|
||||
}
|
||||
}
|
||||
|
@ -18,4 +18,8 @@ if (process.contextIsolated) {
|
||||
window.electron = electronAPI
|
||||
// @ts-ignore (define in dts)
|
||||
window.electronAPI = api
|
||||
// @ts-ignore (define in dts)
|
||||
window.Cesium = Cesium
|
||||
// @ts-ignore (define in dts)
|
||||
window.YJColorPicker = YJColorPicker
|
||||
}
|
||||
|
3
src/renderer/components.d.ts
vendored
3
src/renderer/components.d.ts
vendored
@ -9,18 +9,17 @@ export {}
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
BaseDialog: typeof import('./src/components/dialog/baseDialog.vue')['default']
|
||||
Dialog: typeof import('./src/components/dialog/index.vue')['default']
|
||||
Directory: typeof import('./src/components/dialog/directory.vue')['default']
|
||||
ElButton: typeof import('element-plus/es')['ElButton']
|
||||
ElCheckbox: typeof import('element-plus/es')['ElCheckbox']
|
||||
ElDialog: typeof import('element-plus/es')['ElDialog']
|
||||
ElForm: typeof import('element-plus/es')['ElForm']
|
||||
ElFormItem: typeof import('element-plus/es')['ElFormItem']
|
||||
ElIcon: typeof import('element-plus/es')['ElIcon']
|
||||
ElInput: typeof import('element-plus/es')['ElInput']
|
||||
ElOption: typeof import('element-plus/es')['ElOption']
|
||||
ElPagination: typeof import('element-plus/es')['ElPagination']
|
||||
ElSelect: typeof import('element-plus/es')['ElSelect']
|
||||
ElSlider: typeof import('element-plus/es')['ElSlider']
|
||||
ElSwitch: typeof import('element-plus/es')['ElSwitch']
|
||||
ElTable: typeof import('element-plus/es')['ElTable']
|
||||
ElTableColumn: typeof import('element-plus/es')['ElTableColumn']
|
||||
|
@ -5,8 +5,7 @@
|
||||
<meta charset="UTF-8" />
|
||||
<title>Electron</title>
|
||||
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
|
||||
<meta http-equiv="Content-Security-Policy"
|
||||
content="default-src 'self'; connect-src 'self' http://127.0.0.1:8808; script-src 'self' 'unsafe-eval' 'unsafe-inline'; worker-src 'self' blob:; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self' data:;" />
|
||||
|
||||
<style src="/sdk/custom/css/index.css"></style>
|
||||
</head>
|
||||
|
||||
|
@ -810,6 +810,7 @@
|
||||
else
|
||||
this.init(o, this.config)
|
||||
}
|
||||
this.changeColor = g
|
||||
this.close = () => {
|
||||
this.pickerFlag = !this.pickerFlag,
|
||||
this.picker.style.opacity = 0
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,7 +0,0 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../../../Source/Widgets/Animation/Animation.css"],
|
||||
"sourcesContent": [".cesium-animation-theme {\n visibility: hidden;\n display: block;\n position: absolute;\n z-index: -100;\n}\n\n.cesium-animation-themeNormal {\n color: #222;\n}\n\n.cesium-animation-themeHover {\n color: #4488b0;\n}\n\n.cesium-animation-themeSelect {\n color: #242;\n}\n\n.cesium-animation-themeDisabled {\n color: #333;\n}\n\n.cesium-animation-themeKnob {\n color: #222;\n}\n\n.cesium-animation-themePointer {\n color: #2e2;\n}\n\n.cesium-animation-themeSwoosh {\n color: #8ac;\n}\n\n.cesium-animation-themeSwooshHover {\n color: #aef;\n}\n\n.cesium-animation-svgText {\n fill: #edffff;\n font-family: Sans-Serif;\n font-size: 15px;\n text-anchor: middle;\n}\n\n.cesium-animation-blank {\n fill: #000;\n fill-opacity: 0.01; /* This must be clickable, so it can't be 'fill: none'. */\n stroke: none;\n}\n\n.cesium-animation-rectButton {\n cursor: pointer;\n -moz-user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.cesium-animation-rectButton .cesium-animation-buttonGlow {\n fill: #fff;\n stroke: none;\n /* Widget will add: filter: url(#animation_blurred); */\n display: none;\n}\n\n.cesium-animation-rectButton:hover .cesium-animation-buttonGlow {\n display: block;\n}\n\n.cesium-animation-rectButton .cesium-animation-buttonPath {\n fill: #edffff;\n}\n\n.cesium-animation-rectButton .cesium-animation-buttonMain {\n /* Widget will add: fill: url(#animation_buttonNormal); */\n stroke: #444;\n stroke-width: 1.2;\n}\n\n.cesium-animation-rectButton:hover .cesium-animation-buttonMain {\n /* Widget will add: fill: url(#animation_buttonHovered); */\n stroke: #aef;\n}\n\n.cesium-animation-rectButton:active .cesium-animation-buttonMain {\n fill: #abd6ff;\n}\n\n.cesium-animation-buttonDisabled {\n -moz-user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.cesium-animation-buttonDisabled .cesium-animation-buttonMain {\n /* Widget will add: fill: url(#animation_buttonDisabled); */\n stroke: #555;\n}\n\n.cesium-animation-buttonDisabled .cesium-animation-buttonPath {\n fill: #818181;\n}\n\n.cesium-animation-buttonDisabled .cesium-animation-buttonGlow {\n display: none;\n}\n\n.cesium-animation-buttonToggled .cesium-animation-buttonGlow {\n display: block;\n fill: #2e2;\n}\n\n.cesium-animation-buttonToggled .cesium-animation-buttonMain {\n stroke: #2e2;\n}\n\n.cesium-animation-buttonToggled:hover .cesium-animation-buttonGlow {\n fill: #fff;\n}\n\n.cesium-animation-buttonToggled:hover .cesium-animation-buttonMain {\n stroke: #2e2;\n}\n\n.cesium-animation-shuttleRingG {\n cursor: pointer;\n}\n\n/* Widget will add:\n.cesium-animation-shuttleRingG .cesium-animation-shuttleRingSwoosh {\n fill: url(#animation_shuttleRingSwooshGradient);\n}\n\n.cesium-animation-shuttleRingG:hover .cesium-animation-shuttleRingSwoosh {\n fill: url(#animation_shuttleRingSwooshHovered);\n}\n*/\n\n.cesium-animation-shuttleRingPointer {\n /* Widget will add: fill: url(#animation_shuttleRingPointerGradient); */\n cursor: pointer;\n}\n\n.cesium-animation-shuttleRingPausePointer {\n /* Widget will add: fill: url(#animation_shuttleRingPointerPaused); */\n cursor: pointer;\n}\n\n.cesium-animation-shuttleRingBack {\n fill: #181818;\n fill-opacity: 0.8;\n stroke: #333;\n stroke-width: 1.2;\n}\n\n.cesium-animation-shuttleRingSwoosh line {\n stroke: #8ac;\n stroke-width: 3;\n stroke-opacity: 0.2;\n stroke-linecap: round;\n}\n\n.cesium-animation-knobOuter {\n /* Widget will add: fill: url(#animation_knobOuter); */\n cursor: pointer;\n stroke: #444;\n stroke-width: 1.2;\n}\n\n.cesium-animation-knobInner {\n /* Widget will add: fill: url(#animation_knobInner); */\n cursor: pointer;\n}\n"],
|
||||
"mappings": "AAAA,wBACE,kBACA,cACA,kBACA,aAGF,8BACE,WAGF,6BACE,cAGF,8BACE,WAGF,gCACE,WAGF,4BACE,WAGF,+BACE,WAGF,8BACE,WAGF,mCACE,WAGF,0BACE,aACA,uBACA,eACA,mBAGF,wBACE,UACA,iBACA,YAGF,6BACE,eACA,sBACA,yBACA,qBACA,iBAGF,0DACE,UACA,YAEA,aAGF,gEACE,cAGF,0DACE,aAGF,0DAEE,YACA,iBAGF,gEAEE,YAGF,iEACE,aAGF,iCACE,sBACA,yBACA,qBACA,iBAGF,8DAEE,YAGF,8DACE,aAGF,8DACE,aAGF,6DACE,cACA,UAGF,6DACE,YAGF,mEACE,UAGF,mEACE,YAGF,8GACE,eAuBF,kCACE,aACA,gBACA,YACA,iBAGF,yCACE,YACA,eACA,kBACA,qBAGF,4BAEE,eACA,YACA,iBAGF,4BAEE",
|
||||
"names": []
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../../../Source/Widgets/Animation/lighter.css"],
|
||||
"sourcesContent": [".cesium-lighter .cesium-animation-themeNormal {\n color: #e5f2fe;\n}\n\n.cesium-lighter .cesium-animation-themeHover {\n color: #abd6ff;\n}\n\n.cesium-lighter .cesium-animation-themeSelect {\n color: #e5f2fe;\n}\n\n.cesium-lighter .cesium-animation-themeDisabled {\n color: #efefef;\n}\n\n.cesium-lighter .cesium-animation-themeKnob {\n color: #e1e2e3;\n}\n\n.cesium-lighter .cesium-animation-themePointer {\n color: #fa5;\n}\n\n.cesium-lighter .cesium-animation-themeSwoosh {\n color: #ace;\n}\n\n.cesium-lighter .cesium-animation-themeSwooshHover {\n color: #bdf;\n}\n\n.cesium-lighter .cesium-animation-svgText {\n fill: #111;\n}\n\n.cesium-lighter .cesium-animation-rectButton .cesium-animation-buttonPath {\n fill: #111;\n}\n\n.cesium-lighter .cesium-animation-rectButton .cesium-animation-buttonMain {\n stroke: #759dc0;\n}\n\n.cesium-lighter .cesium-animation-buttonToggled .cesium-animation-buttonGlow {\n fill: #ffaa2a;\n}\n\n.cesium-lighter .cesium-animation-buttonToggled .cesium-animation-buttonMain {\n /* Widget will add: fill: url(#animation_buttonToggled); */\n stroke: #ea0;\n}\n\n.cesium-lighter\n .cesium-animation-rectButton:hover\n .cesium-animation-buttonMain {\n stroke: #759dc0;\n}\n\n.cesium-lighter\n .cesium-animation-buttonToggled:hover\n .cesium-animation-buttonGlow {\n fill: #fff;\n}\n\n.cesium-lighter\n .cesium-animation-buttonToggled:hover\n .cesium-animation-buttonMain {\n stroke: #ea0;\n}\n\n.cesium-lighter\n .cesium-animation-rectButton:active\n .cesium-animation-buttonMain {\n fill: #abd6ff;\n}\n\n.cesium-lighter .cesium-animation-buttonDisabled .cesium-animation-buttonMain {\n stroke: #d3d3d3;\n}\n\n.cesium-lighter .cesium-animation-buttonDisabled .cesium-animation-buttonPath {\n fill: #818181;\n}\n\n.cesium-lighter .cesium-animation-shuttleRingBack {\n fill: #fafafa;\n fill-opacity: 1;\n stroke: #aeaeae;\n stroke-width: 1.2;\n}\n\n.cesium-lighter .cesium-animation-shuttleRingSwoosh line {\n stroke: #8ac;\n}\n\n.cesium-lighter .cesium-animation-knobOuter {\n stroke: #a5a5a5;\n}\n"],
|
||||
"mappings": "AAAA,8CACE,cAGF,6CACE,cAGF,8CACE,cAGF,gDACE,cAGF,4CACE,cAGF,+CACE,WAGF,8CACE,WAGF,mDACE,WAGF,oHACE,UAOF,0EACE,eAGF,6EACE,aAGF,6EAEE,YAGF,gFAGE,eAGF,mFAGE,UAGF,mFAGE,YAGF,iFAGE,aAGF,8EACE,eAGF,8EACE,aAGF,kDACE,aACA,eACA,eACA,iBAGF,yDACE,YAGF,4CACE",
|
||||
"names": []
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../../../Source/Widgets/BaseLayerPicker/BaseLayerPicker.css"],
|
||||
"sourcesContent": [".cesium-baseLayerPicker-selected {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border: none;\n}\n\n.cesium-baseLayerPicker-dropDown {\n display: block;\n position: absolute;\n box-sizing: content-box;\n top: auto;\n right: 0;\n width: 320px; /* Includes space needed for scrollbar */\n max-height: 500px;\n margin-top: 5px;\n background-color: rgba(38, 38, 38, 0.75);\n border: 1px solid #444;\n padding: 6px;\n overflow: auto;\n border-radius: 10px;\n -moz-user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n transform: translate(0, -20%);\n visibility: hidden;\n opacity: 0;\n transition: visibility 0s 0.2s, opacity 0.2s ease-in, transform 0.2s ease-in;\n}\n\n.cesium-baseLayerPicker-dropDown-visible {\n transform: translate(0, 0);\n visibility: visible;\n opacity: 1;\n transition: opacity 0.2s ease-out, transform 0.2s ease-out;\n}\n\n.cesium-baseLayerPicker-sectionTitle {\n display: block;\n font-family: sans-serif;\n font-size: 16pt;\n text-align: left;\n color: #edffff;\n margin-bottom: 4px;\n}\n\n.cesium-baseLayerPicker-choices {\n margin-bottom: 5px;\n}\n\n.cesium-baseLayerPicker-categoryTitle {\n color: #edffff;\n font-size: 11pt;\n}\n\n.cesium-baseLayerPicker-choices {\n display: block;\n border: 1px solid #888;\n border-radius: 5px;\n padding: 5px 0;\n}\n\n.cesium-baseLayerPicker-item {\n display: inline-block;\n vertical-align: top;\n margin: 2px 5px;\n width: 64px;\n text-align: center;\n cursor: pointer;\n}\n\n.cesium-baseLayerPicker-itemLabel {\n display: block;\n font-family: sans-serif;\n font-size: 8pt;\n text-align: center;\n vertical-align: middle;\n color: #edffff;\n cursor: pointer;\n word-wrap: break-word;\n}\n\n.cesium-baseLayerPicker-item:hover .cesium-baseLayerPicker-itemLabel,\n.cesium-baseLayerPicker-item:focus .cesium-baseLayerPicker-itemLabel {\n text-decoration: underline;\n}\n\n.cesium-baseLayerPicker-itemIcon {\n display: inline-block;\n position: relative;\n width: inherit;\n height: auto;\n background-size: 100% 100%;\n border: solid 1px #444;\n border-radius: 9px;\n color: #edffff;\n margin: 0;\n padding: 0;\n cursor: pointer;\n box-sizing: border-box;\n}\n\n.cesium-baseLayerPicker-item:hover .cesium-baseLayerPicker-itemIcon {\n border-color: #fff;\n box-shadow: 0 0 8px #fff, 0 0 8px #fff;\n}\n\n.cesium-baseLayerPicker-selectedItem .cesium-baseLayerPicker-itemLabel {\n color: rgb(189, 236, 248);\n}\n\n.cesium-baseLayerPicker-selectedItem .cesium-baseLayerPicker-itemIcon {\n border: double 4px rgb(189, 236, 248);\n}\n"],
|
||||
"mappings": "AAAA,iCACE,kBACA,MACA,OACA,WACA,YACA,YAGF,iCACE,cACA,kBACA,uBACA,SACA,QACA,YACA,iBACA,eACA,2BACA,sBAnBF,YAqBE,cArBF,mBAuBE,sBACA,yBACA,qBACA,iBACA,2BACA,kBACA,UACA,uEAGF,yCACE,uBACA,mBACA,UACA,uDAGF,qCACE,cACA,uBACA,eACA,gBACA,cACA,kBAGF,gCACE,kBAGF,sCACE,cACA,eAGF,gCACE,cACA,sBA5DF,gCAiEA,6BACE,qBACA,mBAnEF,eAqEE,WACA,kBACA,eAGF,kCACE,cACA,uBACA,cACA,kBACA,sBACA,cACA,eACA,qBAGF,0IAEE,0BAGF,iCACE,qBACA,kBACA,cACA,YACA,0BACA,sBAhGF,kBAkGE,cAlGF,mBAqGE,eACA,sBAGF,oEACE,kBACA,qCAGF,uEACE,cAGF,sEACE",
|
||||
"names": []
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../../../Source/Widgets/BaseLayerPicker/lighter.css"],
|
||||
"sourcesContent": [".cesium-lighter .cesium-baseLayerPicker-itemIcon {\n border-color: #759dc0;\n}\n\n.cesium-lighter .cesium-baseLayerPicker-dropDown {\n background-color: rgba(240, 240, 240, 0.75);\n}\n\n.cesium-lighter .cesium-baseLayerPicker-sectionTitle {\n color: black;\n}\n\n.cesium-lighter .cesium-baseLayerPicker-itemLabel {\n color: black;\n}\n\n.cesium-lighter\n .cesium-baseLayerPicker-item:hover\n .cesium-baseLayerPicker-itemIcon {\n border-color: #000;\n}\n\n.cesium-lighter\n .cesium-baseLayerPicker-selectedItem\n .cesium-baseLayerPicker-itemLabel {\n color: rgb(0, 61, 168);\n}\n\n.cesium-lighter\n .cesium-baseLayerPicker-selectedItem\n .cesium-baseLayerPicker-itemIcon {\n border: double 4px rgb(0, 61, 168);\n}\n"],
|
||||
"mappings": "AAAA,iDACE,qBAGF,iDACE,2BAGF,uGACE,WAOF,oFAGE,kBAGF,uFAGE,cAGF,sFAGE",
|
||||
"names": []
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../../../Source/Widgets/Cesium3DTilesInspector/Cesium3DTilesInspector.css"],
|
||||
"sourcesContent": ["ul.cesium-cesiumInspector-statistics {\n margin: 0;\n padding-top: 3px;\n padding-bottom: 3px;\n}\n\nul.cesium-cesiumInspector-statistics + ul.cesium-cesiumInspector-statistics {\n border-top: 1px solid #aaa;\n}\n\n.cesium-cesiumInspector-slider {\n margin-top: 5px;\n}\n\n.cesium-cesiumInspector-slider input[type=\"number\"] {\n text-align: left;\n background-color: #222;\n outline: none;\n border: 1px solid #444;\n color: #edffff;\n width: 100px;\n border-radius: 3px;\n padding: 1px;\n margin-left: 10px;\n cursor: auto;\n}\n\n.cesium-cesiumInspector-slider input[type=\"number\"]::-webkit-outer-spin-button,\n.cesium-cesiumInspector-slider input[type=\"number\"]::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n\n.cesium-cesiumInspector-slider input[type=\"range\"] {\n margin-left: 5px;\n vertical-align: middle;\n}\n\n.cesium-cesiumInspector-hide .cesium-cesiumInspector-styleEditor {\n display: none;\n}\n\n.cesium-cesiumInspector-styleEditor {\n padding: 10px;\n border-radius: 5px;\n background: rgba(48, 51, 54, 0.8);\n border: 1px solid #444;\n}\n\n.cesium-cesiumInspector-styleEditor textarea {\n width: 100%;\n height: 300px;\n background: transparent;\n color: #edffff;\n border: none;\n padding: 0;\n white-space: pre;\n overflow-wrap: normal;\n overflow-x: auto;\n}\n\n.cesium-3DTilesInspector {\n width: 300px;\n pointer-events: all;\n}\n\n.cesium-3DTilesInspector-statistics {\n font-size: 11px;\n}\n\n.cesium-3DTilesInspector-disabledElementsInfo {\n margin: 5px 0 0 0;\n padding: 0 0 0 20px;\n color: #eed202;\n}\n\n.cesium-3DTilesInspector div,\n.cesium-3DTilesInspector input[type=\"range\"] {\n width: 100%;\n box-sizing: border-box;\n}\n\n.cesium-cesiumInspector-error {\n color: #ff9e9e;\n overflow: auto;\n}\n\n.cesium-3DTilesInspector .cesium-cesiumInspector-section {\n margin-top: 3px;\n}\n\n.cesium-3DTilesInspector\n .cesium-cesiumInspector-sectionHeader\n + .cesium-cesiumInspector-show {\n border-top: 1px solid white;\n}\n\ninput.cesium-cesiumInspector-url {\n overflow: hidden;\n white-space: nowrap;\n overflow-x: scroll;\n background-color: transparent;\n color: white;\n outline: none;\n border: none;\n height: 1em;\n width: 100%;\n}\n\n.cesium-cesiumInspector .field-group {\n display: table;\n}\n\n.cesium-cesiumInspector .field-group > label {\n display: table-cell;\n font-weight: bold;\n}\n\n.cesium-cesiumInspector .field-group > .field {\n display: table-cell;\n width: 100%;\n}\n"],
|
||||
"mappings": "AAAA,8CAEE,gBACA,mBAGF,0EACE,0BAGF,+BACE,eAGF,kDACE,gBACA,sBACA,aACA,sBACA,cACA,YApBF,8BAuBE,iBACA,YAGF,0JAEE,wBA7BF,SAiCA,iDACE,gBACA,sBAGF,iEACE,aAGF,oCA1CA,+BA6CE,6BACA,sBAGF,6CACE,WACA,aACA,uBACA,cACA,YAtDF,UAwDE,gBACA,qBACA,gBAGF,yBACE,YACA,mBAGF,oCACE,eAGF,8CAtEA,kCAyEE,cAGF,wEAEE,WACA,sBAGF,8BACE,cACA,cAGF,yDACE,eAGF,4FAGE,2BAGF,iCACE,gBACA,mBACA,kBACA,6BACA,WACA,aACA,YACA,WACA,WAGF,qCACE,cAGF,2CACE,mBACA,gBAGF,4CACE,mBACA",
|
||||
"names": []
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../../../Source/Widgets/CesiumInspector/CesiumInspector.css"],
|
||||
"sourcesContent": [".cesium-cesiumInspector {\n border-radius: 5px;\n transition: width ease-in-out 0.25s;\n background: rgba(48, 51, 54, 0.8);\n border: 1px solid #444;\n color: #edffff;\n display: inline-block;\n position: relative;\n padding: 4px 12px;\n -moz-user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n overflow: hidden;\n}\n\n.cesium-cesiumInspector-button {\n text-align: center;\n font-size: 11pt;\n}\n\n.cesium-cesiumInspector-visible .cesium-cesiumInspector-button {\n border-bottom: 1px solid #aaa;\n padding-bottom: 3px;\n}\n\n.cesium-cesiumInspector input:enabled,\n.cesium-cesiumInspector-button {\n cursor: pointer;\n}\n\n.cesium-cesiumInspector-visible {\n width: 185px;\n height: auto;\n}\n\n.cesium-cesiumInspector-hidden {\n width: 122px;\n height: 17px;\n}\n\n.cesium-cesiumInspector-sectionContent {\n max-height: 600px;\n}\n\n.cesium-cesiumInspector-section-collapsed\n .cesium-cesiumInspector-sectionContent {\n max-height: 0;\n padding: 0 !important;\n overflow: hidden;\n}\n\n.cesium-cesiumInspector-dropDown {\n margin: 5px 0;\n font-family: sans-serif;\n font-size: 10pt;\n width: 185px;\n}\n\n.cesium-cesiumInspector-frustumStatistics {\n padding-left: 10px;\n padding: 5px;\n background-color: rgba(80, 80, 80, 0.75);\n}\n\n.cesium-cesiumInspector-pickButton {\n background-color: rgba(0, 0, 0, 0.3);\n border: 1px solid #444;\n color: #edffff;\n border-radius: 5px;\n padding: 3px 7px;\n cursor: pointer;\n -moz-user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n margin: 0 auto;\n}\n\n.cesium-cesiumInspector-pickButton:focus {\n outline: none;\n}\n\n.cesium-cesiumInspector-pickButton:active,\n.cesium-cesiumInspector-pickButtonHighlight {\n color: #000; /* For text buttons */\n background: #adf;\n border-color: #fff;\n box-shadow: 0 0 8px #fff;\n}\n\n.cesium-cesiumInspector-center {\n text-align: center;\n}\n\n.cesium-cesiumInspector-sectionHeader {\n font-weight: bold;\n font-size: 10pt;\n margin: 0;\n cursor: pointer;\n}\n\n.cesium-cesiumInspector-pickSection {\n border: 1px solid #aaa;\n border-radius: 5px;\n padding: 3px;\n margin-bottom: 5px;\n}\n\n.cesium-cesiumInspector-sectionContent {\n margin-bottom: 10px;\n transition: max-height 0.25s;\n}\n\n.cesium-cesiumInspector-tileText {\n padding-bottom: 10px;\n border-bottom: 1px solid #aaa;\n}\n\n.cesium-cesiumInspector-relativeText {\n padding-top: 10px;\n}\n\n.cesium-cesiumInspector-sectionHeader::before {\n margin-right: 5px;\n content: \"-\";\n width: 1ch;\n display: inline-block;\n}\n\n.cesium-cesiumInspector-section-collapsed\n .cesium-cesiumInspector-sectionHeader::before {\n content: \"+\";\n}\n"],
|
||||
"mappings": "AAAA,0CAEE,kCACA,6BACA,sBACA,cACA,qBACA,kBAPF,iBASE,sBACA,yBACA,qBACA,iBACA,gBAGF,+BACE,kBACA,eAGF,+DACE,6BACA,mBAGF,qEAEE,eAGF,gCACE,YACA,YAGF,+BACE,YACA,YAGF,uCACE,iBAGF,iFAEE,aA/CF,oBAiDE,gBAGF,iCApDA,aAsDE,uBACA,eACA,YAGF,0CA3DA,YA8DE,2BAGF,mCACE,2BACA,sBACA,cApEF,kCAuEE,eACA,sBACA,yBACA,qBACA,iBA3EF,cA+EA,yCACE,aAGF,sFAEE,WACA,gBACA,kBACA,wBAGF,+BACE,kBAGF,sCACE,gBACA,eAjGF,SAmGE,eAGF,oCACE,sBAvGF,8BA0GE,kBAGF,uCACE,mBACA,2BAGF,iCACE,oBACA,6BAGF,qCACE,iBAGF,6CACE,iBACA,YACA,UACA,qBAGF,uFAEE",
|
||||
"names": []
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../../../Source/Widgets/CesiumWidget/CesiumWidget.css"],
|
||||
"sourcesContent": [".cesium-widget {\n position: relative;\n}\n\n.cesium-widget,\n.cesium-widget canvas {\n width: 100%;\n height: 100%;\n touch-action: none;\n}\n\n.cesium-widget-credits {\n display: block;\n position: absolute;\n bottom: 0;\n left: 0;\n color: #fff;\n font-size: 10px;\n text-shadow: 0px 0px 2px #000000;\n padding-right: 5px;\n}\n\n.cesium-widget-credits a,\n.cesium-widget-credits a:visited {\n color: #fff;\n}\n\n.cesium-widget-errorPanel {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n text-align: center;\n background: rgba(0, 0, 0, 0.7);\n z-index: 99999;\n}\n\n.cesium-widget-errorPanel:before {\n display: inline-block;\n vertical-align: middle;\n height: 100%;\n content: \"\";\n}\n\n.cesium-widget-errorPanel-content {\n width: 75%;\n max-width: 500px;\n display: inline-block;\n text-align: left;\n vertical-align: middle;\n border: 1px solid #510c00;\n border-radius: 7px;\n background-color: #f0d9d5;\n font-size: 14px;\n color: #510c00;\n}\n\n.cesium-widget-errorPanel-content.expanded {\n max-width: 75%;\n}\n\n.cesium-widget-errorPanel-header {\n font-size: 18px;\n font-family: \"Open Sans\", Verdana, Geneva, sans-serif;\n background: #d69d93;\n border-bottom: 2px solid #510c00;\n padding-bottom: 10px;\n border-radius: 3px 3px 0 0;\n padding: 15px;\n}\n\n.cesium-widget-errorPanel-scroll {\n overflow: auto;\n font-family: \"Open Sans\", Verdana, Geneva, sans-serif;\n white-space: pre-wrap;\n padding: 0 15px;\n margin: 10px 0 20px 0;\n}\n\n.cesium-widget-errorPanel-buttonPanel {\n padding: 0 15px;\n margin: 10px 0 20px 0;\n text-align: right;\n}\n\n.cesium-widget-errorPanel-buttonPanel button {\n border-color: #510c00;\n background: #d69d93;\n color: #202020;\n margin: 0;\n}\n.cesium-widget-errorPanel-buttonPanel button:focus {\n border-color: #510c00;\n background: #f0d9d5;\n color: #510c00;\n}\n.cesium-widget-errorPanel-buttonPanel button:hover {\n border-color: #510c00;\n background: #f0d9d5;\n color: #510c00;\n}\n.cesium-widget-errorPanel-buttonPanel button:active {\n border-color: #510c00;\n background: #b17b72;\n color: #510c00;\n}\n\n.cesium-widget-errorPanel-more-details {\n text-decoration: underline;\n cursor: pointer;\n}\n\n.cesium-widget-errorPanel-more-details:hover {\n color: #2b0700;\n}\n"],
|
||||
"mappings": "AAAA,eACE,kBAGF,qCAEE,WACA,YACA,kBAGF,uBACE,cACA,kBACA,SACA,OACA,WACA,eACA,gCACA,kBAGF,0DAEE,WAGF,0BACE,kBA5BF,QAiCE,kBACA,0BACA,cAGF,iCACE,qBACA,sBACA,YACA,WAGF,kCACE,UACA,gBACA,qBACA,gBACA,sBACA,yBAnDF,kBAqDE,yBACA,eACA,cAGF,2CACE,cAGF,iCACE,eACA,gDACA,mBACA,gCAlEF,uCAwEA,iCACE,cACA,gDACA,qBA3EF,kCAgFA,sCAhFA,kCAmFE,iBAGF,6CACE,qBACA,mBACA,cAzFF,SA4FA,mDACE,qBACA,mBACA,cAEF,mDACE,qBACA,mBACA,cAEF,oDACE,qBACA,mBACA,cAGF,uCACE,0BACA,eAGF,6CACE",
|
||||
"names": []
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../../../Source/Widgets/CesiumWidget/lighter.css"],
|
||||
"sourcesContent": [".cesium-lighter .cesium-widget-errorPanel {\n background: rgba(255, 255, 255, 0.7);\n}\n\n.cesium-lighter .cesium-widget-errorPanel-content {\n border: 1px solid #526f82;\n border-radius: 7px;\n background-color: white;\n color: black;\n}\n\n.cesium-lighter .cesium-widget-errorPanel-header {\n color: #b87d00;\n}\n"],
|
||||
"mappings": "AAAA,0CACE,gCAGF,kDACE,yBALF,kBAOE,sBACA,WAGF,iDACE",
|
||||
"names": []
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../../../Source/Widgets/FullscreenButton/FullscreenButton.css"],
|
||||
"sourcesContent": [".cesium-button.cesium-fullscreenButton {\n display: block;\n width: 100%;\n height: 100%;\n margin: 0;\n border-radius: 0;\n}\n"],
|
||||
"mappings": "AAAA,uCACE,cACA,WACA,YAHF",
|
||||
"names": []
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../../../Source/Widgets/Geocoder/Geocoder.css"],
|
||||
"sourcesContent": [".cesium-viewer-geocoderContainer .cesium-geocoder-input {\n border: solid 1px #444;\n background-color: rgba(40, 40, 40, 0.7);\n color: white;\n display: inline-block;\n vertical-align: middle;\n width: 0;\n height: 32px;\n margin: 0;\n padding: 0 32px 0 0;\n border-radius: 0;\n box-sizing: border-box;\n transition: width ease-in-out 0.25s, background-color 0.2s ease-in-out;\n -webkit-appearance: none;\n}\n\n.cesium-viewer-geocoderContainer:hover .cesium-geocoder-input {\n border-color: #aef;\n box-shadow: 0 0 8px #fff;\n}\n\n.cesium-viewer-geocoderContainer .cesium-geocoder-input:focus {\n border-color: #ea4;\n background-color: rgba(15, 15, 15, 0.9);\n box-shadow: none;\n outline: none;\n}\n\n.cesium-viewer-geocoderContainer:hover .cesium-geocoder-input,\n.cesium-viewer-geocoderContainer .cesium-geocoder-input:focus,\n.cesium-viewer-geocoderContainer .cesium-geocoder-input-wide {\n padding-left: 4px;\n width: 250px;\n}\n\n.cesium-viewer-geocoderContainer .search-results {\n position: absolute;\n background-color: #000;\n color: #eee;\n overflow-y: auto;\n opacity: 0.8;\n width: 100%;\n}\n\n.cesium-viewer-geocoderContainer .search-results ul {\n list-style-type: none;\n margin: 0;\n padding: 0;\n}\n\n.cesium-viewer-geocoderContainer .search-results ul li {\n font-size: 14px;\n padding: 3px 10px;\n}\n.cesium-viewer-geocoderContainer .search-results ul li:hover {\n cursor: pointer;\n}\n\n.cesium-viewer-geocoderContainer .search-results ul li.active {\n background: #48b;\n}\n\n.cesium-geocoder-searchButton {\n background-color: #303336;\n display: inline-block;\n position: absolute;\n cursor: pointer;\n width: 32px;\n top: 1px;\n right: 1px;\n height: 30px;\n vertical-align: middle;\n fill: #edffff;\n}\n\n.cesium-geocoder-searchButton:hover {\n background-color: #48b;\n}\n"],
|
||||
"mappings": "AAAA,wDACE,sBACA,2BACA,WACA,qBACA,sBACA,QACA,YAPF,4CAWE,sBACA,mEACA,wBAGF,8DACE,kBACA,wBAGF,8DACE,kBACA,2BACA,gBACA,aAGF,yLAGE,iBACA,YAGF,iDACE,kBACA,sBACA,WACA,gBACA,WACA,WAGF,oDACE,qBA7CF,mBAkDA,uDACE,eAnDF,iBAsDA,6DACE,eAGF,8DACE,gBAGF,8BACE,yBACA,qBACA,kBACA,eACA,WACA,QACA,UACA,YACA,sBACA,aAGF,oCACE",
|
||||
"names": []
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../../../Source/Widgets/Geocoder/lighter.css"],
|
||||
"sourcesContent": [".cesium-lighter .cesium-geocoder-input {\n border: solid 1px #759dc0;\n background-color: rgba(240, 240, 240, 0.9);\n color: black;\n}\n\n.cesium-lighter .cesium-viewer-geocoderContainer:hover .cesium-geocoder-input {\n border-color: #aef;\n box-shadow: 0 0 8px #fff;\n}\n\n.cesium-lighter .cesium-geocoder-searchButton {\n background-color: #e2f0ff;\n fill: #111;\n}\n\n.cesium-lighter .cesium-geocoder-searchButton:hover {\n background-color: #a6d2ff;\n}\n"],
|
||||
"mappings": "AAAA,uCACE,yBACA,2BACA,WAGF,8EACE,kBACA,wBAGF,8CACE,yBACA,UAGF,oDACE",
|
||||
"names": []
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
/* packages/widgets/Source/I3SBuildingSceneLayerExplorer/I3SBuildingSceneLayerExplorer.css */
|
||||
.cesium-viewer-i3s-explorer ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
.cesium-viewer-i3s-explorer .layersList {
|
||||
padding: 0;
|
||||
}
|
||||
.cesium-viewer-i3s-explorer input {
|
||||
margin: 0 3px 0 0;
|
||||
}
|
||||
.cesium-viewer-i3s-explorer .expandItem {
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
width: 20px;
|
||||
}
|
||||
.cesium-viewer-i3s-explorer .nested,
|
||||
.cesium-viewer-i3s-explorer #bsl-wrapper {
|
||||
display: none;
|
||||
}
|
||||
.cesium-viewer-i3s-explorer .active {
|
||||
display: block;
|
||||
}
|
||||
.cesium-viewer-i3s-explorer .li-wrapper {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-content: center;
|
||||
}
|
Binary file not shown.
Before Width: | Height: | Size: 8.4 KiB |
Binary file not shown.
Before Width: | Height: | Size: 12 KiB |
Binary file not shown.
Before Width: | Height: | Size: 9.7 KiB |
Binary file not shown.
Before Width: | Height: | Size: 7.1 KiB |
Binary file not shown.
Before Width: | Height: | Size: 7.1 KiB |
@ -1,7 +0,0 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../../../Source/Widgets/InfoBox/InfoBox.css"],
|
||||
"sourcesContent": [".cesium-infoBox {\n display: block;\n position: absolute;\n top: 50px;\n right: 0;\n width: 40%;\n max-width: 480px;\n background: rgba(38, 38, 38, 0.95);\n color: #edffff;\n border: 1px solid #444;\n border-right: none;\n border-top-left-radius: 7px;\n border-bottom-left-radius: 7px;\n box-shadow: 0 0 10px 1px #000;\n transform: translate(100%, 0);\n visibility: hidden;\n opacity: 0;\n transition: visibility 0s 0.2s, opacity 0.2s ease-in, transform 0.2s ease-in;\n}\n\n.cesium-infoBox-visible {\n transform: translate(0, 0);\n visibility: visible;\n opacity: 1;\n transition: opacity 0.2s ease-out, transform 0.2s ease-out;\n}\n\n.cesium-infoBox-title {\n display: block;\n height: 20px;\n padding: 5px 30px 5px 25px;\n background: rgba(84, 84, 84, 1);\n border-top-left-radius: 7px;\n text-align: center;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n box-sizing: content-box;\n}\n\n.cesium-infoBox-bodyless .cesium-infoBox-title {\n border-bottom-left-radius: 7px;\n}\n\nbutton.cesium-infoBox-camera {\n display: block;\n position: absolute;\n top: 4px;\n left: 4px;\n width: 22px;\n height: 22px;\n background: transparent;\n border-color: transparent;\n border-radius: 3px;\n padding: 0 5px;\n margin: 0;\n}\n\nbutton.cesium-infoBox-close {\n display: block;\n position: absolute;\n top: 5px;\n right: 5px;\n height: 20px;\n background: transparent;\n border: none;\n border-radius: 2px;\n font-weight: bold;\n font-size: 16px;\n padding: 0 5px;\n margin: 0;\n color: #edffff;\n}\n\nbutton.cesium-infoBox-close:focus {\n background: rgba(238, 136, 0, 0.44);\n outline: none;\n}\n\nbutton.cesium-infoBox-close:hover {\n background: #888;\n color: #000;\n}\n\nbutton.cesium-infoBox-close:active {\n background: #a00;\n color: #000;\n}\n\n.cesium-infoBox-bodyless .cesium-infoBox-iframe {\n display: none;\n}\n\n.cesium-infoBox-iframe {\n border: none;\n width: 100%; /* Fallback */\n width: calc(100% - 2px);\n}\n"],
|
||||
"mappings": "AAAA,gBACE,cACA,kBACA,SACA,QACA,UACA,gBACA,8BACA,cACA,sBACA,kBACA,2BACA,8BACA,6BACA,0BACA,kBACA,UACA,uEAGF,wBACE,uBACA,mBACA,UACA,uDAGF,sBACE,cACA,YA7BF,0BA+BE,4BACA,2BACA,kBACA,uBACA,mBACA,gBACA,uBAGF,+CACE,8BAGF,6BACE,cACA,kBACA,QACA,SACA,WACA,YACA,uBACA,yBApDF,yCA0DA,4BACE,cACA,kBACA,QACA,UACA,YACA,uBACA,YAjEF,kBAmEE,gBACA,eApEF,uBAuEE,cAGF,kCACE,+BACA,aAGF,kCACE,gBACA,WAGF,mCACE,gBACA,WAGF,gDACE,aAGF,uBACE,YACA,WACA",
|
||||
"names": []
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../../../Source/Widgets/shared.css", "../../../../Source/Widgets/InfoBox/InfoBoxDescription.css"],
|
||||
"sourcesContent": [".cesium-svgPath-svg {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n overflow: hidden;\n}\n\n.cesium-button {\n display: inline-block;\n position: relative;\n background: #303336;\n border: 1px solid #444;\n color: #edffff; /* For text buttons */\n fill: #edffff; /* For SVG buttons */\n border-radius: 4px;\n padding: 5px 12px;\n margin: 2px 3px;\n cursor: pointer;\n overflow: hidden;\n -moz-user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.cesium-button:focus {\n color: #fff; /* For text buttons */\n fill: #fff; /* For SVG buttons */\n border-color: #ea4;\n outline: none;\n}\n\n.cesium-button:hover {\n color: #fff; /* For text buttons */\n fill: #fff; /* For SVG buttons */\n background: #48b;\n border-color: #aef;\n box-shadow: 0 0 8px #fff;\n}\n\n.cesium-button:active {\n color: #000; /* For text buttons */\n fill: #000; /* For SVG buttons */\n background: #adf;\n border-color: #fff;\n box-shadow: 0 0 8px #fff;\n}\n\n.cesium-button:disabled,\n.cesium-button-disabled,\n.cesium-button-disabled:focus,\n.cesium-button-disabled:hover,\n.cesium-button-disabled:active {\n background: #303336;\n border-color: #444;\n color: #646464; /* For text buttons */\n fill: #646464; /* For SVG buttons */\n box-shadow: none;\n cursor: default;\n}\n\n.cesium-button option {\n background-color: #000;\n color: #eee;\n}\n\n.cesium-button option:disabled {\n color: #777;\n}\n\n.cesium-button input,\n.cesium-button label {\n cursor: pointer;\n}\n\n.cesium-button input {\n vertical-align: sub;\n}\n\n.cesium-toolbar-button {\n box-sizing: border-box;\n width: 32px;\n height: 32px;\n border-radius: 14%;\n padding: 0;\n vertical-align: middle;\n z-index: 0; /* Workaround for rounded raster image corners in Chrome */\n}\n\n.cesium-performanceDisplay-defaultContainer {\n position: absolute;\n top: 50px;\n right: 10px;\n text-align: right;\n}\n\n.cesium-performanceDisplay {\n background-color: rgba(40, 40, 40, 0.7);\n padding: 7px;\n border-radius: 5px;\n border: 1px solid #444;\n font: bold 12px sans-serif;\n}\n\n.cesium-performanceDisplay-fps {\n color: #e52;\n}\n\n.cesium-performanceDisplay-throttled {\n color: #a42;\n}\n\n.cesium-performanceDisplay-ms {\n color: #de3;\n}\n", "@import url(../shared.css);\nbody {\n margin: 0;\n padding: 0;\n}\n\n.cesium-infoBox-description {\n font-family: sans-serif;\n font-size: 13px;\n padding: 4px 10px;\n margin-right: 4px;\n color: #edffff;\n}\n\n.cesium-infoBox-description a:link,\n.cesium-infoBox-description a:visited,\n.cesium-infoBox-description a:hover,\n.cesium-infoBox-description a:active {\n color: #edffff;\n}\n\n.cesium-infoBox-description table {\n color: #edffff;\n}\n\n.cesium-infoBox-defaultTable {\n width: 100%;\n color: #edffff;\n}\n\n.cesium-infoBox-defaultTable tr:nth-child(odd) {\n background-color: rgba(84, 84, 84, 0.8);\n}\n\n.cesium-infoBox-defaultTable tr:nth-child(even) {\n background-color: rgba(84, 84, 84, 0.25);\n}\n\n.cesium-infoBox-defaultTable th {\n font-weight: normal;\n padding: 3px;\n vertical-align: middle;\n text-align: center;\n}\n\n.cesium-infoBox-defaultTable td {\n padding: 3px;\n vertical-align: middle;\n text-align: left;\n}\n\n.cesium-infoBox-description-lighter {\n color: #000000;\n}\n\n.cesium-infoBox-description-lighter a:link,\n.cesium-infoBox-description-lighter a:visited,\n.cesium-infoBox-description-lighter a:hover,\n.cesium-infoBox-description-lighter a:active {\n color: #000000;\n}\n\n.cesium-infoBox-description-lighter table {\n color: #000000;\n}\n\n.cesium-infoBox-defaultTable-lighter {\n width: 100%;\n color: #000000;\n}\n\n.cesium-infoBox-defaultTable-lighter tr:nth-child(odd) {\n background-color: rgba(179, 179, 179, 0.8);\n}\n\n.cesium-infoBox-defaultTable-lighter tr:nth-child(even) {\n background-color: rgba(179, 179, 179, 0.25);\n}\n\n.cesium-infoBox-loadingContainer {\n margin: 5px;\n text-align: center;\n}\n\n.cesium-infoBox-loading {\n display: inline-block;\n background-image: url(../Images/info-loading.gif);\n width: 16px;\n height: 11px;\n}\n"],
|
||||
"mappings": "AAAA,oBACE,kBACA,MACA,OACA,WACA,YACA,gBAGF,eACE,qBACA,kBACA,mBACA,sBACA,cACA,aAfF,kDAmBE,eACA,gBACA,sBACA,yBACA,qBACA,iBAGF,qBACE,WACA,UACA,kBACA,aAGF,qBACE,WACA,UACA,gBACA,kBACA,wBAGF,sBACE,WACA,UACA,gBACA,kBACA,wBAGF,2IAKE,mBACA,kBACA,cACA,aACA,gBACA,eAGF,sBACE,sBACA,WAGF,+BACE,WAGF,0CAEE,eAGF,qBACE,mBAGF,uBACE,sBACA,WACA,YApFF,4BAuFE,sBACA,UAGF,4CACE,kBACA,SACA,WACA,iBAGF,2BACE,2BAnGF,8BAsGE,sBACA,yBAGF,+BACE,WAGF,qCACE,WAGF,8BACE,WClHF,KADA,mBAMA,4BACE,uBACA,eARF,iBAUE,iBACA,cAGF,oLAIE,cAOF,6BACE,WACA,cAGF,+CACE,2BAGF,gDACE,2BAGF,gCACE,gBAvCF,YAyCE,sBACA,kBAGF,gCA7CA,YA+CE,sBACA,gBAGF,gQACE,WAcF,qCACE,WACA,WAGF,uDACE,2BAGF,wDACE,2BAGF,iCA/EA,WAiFE,kBAGF,wBACE,qBACA,k/BACA,WACA",
|
||||
"names": []
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../../../Source/Widgets/NavigationHelpButton/NavigationHelpButton.css"],
|
||||
"sourcesContent": [".cesium-navigationHelpButton-wrapper {\n position: relative;\n display: inline-block;\n}\n\n.cesium-navigation-help {\n visibility: hidden;\n position: absolute;\n top: 38px;\n right: 2px;\n width: 250px;\n border-radius: 10px;\n transform: scale(0.01);\n transform-origin: 234px -10px;\n transition: visibility 0s 0.25s, transform 0.25s ease-in;\n}\n\n.cesium-navigation-help-visible {\n visibility: visible;\n transform: scale(1);\n transition: transform 0.25s ease-out;\n}\n\n.cesium-navigation-help-instructions {\n border: 1px solid #444;\n background-color: rgba(38, 38, 38, 0.75);\n padding-bottom: 5px;\n border-radius: 0 0 10px 10px;\n}\n\n.cesium-click-navigation-help {\n display: none;\n}\n\n.cesium-touch-navigation-help {\n display: none;\n padding-top: 5px;\n}\n\n.cesium-click-navigation-help-visible {\n display: block;\n}\n\n.cesium-touch-navigation-help-visible {\n display: block;\n}\n\n.cesium-navigation-help-pan {\n color: #66ccff;\n font-weight: bold;\n}\n\n.cesium-navigation-help-zoom {\n color: #65fd00;\n font-weight: bold;\n}\n\n.cesium-navigation-help-rotate {\n color: #ffd800;\n font-weight: bold;\n}\n\n.cesium-navigation-help-tilt {\n color: #d800d8;\n font-weight: bold;\n}\n\n.cesium-navigation-help-details {\n color: #ffffff;\n}\n\n.cesium-navigation-button {\n color: #fff;\n background-color: transparent;\n border-bottom: none;\n border-top: 1px solid #444;\n border-right: 1px solid #444;\n margin: 0;\n width: 50%;\n cursor: pointer;\n}\n\n.cesium-navigation-button-icon {\n vertical-align: middle;\n padding: 5px 1px;\n}\n\n.cesium-navigation-button:focus {\n outline: none;\n}\n\n.cesium-navigation-button-left {\n border-radius: 10px 0 0 0;\n border-left: 1px solid #444;\n}\n\n.cesium-navigation-button-right {\n border-radius: 0 10px 0 0;\n border-left: none;\n}\n\n.cesium-navigation-button-selected {\n background-color: rgba(38, 38, 38, 0.75);\n}\n\n.cesium-navigation-button-unselected {\n background-color: rgba(0, 0, 0, 0.75);\n}\n\n.cesium-navigation-button-unselected:hover {\n background-color: rgba(76, 76, 76, 0.75);\n}\n"],
|
||||
"mappings": "AAAA,qCACE,kBACA,qBAGF,wBACE,kBACA,kBACA,SACA,UACA,YAVF,mBAYE,qBACA,6BACA,qDAGF,gCACE,mBACA,mBACA,mCAGF,qCACE,sBACA,2BACA,mBA1BF,4BA8BA,8BACE,aAGF,8BACE,aACA,gBAGF,4EACE,cAOF,4BACE,WACA,gBAGF,6BACE,cACA,gBAGF,+BACE,cACA,gBAGF,6BACE,cACA,gBAGF,gCACE,WAGF,0BACE,WACA,6BACA,mBACA,0BACA,4BA5EF,SA8EE,UACA,eAGF,+BACE,sBAnFF,gBAuFA,gCACE,aAGF,+BA3FA,uBA6FE,2BAGF,gCAhGA,yBAkGE,iBAGF,mCACE,2BAGF,qCACE,2BAGF,2CACE",
|
||||
"names": []
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../../../Source/Widgets/NavigationHelpButton/lighter.css"],
|
||||
"sourcesContent": [".cesium-lighter .cesium-navigation-help-instructions {\n border: 1px solid #759dc0;\n background-color: rgba(255, 255, 255, 0.9);\n}\n\n.cesium-lighter .cesium-navigation-help-pan {\n color: #66ccee;\n font-weight: bold;\n}\n\n.cesium-lighter .cesium-navigation-help-zoom {\n color: #65ec00;\n font-weight: bold;\n}\n\n.cesium-lighter .cesium-navigation-help-rotate {\n color: #eec722;\n font-weight: bold;\n}\n\n.cesium-lighter .cesium-navigation-help-tilt {\n color: #d800d8;\n font-weight: bold;\n}\n\n.cesium-lighter .cesium-navigation-help-details {\n color: #222222;\n}\n\n.cesium-lighter .cesium-navigation-button {\n color: #222222;\n border-top: 1px solid #759dc0;\n border-right: 1px solid #759dc0;\n}\n\n.cesium-lighter .cesium-navigation-button-selected {\n background-color: rgba(196, 225, 255, 0.9);\n}\n\n.cesium-lighter .cesium-navigation-button-unselected {\n background-color: rgba(226, 240, 255, 0.9);\n}\n\n.cesium-lighter .cesium-navigation-button-unselected:hover {\n background-color: rgba(166, 210, 255, 0.9);\n}\n"],
|
||||
"mappings": "AAAA,qDACE,yBACA,2BAGF,4CACE,WACA,gBAGF,6CACE,cACA,gBAGF,+CACE,cACA,gBAGF,6CACE,cACA,gBAGF,gDACE,WAGF,0CACE,WACA,6BACA,+BAGF,mDACE,2BAGF,qDACE,2BAGF,2DACE",
|
||||
"names": []
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../../../Source/Widgets/PerformanceWatchdog/PerformanceWatchdog.css"],
|
||||
"sourcesContent": [".cesium-performance-watchdog-message-area {\n position: relative;\n background-color: yellow;\n color: black;\n padding: 10px;\n}\n\n.cesium-performance-watchdog-message {\n margin-right: 30px;\n}\n\n.cesium-performance-watchdog-message-dismiss {\n position: absolute;\n right: 0;\n margin: 0 10px 0 0;\n}\n"],
|
||||
"mappings": "AAAA,0CACE,kBACA,sBACA,WAHF,aAOA,qCACE,kBAGF,6CACE,kBACA,QAbF",
|
||||
"names": []
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../../../Source/Widgets/ProjectionPicker/ProjectionPicker.css"],
|
||||
"sourcesContent": ["span.cesium-projectionPicker-wrapper {\n display: inline-block;\n position: relative;\n margin: 0 3px;\n}\n\n.cesium-projectionPicker-visible {\n visibility: visible;\n opacity: 1;\n transition: opacity 0.25s linear;\n}\n\n.cesium-projectionPicker-hidden {\n visibility: hidden;\n opacity: 0;\n transition: visibility 0s 0.25s, opacity 0.25s linear;\n}\n\n.cesium-projectionPicker-wrapper .cesium-projectionPicker-none {\n display: none;\n}\n\n.cesium-projectionPicker-wrapper .cesium-projectionPicker-dropDown-icon {\n box-sizing: border-box;\n padding: 0;\n margin: 3px 0;\n}\n\n.cesium-projectionPicker-wrapper .cesium-projectionPicker-buttonPerspective,\n.cesium-projectionPicker-wrapper .cesium-projectionPicker-buttonOrthographic {\n margin: 0 0 3px 0;\n}\n\n.cesium-projectionPicker-wrapper\n .cesium-projectionPicker-buttonPerspective\n .cesium-projectionPicker-iconOrthographic {\n left: 100%;\n}\n\n.cesium-projectionPicker-wrapper\n .cesium-projectionPicker-buttonOrthographic\n .cesium-projectionPicker-iconPerspective {\n left: -100%;\n}\n\n.cesium-projectionPicker-wrapper .cesium-projectionPicker-selected {\n border-color: #2e2;\n box-shadow: 0 0 8px #fff, 0 0 8px #fff;\n}\n"],
|
||||
"mappings": "AAAA,qCACE,qBACA,kBAFF,aAMA,iCACE,mBACA,UACA,+BAGF,gCACE,kBACA,UACA,kDAGF,+DACE,aAGF,wEACE,sBAvBF,uBA4BA,yJA5BA,eAiCA,sHAGE,UAGF,sHAGE,WAGF,mEACE,kBACA",
|
||||
"names": []
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../../../Source/Widgets/SceneModePicker/SceneModePicker.css"],
|
||||
"sourcesContent": ["span.cesium-sceneModePicker-wrapper {\n display: inline-block;\n position: relative;\n margin: 0 3px;\n}\n\n.cesium-sceneModePicker-visible {\n visibility: visible;\n opacity: 1;\n transition: opacity 0.25s linear;\n}\n\n.cesium-sceneModePicker-hidden {\n visibility: hidden;\n opacity: 0;\n transition: visibility 0s 0.25s, opacity 0.25s linear;\n}\n\n.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-none {\n display: none;\n}\n\n.cesium-sceneModePicker-slide-svg {\n transition: left 2s;\n top: 0;\n left: 0;\n}\n\n.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-dropDown-icon {\n box-sizing: border-box;\n padding: 0;\n margin: 3px 0;\n}\n\n.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-button3D,\n.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-buttonColumbusView,\n.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-button2D {\n margin: 0 0 3px 0;\n}\n\n.cesium-sceneModePicker-wrapper\n .cesium-sceneModePicker-button3D\n .cesium-sceneModePicker-icon2D {\n left: 100%;\n}\n\n.cesium-sceneModePicker-wrapper\n .cesium-sceneModePicker-button3D\n .cesium-sceneModePicker-iconColumbusView {\n left: 200%;\n}\n\n.cesium-sceneModePicker-wrapper\n .cesium-sceneModePicker-buttonColumbusView\n .cesium-sceneModePicker-icon3D {\n left: -200%;\n}\n\n.cesium-sceneModePicker-wrapper\n .cesium-sceneModePicker-buttonColumbusView\n .cesium-sceneModePicker-icon2D {\n left: -100%;\n}\n\n.cesium-sceneModePicker-wrapper\n .cesium-sceneModePicker-button2D\n .cesium-sceneModePicker-icon3D {\n left: -100%;\n}\n\n.cesium-sceneModePicker-wrapper\n .cesium-sceneModePicker-button2D\n .cesium-sceneModePicker-iconColumbusView {\n left: 100%;\n}\n\n.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-selected {\n border-color: #2e2;\n box-shadow: 0 0 8px #fff, 0 0 8px #fff;\n}\n"],
|
||||
"mappings": "AAAA,oCACE,qBACA,kBAFF,aAMA,gCACE,mBACA,UACA,+BAGF,+BACE,kBACA,UACA,kDAGF,6DACE,aAGF,kCACE,mBACA,MACA,OAGF,sEACE,sBA7BF,uBAkCA,6MAlCA,eAwCA,gGAGE,UAGF,0GAGE,UAGF,0GAGE,WAGF,0MAGE,WASF,0GAGE,UAGF,iEACE,kBACA",
|
||||
"names": []
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../../../Source/Widgets/SelectionIndicator/SelectionIndicator.css"],
|
||||
"sourcesContent": [".cesium-selection-wrapper {\n position: absolute;\n width: 160px;\n height: 160px;\n pointer-events: none;\n visibility: hidden;\n opacity: 0;\n transition: visibility 0s 0.2s, opacity 0.2s ease-in;\n}\n\n.cesium-selection-wrapper-visible {\n visibility: visible;\n opacity: 1;\n transition: opacity 0.2s ease-out;\n}\n\n.cesium-selection-wrapper svg {\n fill: #2e2;\n stroke: #000;\n stroke-width: 1.1px;\n}\n"],
|
||||
"mappings": "AAAA,0BACE,kBACA,YACA,aACA,oBACA,kBACA,UACA,iDAGF,kCACE,mBACA,UACA,gCAGF,8BACE,UACA,YACA",
|
||||
"names": []
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../../../Source/Widgets/Timeline/Timeline.css"],
|
||||
"sourcesContent": [".cesium-timeline-main {\n position: relative;\n left: 0;\n bottom: 0;\n overflow: hidden;\n border: solid 1px #888;\n -moz-user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.cesium-timeline-trackContainer {\n width: 100%;\n overflow: auto;\n border-top: solid 1px #888;\n position: relative;\n top: 0;\n left: 0;\n}\n\n.cesium-timeline-tracks {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n}\n\n.cesium-timeline-needle {\n position: absolute;\n left: 0;\n top: 1.7em;\n bottom: 0;\n width: 1px;\n background: #f00;\n}\n\n.cesium-timeline-bar {\n position: relative;\n left: 0;\n top: 0;\n overflow: hidden;\n cursor: pointer;\n width: 100%;\n height: 1.7em;\n background: linear-gradient(\n to bottom,\n rgba(116, 117, 119, 0.8) 0%,\n rgba(58, 68, 82, 0.8) 11%,\n rgba(46, 50, 56, 0.8) 46%,\n rgba(53, 53, 53, 0.8) 81%,\n rgba(53, 53, 53, 0.8) 100%\n );\n}\n\n.cesium-timeline-ruler {\n /* NOTE: The label and the ruler must use the same font/size */\n visibility: hidden;\n white-space: nowrap;\n font-size: 80%;\n z-index: -200;\n}\n\n.cesium-timeline-highlight {\n position: absolute;\n bottom: 0;\n left: 0;\n background: #08f;\n}\n\n.cesium-timeline-ticLabel {\n position: absolute;\n top: 0;\n left: 0;\n white-space: nowrap;\n font-size: 80%;\n color: #eee;\n}\n\n.cesium-timeline-ticMain {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 1px;\n height: 50%;\n background: #eee;\n}\n\n.cesium-timeline-ticSub {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 1px;\n height: 33%;\n background: #aaa;\n}\n\n.cesium-timeline-ticTiny {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 1px;\n height: 25%;\n background: #888;\n}\n\n.cesium-timeline-icon16 {\n display: block;\n position: absolute;\n width: 16px;\n height: 16px;\n background-image: url(\"../Images/TimelineIcons.png\");\n background-repeat: no-repeat;\n}\n"],
|
||||
"mappings": "AAAA,sBACE,kBACA,OACA,SACA,gBACA,sBACA,sBACA,yBACA,qBACA,iBAGF,gCACE,WACA,cACA,0BACA,kBACA,MACA,OAGF,wBACE,kBACA,MACA,OACA,WAGF,wBACE,kBACA,OACA,UACA,SACA,UACA,gBAGF,qBACE,kBACA,OACA,MACA,gBACA,eACA,WACA,aACA,uJAUF,uBAEE,kBACA,mBACA,cACA,aAGF,2BACE,kBACA,SACA,OACA,gBAGF,0BACE,kBACA,MACA,OACA,mBACA,cACA,WAGF,yBACE,kBACA,SACA,OACA,UACA,WACA,gBAGF,wBACE,kBACA,SACA,OACA,UACA,WACA,gBAGF,yBACE,kBACA,SACA,OACA,UACA,WACA,gBAGF,wBACE,cACA,kBACA,WACA,YACA,kkCACA",
|
||||
"names": []
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../../../Source/Widgets/Timeline/lighter.css"],
|
||||
"sourcesContent": [".cesium-lighter .cesium-timeline-bar {\n background: linear-gradient(to bottom, #eeeeee 0%, #ffffff 50%, #fafafa 100%);\n}\n\n.cesium-lighter .cesium-timeline-ticLabel {\n color: #000;\n}\n\n.cesium-lighter .cesium-timeline-ticMain {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 1px;\n height: 50%;\n background: #000;\n}\n\n.cesium-lighter .cesium-timeline-ticSub {\n background: #444;\n}\n"],
|
||||
"mappings": "AAAA,qCACE,0EAGF,0CACE,WAGF,yCACE,kBACA,SACA,OACA,UACA,WACA,gBAGF,wCACE",
|
||||
"names": []
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../../../Source/Widgets/VRButton/VRButton.css"],
|
||||
"sourcesContent": [".cesium-button.cesium-vrButton {\n display: block;\n width: 100%;\n height: 100%;\n margin: 0;\n border-radius: 0;\n}\n"],
|
||||
"mappings": "AAAA,+BACE,cACA,WACA,YAHF",
|
||||
"names": []
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../../../Source/Widgets/Viewer/Viewer.css"],
|
||||
"sourcesContent": [".cesium-viewer {\n font-family: sans-serif;\n font-size: 16px;\n overflow: hidden;\n display: block;\n position: relative;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n\n.cesium-viewer-cesiumWidgetContainer {\n width: 100%;\n height: 100%;\n}\n\n.cesium-viewer-bottom {\n display: block;\n position: absolute;\n bottom: 0;\n left: 0;\n padding-right: 5px;\n}\n\n.cesium-viewer .cesium-widget-credits {\n display: inline;\n position: static;\n bottom: auto;\n left: auto;\n padding-right: 0;\n color: #ffffff;\n font-size: 10px;\n text-shadow: 0 0 2px #000000;\n}\n\n.cesium-viewer-timelineContainer {\n position: absolute;\n bottom: 0;\n left: 169px;\n right: 29px;\n height: 27px;\n padding: 0;\n margin: 0;\n overflow: hidden;\n font-size: 14px;\n}\n\n.cesium-viewer-animationContainer {\n position: absolute;\n bottom: 0;\n left: 0;\n padding: 0;\n width: 169px;\n height: 112px;\n}\n\n.cesium-viewer-fullscreenContainer {\n position: absolute;\n bottom: 0;\n right: 0;\n padding: 0;\n width: 29px;\n height: 29px;\n overflow: hidden;\n}\n\n.cesium-viewer-vrContainer {\n position: absolute;\n bottom: 0;\n right: 0;\n padding: 0;\n width: 29px;\n height: 29px;\n overflow: hidden;\n}\n\n.cesium-viewer-toolbar {\n display: block;\n position: absolute;\n top: 5px;\n right: 5px;\n}\n\n.cesium-viewer-cesiumInspectorContainer {\n display: block;\n position: absolute;\n top: 50px;\n right: 10px;\n}\n\n.cesium-viewer-geocoderContainer {\n position: relative;\n display: inline-block;\n margin: 0 3px;\n}\n\n.cesium-viewer-cesium3DTilesInspectorContainer {\n display: block;\n position: absolute;\n top: 50px;\n right: 10px;\n max-height: calc(100% - 120px);\n box-sizing: border-box;\n overflow-y: auto;\n overflow-x: hidden;\n}\n"],
|
||||
"mappings": "AAAA,eACE,uBACA,eACA,gBACA,cACA,kBACA,MACA,OACA,WACA,YAGF,qCACE,WACA,YAGF,sBACE,cACA,kBACA,SACA,OACA,kBAGF,sCACE,eACA,gBACA,YACA,UACA,gBACA,WACA,eACA,4BAGF,iCACE,kBACA,SACA,WACA,WACA,YAzCF,mBA4CE,gBACA,eAGF,kCACE,kBACA,SACA,OAnDF,UAqDE,YACA,aAGF,8DACE,kBACA,SACA,QA5DF,UA8DE,WACA,YACA,gBAaF,uBACE,cACA,kBACA,QACA,UAGF,wCACE,cACA,kBACA,SACA,WAGF,iCACE,kBACA,qBA7FF,aAiGA,+CACE,cACA,kBACA,SACA,WACA,8BACA,sBACA,gBACA",
|
||||
"names": []
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
/* packages/widgets/Source/VoxelInspector/VoxelInspector.css */
|
||||
.cesium-VoxelInspector {
|
||||
width: 300px;
|
||||
pointer-events: all;
|
||||
}
|
||||
.cesium-VoxelInspector div,
|
||||
.cesium-VoxelInspector input[type=range] {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.cesium-VoxelInspector .cesium-cesiumInspector-section {
|
||||
margin-top: 3px;
|
||||
}
|
||||
.cesium-VoxelInspector .cesium-cesiumInspector-sectionHeader + .cesium-cesiumInspector-show {
|
||||
border-top: 1px solid white;
|
||||
}
|
File diff suppressed because one or more lines are too long
@ -1,7 +0,0 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../../Source/Widgets/lighterShared.css"],
|
||||
"sourcesContent": [".cesium-lighter .cesium-button {\n color: #111; /* For text buttons */\n fill: #111; /* For SVG buttons */\n background: #e2f0ff;\n border: 1px solid #759dc0;\n}\n\n.cesium-lighter .cesium-button:focus {\n color: #000; /* For text buttons */\n fill: #000; /* For SVG buttons */\n border-color: #ea4;\n}\n\n.cesium-lighter .cesium-button:hover {\n color: #000; /* For text buttons */\n fill: #000; /* For SVG buttons */\n background: #a6d2ff;\n border-color: #aef;\n box-shadow: 0 0 8px #777;\n}\n\n.cesium-lighter .cesium-button:active {\n color: #fff; /* For text buttons */\n fill: #fff; /* For SVG buttons */\n background: #48b;\n border-color: #ea0;\n}\n\n.cesium-lighter .cesium-button:disabled,\n.cesium-lighter .cesium-button-disabled,\n.cesium-lighter .cesium-button-disabled:focus,\n.cesium-lighter .cesium-button-disabled:hover,\n.cesium-lighter .cesium-button-disabled:active {\n background: #ccc;\n border-color: #999;\n color: #999; /* For text buttons */\n fill: #999; /* For SVG buttons */\n box-shadow: none;\n}\n\n.cesium-lighter .cesium-performanceDisplay {\n background-color: #e2f0ff;\n border-color: #759dc0;\n}\n\n.cesium-lighter .cesium-performanceDisplay-fps {\n color: #e52;\n}\n\n.cesium-lighter .cesium-performanceDisplay-ms {\n color: #ea4;\n}\n"],
|
||||
"mappings": "AAAA,+BACE,WACA,UACA,mBACA,yBAGF,qCACE,WACA,UACA,kBAGF,qCACE,WACA,UACA,mBACA,kBACA,wBAGF,sCACE,WACA,UACA,gBACA,kBAGF,2NAKE,gBACA,kBACA,WACA,UACA,gBAGF,2CACE,yBACA,qBAGF,+CACE,WAGF,8CACE",
|
||||
"names": []
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../../Source/Widgets/shared.css"],
|
||||
"sourcesContent": [".cesium-svgPath-svg {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n overflow: hidden;\n}\n\n.cesium-button {\n display: inline-block;\n position: relative;\n background: #303336;\n border: 1px solid #444;\n color: #edffff; /* For text buttons */\n fill: #edffff; /* For SVG buttons */\n border-radius: 4px;\n padding: 5px 12px;\n margin: 2px 3px;\n cursor: pointer;\n overflow: hidden;\n -moz-user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.cesium-button:focus {\n color: #fff; /* For text buttons */\n fill: #fff; /* For SVG buttons */\n border-color: #ea4;\n outline: none;\n}\n\n.cesium-button:hover {\n color: #fff; /* For text buttons */\n fill: #fff; /* For SVG buttons */\n background: #48b;\n border-color: #aef;\n box-shadow: 0 0 8px #fff;\n}\n\n.cesium-button:active {\n color: #000; /* For text buttons */\n fill: #000; /* For SVG buttons */\n background: #adf;\n border-color: #fff;\n box-shadow: 0 0 8px #fff;\n}\n\n.cesium-button:disabled,\n.cesium-button-disabled,\n.cesium-button-disabled:focus,\n.cesium-button-disabled:hover,\n.cesium-button-disabled:active {\n background: #303336;\n border-color: #444;\n color: #646464; /* For text buttons */\n fill: #646464; /* For SVG buttons */\n box-shadow: none;\n cursor: default;\n}\n\n.cesium-button option {\n background-color: #000;\n color: #eee;\n}\n\n.cesium-button option:disabled {\n color: #777;\n}\n\n.cesium-button input,\n.cesium-button label {\n cursor: pointer;\n}\n\n.cesium-button input {\n vertical-align: sub;\n}\n\n.cesium-toolbar-button {\n box-sizing: border-box;\n width: 32px;\n height: 32px;\n border-radius: 14%;\n padding: 0;\n vertical-align: middle;\n z-index: 0; /* Workaround for rounded raster image corners in Chrome */\n}\n\n.cesium-performanceDisplay-defaultContainer {\n position: absolute;\n top: 50px;\n right: 10px;\n text-align: right;\n}\n\n.cesium-performanceDisplay {\n background-color: rgba(40, 40, 40, 0.7);\n padding: 7px;\n border-radius: 5px;\n border: 1px solid #444;\n font: bold 12px sans-serif;\n}\n\n.cesium-performanceDisplay-fps {\n color: #e52;\n}\n\n.cesium-performanceDisplay-throttled {\n color: #a42;\n}\n\n.cesium-performanceDisplay-ms {\n color: #de3;\n}\n"],
|
||||
"mappings": "AAAA,oBACE,kBACA,MACA,OACA,WACA,YACA,gBAGF,eACE,qBACA,kBACA,mBACA,sBACA,cACA,aAfF,kDAmBE,eACA,gBACA,sBACA,yBACA,qBACA,iBAGF,qBACE,WACA,UACA,kBACA,aAGF,qBACE,WACA,UACA,gBACA,kBACA,wBAGF,sBACE,WACA,UACA,gBACA,kBACA,wBAGF,2IAKE,mBACA,kBACA,cACA,aACA,gBACA,eAGF,sBACE,sBACA,WAGF,+BACE,WAGF,0CAEE,eAGF,qBACE,mBAGF,uBACE,sBACA,WACA,YApFF,4BAuFE,sBACA,UAGF,4CACE,kBACA,SACA,WACA,iBAGF,2BACE,2BAnGF,8BAsGE,sBACA,yBAGF,+BACE,WAGF,qCACE,WAGF,8BACE",
|
||||
"names": []
|
||||
}
|
File diff suppressed because one or more lines are too long
@ -1,25 +0,0 @@
|
||||
/**
|
||||
* @license
|
||||
* Cesium - https://github.com/CesiumGS/cesium
|
||||
* Version 1.98
|
||||
*
|
||||
* Copyright 2011-2022 Cesium Contributors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
* Columbus View (Pat. Pend.)
|
||||
*
|
||||
* Portions licensed separately.
|
||||
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
||||
*/
|
||||
define(["exports","./Matrix2-cf4c6e69","./defaultValue-50f7432c","./Transforms-7ac1f9ee"],(function(e,n,t,i){"use strict";function a(e,i,a){this.minimum=n.Cartesian3.clone(t.defaultValue(e,n.Cartesian3.ZERO)),this.maximum=n.Cartesian3.clone(t.defaultValue(i,n.Cartesian3.ZERO)),a=t.defined(a)?n.Cartesian3.clone(a):n.Cartesian3.midpoint(this.minimum,this.maximum,new n.Cartesian3),this.center=a}a.fromCorners=function(e,i,m){return t.defined(m)||(m=new a),m.minimum=n.Cartesian3.clone(e,m.minimum),m.maximum=n.Cartesian3.clone(i,m.maximum),m.center=n.Cartesian3.midpoint(e,i,m.center),m},a.fromPoints=function(e,i){if(t.defined(i)||(i=new a),!t.defined(e)||0===e.length)return i.minimum=n.Cartesian3.clone(n.Cartesian3.ZERO,i.minimum),i.maximum=n.Cartesian3.clone(n.Cartesian3.ZERO,i.maximum),i.center=n.Cartesian3.clone(n.Cartesian3.ZERO,i.center),i;let m=e[0].x,r=e[0].y,s=e[0].z,u=e[0].x,c=e[0].y,o=e[0].z;const l=e.length;for(let n=1;n<l;n++){const t=e[n],i=t.x,a=t.y,l=t.z;m=Math.min(i,m),u=Math.max(i,u),r=Math.min(a,r),c=Math.max(a,c),s=Math.min(l,s),o=Math.max(l,o)}const f=i.minimum;f.x=m,f.y=r,f.z=s;const C=i.maximum;return C.x=u,C.y=c,C.z=o,i.center=n.Cartesian3.midpoint(f,C,i.center),i},a.clone=function(e,i){if(t.defined(e))return t.defined(i)?(i.minimum=n.Cartesian3.clone(e.minimum,i.minimum),i.maximum=n.Cartesian3.clone(e.maximum,i.maximum),i.center=n.Cartesian3.clone(e.center,i.center),i):new a(e.minimum,e.maximum,e.center)},a.equals=function(e,i){return e===i||t.defined(e)&&t.defined(i)&&n.Cartesian3.equals(e.center,i.center)&&n.Cartesian3.equals(e.minimum,i.minimum)&&n.Cartesian3.equals(e.maximum,i.maximum)};let m=new n.Cartesian3;a.intersectPlane=function(e,t){m=n.Cartesian3.subtract(e.maximum,e.minimum,m);const a=n.Cartesian3.multiplyByScalar(m,.5,m),r=t.normal,s=a.x*Math.abs(r.x)+a.y*Math.abs(r.y)+a.z*Math.abs(r.z),u=n.Cartesian3.dot(e.center,r)+t.distance;return u-s>0?i.Intersect.INSIDE:u+s<0?i.Intersect.OUTSIDE:i.Intersect.INTERSECTING},a.prototype.clone=function(e){return a.clone(this,e)},a.prototype.intersectPlane=function(e){return a.intersectPlane(this,e)},a.prototype.equals=function(e){return a.equals(this,e)},e.AxisAlignedBoundingBox=a}));
|
@ -1,25 +0,0 @@
|
||||
/**
|
||||
* @license
|
||||
* Cesium - https://github.com/CesiumGS/cesium
|
||||
* Version 1.98
|
||||
*
|
||||
* Copyright 2011-2022 Cesium Contributors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
* Columbus View (Pat. Pend.)
|
||||
*
|
||||
* Portions licensed separately.
|
||||
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
||||
*/
|
||||
define(["exports","./Matrix2-cf4c6e69","./defaultValue-50f7432c","./Transforms-7ac1f9ee"],(function(t,e,n,i){"use strict";function h(t,e,i,h){this.x=n.defaultValue(t,0),this.y=n.defaultValue(e,0),this.width=n.defaultValue(i,0),this.height=n.defaultValue(h,0)}h.packedLength=4,h.pack=function(t,e,i){return i=n.defaultValue(i,0),e[i++]=t.x,e[i++]=t.y,e[i++]=t.width,e[i]=t.height,e},h.unpack=function(t,e,i){return e=n.defaultValue(e,0),n.defined(i)||(i=new h),i.x=t[e++],i.y=t[e++],i.width=t[e++],i.height=t[e],i},h.fromPoints=function(t,e){if(n.defined(e)||(e=new h),!n.defined(t)||0===t.length)return e.x=0,e.y=0,e.width=0,e.height=0,e;const i=t.length;let r=t[0].x,u=t[0].y,d=t[0].x,a=t[0].y;for(let e=1;e<i;e++){const n=t[e],i=n.x,h=n.y;r=Math.min(i,r),d=Math.max(i,d),u=Math.min(h,u),a=Math.max(h,a)}return e.x=r,e.y=u,e.width=d-r,e.height=a-u,e};const r=new i.GeographicProjection,u=new e.Cartographic,d=new e.Cartographic;h.fromRectangle=function(t,i,a){if(n.defined(a)||(a=new h),!n.defined(t))return a.x=0,a.y=0,a.width=0,a.height=0,a;const c=(i=n.defaultValue(i,r)).project(e.Rectangle.southwest(t,u)),o=i.project(e.Rectangle.northeast(t,d));return e.Cartesian2.subtract(o,c,o),a.x=c.x,a.y=c.y,a.width=o.x,a.height=o.y,a},h.clone=function(t,e){if(n.defined(t))return n.defined(e)?(e.x=t.x,e.y=t.y,e.width=t.width,e.height=t.height,e):new h(t.x,t.y,t.width,t.height)},h.union=function(t,e,i){n.defined(i)||(i=new h);const r=Math.min(t.x,e.x),u=Math.min(t.y,e.y),d=Math.max(t.x+t.width,e.x+e.width),a=Math.max(t.y+t.height,e.y+e.height);return i.x=r,i.y=u,i.width=d-r,i.height=a-u,i},h.expand=function(t,e,n){n=h.clone(t,n);const i=e.x-n.x,r=e.y-n.y;return i>n.width?n.width=i:i<0&&(n.width-=i,n.x=e.x),r>n.height?n.height=r:r<0&&(n.height-=r,n.y=e.y),n},h.intersect=function(t,e){const n=t.x,h=t.y,r=e.x,u=e.y;return n>r+e.width||n+t.width<r||h+t.height<u||h>u+e.height?i.Intersect.OUTSIDE:i.Intersect.INTERSECTING},h.equals=function(t,e){return t===e||n.defined(t)&&n.defined(e)&&t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height},h.prototype.clone=function(t){return h.clone(this,t)},h.prototype.intersect=function(t){return h.intersect(this,t)},h.prototype.equals=function(t){return h.equals(this,t)},t.BoundingRectangle=h}));
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,25 +0,0 @@
|
||||
/**
|
||||
* @license
|
||||
* Cesium - https://github.com/CesiumGS/cesium
|
||||
* Version 1.98
|
||||
*
|
||||
* Copyright 2011-2022 Cesium Contributors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
* Columbus View (Pat. Pend.)
|
||||
*
|
||||
* Portions licensed separately.
|
||||
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
||||
*/
|
||||
define(["exports","./Matrix2-cf4c6e69","./OrientedBoundingBox-b6f8f1d3"],(function(n,t,e){"use strict";const r={},a=new t.Cartesian3,i=new t.Cartesian3,o=new t.Cartesian3,u=new t.Cartesian3,s=new e.OrientedBoundingBox;function c(n,e,r,i,o){const u=t.Cartesian3.subtract(n,e,a),s=t.Cartesian3.dot(r,u),c=t.Cartesian3.dot(i,u);return t.Cartesian2.fromElements(s,c,o)}r.validOutline=function(n){const r=e.OrientedBoundingBox.fromPoints(n,s).halfAxes,a=t.Matrix3.getColumn(r,0,i),c=t.Matrix3.getColumn(r,1,o),C=t.Matrix3.getColumn(r,2,u),m=t.Cartesian3.magnitude(a),g=t.Cartesian3.magnitude(c),l=t.Cartesian3.magnitude(C);return!(0===m&&(0===g||0===l)||0===g&&0===l)},r.computeProjectTo2DArguments=function(n,r,a,c){const C=e.OrientedBoundingBox.fromPoints(n,s),m=C.halfAxes,g=t.Matrix3.getColumn(m,0,i),l=t.Matrix3.getColumn(m,1,o),d=t.Matrix3.getColumn(m,2,u),f=t.Cartesian3.magnitude(g),x=t.Cartesian3.magnitude(l),B=t.Cartesian3.magnitude(d),M=Math.min(f,x,B);if(0===f&&(0===x||0===B)||0===x&&0===B)return!1;let P,w;return M!==x&&M!==B||(P=g),M===f?P=l:M===B&&(w=l),M!==f&&M!==x||(w=d),t.Cartesian3.normalize(P,a),t.Cartesian3.normalize(w,c),t.Cartesian3.clone(C.center,r),!0},r.createProjectPointsTo2DFunction=function(n,t,e){return function(r){const a=new Array(r.length);for(let i=0;i<r.length;i++)a[i]=c(r[i],n,t,e);return a}},r.createProjectPointTo2DFunction=function(n,t,e){return function(r,a){return c(r,n,t,e,a)}};var C=r;n.CoplanarPolygonGeometryLibrary=C}));
|
File diff suppressed because one or more lines are too long
@ -1,25 +0,0 @@
|
||||
/**
|
||||
* @license
|
||||
* Cesium - https://github.com/CesiumGS/cesium
|
||||
* Version 1.98
|
||||
*
|
||||
* Copyright 2011-2022 Cesium Contributors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
* Columbus View (Pat. Pend.)
|
||||
*
|
||||
* Portions licensed separately.
|
||||
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
||||
*/
|
||||
define(["exports","./Transforms-7ac1f9ee","./Matrix2-cf4c6e69","./ComponentDatatype-9b23164a","./CylinderGeometryLibrary-8bcf1a43","./defaultValue-50f7432c","./GeometryAttribute-10955f8d","./GeometryAttributes-8bab1b25","./GeometryOffsetAttribute-490bc2c9","./IndexDatatype-ceed713e","./VertexFormat-fa0c27e8"],(function(t,e,n,a,o,r,i,s,u,m,c){"use strict";const l=new n.Cartesian2,f=new n.Cartesian3,p=new n.Cartesian3,d=new n.Cartesian3,y=new n.Cartesian3;function b(t){const e=(t=r.defaultValue(t,r.defaultValue.EMPTY_OBJECT)).length,n=t.topRadius,a=t.bottomRadius,o=r.defaultValue(t.vertexFormat,c.VertexFormat.DEFAULT),i=r.defaultValue(t.slices,128);this._length=e,this._topRadius=n,this._bottomRadius=a,this._vertexFormat=c.VertexFormat.clone(o),this._slices=i,this._offsetAttribute=t.offsetAttribute,this._workerName="createCylinderGeometry"}b.packedLength=c.VertexFormat.packedLength+5,b.pack=function(t,e,n){return n=r.defaultValue(n,0),c.VertexFormat.pack(t._vertexFormat,e,n),n+=c.VertexFormat.packedLength,e[n++]=t._length,e[n++]=t._topRadius,e[n++]=t._bottomRadius,e[n++]=t._slices,e[n]=r.defaultValue(t._offsetAttribute,-1),e};const A=new c.VertexFormat,x={vertexFormat:A,length:void 0,topRadius:void 0,bottomRadius:void 0,slices:void 0,offsetAttribute:void 0};let g;b.unpack=function(t,e,n){e=r.defaultValue(e,0);const a=c.VertexFormat.unpack(t,e,A);e+=c.VertexFormat.packedLength;const o=t[e++],i=t[e++],s=t[e++],u=t[e++],m=t[e];return r.defined(n)?(n._vertexFormat=c.VertexFormat.clone(a,n._vertexFormat),n._length=o,n._topRadius=i,n._bottomRadius=s,n._slices=u,n._offsetAttribute=-1===m?void 0:m,n):(x.length=o,x.topRadius=i,x.bottomRadius=s,x.slices=u,x.offsetAttribute=-1===m?void 0:m,new b(x))},b.createGeometry=function(t){let c=t._length;const b=t._topRadius,A=t._bottomRadius,x=t._vertexFormat,g=t._slices;if(c<=0||b<0||A<0||0===b&&0===A)return;const _=g+g,h=g+_,F=_+_,v=o.CylinderGeometryLibrary.computePositions(c,b,A,g,!0),C=x.st?new Float32Array(2*F):void 0,w=x.normal?new Float32Array(3*F):void 0,G=x.tangent?new Float32Array(3*F):void 0,V=x.bitangent?new Float32Array(3*F):void 0;let D;const R=x.normal||x.tangent||x.bitangent;if(R){const t=x.tangent||x.bitangent;let e=0,o=0,r=0;const i=Math.atan2(A-b,c),s=f;s.z=Math.sin(i);const u=Math.cos(i);let m=d,l=p;for(D=0;D<g;D++){const i=D/g*a.CesiumMath.TWO_PI,c=u*Math.cos(i),f=u*Math.sin(i);R&&(s.x=c,s.y=f,t&&(m=n.Cartesian3.normalize(n.Cartesian3.cross(n.Cartesian3.UNIT_Z,s,m),m)),x.normal&&(w[e++]=s.x,w[e++]=s.y,w[e++]=s.z,w[e++]=s.x,w[e++]=s.y,w[e++]=s.z),x.tangent&&(G[o++]=m.x,G[o++]=m.y,G[o++]=m.z,G[o++]=m.x,G[o++]=m.y,G[o++]=m.z),x.bitangent&&(l=n.Cartesian3.normalize(n.Cartesian3.cross(s,m,l),l),V[r++]=l.x,V[r++]=l.y,V[r++]=l.z,V[r++]=l.x,V[r++]=l.y,V[r++]=l.z))}for(D=0;D<g;D++)x.normal&&(w[e++]=0,w[e++]=0,w[e++]=-1),x.tangent&&(G[o++]=1,G[o++]=0,G[o++]=0),x.bitangent&&(V[r++]=0,V[r++]=-1,V[r++]=0);for(D=0;D<g;D++)x.normal&&(w[e++]=0,w[e++]=0,w[e++]=1),x.tangent&&(G[o++]=1,G[o++]=0,G[o++]=0),x.bitangent&&(V[r++]=0,V[r++]=1,V[r++]=0)}const T=12*g-12,O=m.IndexDatatype.createTypedArray(F,T);let L=0,P=0;for(D=0;D<g-1;D++)O[L++]=P,O[L++]=P+2,O[L++]=P+3,O[L++]=P,O[L++]=P+3,O[L++]=P+1,P+=2;for(O[L++]=_-2,O[L++]=0,O[L++]=1,O[L++]=_-2,O[L++]=1,O[L++]=_-1,D=1;D<g-1;D++)O[L++]=_+D+1,O[L++]=_+D,O[L++]=_;for(D=1;D<g-1;D++)O[L++]=h,O[L++]=h+D,O[L++]=h+D+1;let M=0;if(x.st){const t=Math.max(b,A);for(D=0;D<F;D++){const e=n.Cartesian3.fromArray(v,3*D,y);C[M++]=(e.x+t)/(2*t),C[M++]=(e.y+t)/(2*t)}}const k=new s.GeometryAttributes;x.position&&(k.position=new i.GeometryAttribute({componentDatatype:a.ComponentDatatype.DOUBLE,componentsPerAttribute:3,values:v})),x.normal&&(k.normal=new i.GeometryAttribute({componentDatatype:a.ComponentDatatype.FLOAT,componentsPerAttribute:3,values:w})),x.tangent&&(k.tangent=new i.GeometryAttribute({componentDatatype:a.ComponentDatatype.FLOAT,componentsPerAttribute:3,values:G})),x.bitangent&&(k.bitangent=new i.GeometryAttribute({componentDatatype:a.ComponentDatatype.FLOAT,componentsPerAttribute:3,values:V})),x.st&&(k.st=new i.GeometryAttribute({componentDatatype:a.ComponentDatatype.FLOAT,componentsPerAttribute:2,values:C})),l.x=.5*c,l.y=Math.max(A,b);const z=new e.BoundingSphere(n.Cartesian3.ZERO,n.Cartesian2.magnitude(l));if(r.defined(t._offsetAttribute)){c=v.length;const e=t._offsetAttribute===u.GeometryOffsetAttribute.NONE?0:1,n=new Uint8Array(c/3).fill(e);k.applyOffset=new i.GeometryAttribute({componentDatatype:a.ComponentDatatype.UNSIGNED_BYTE,componentsPerAttribute:1,values:n})}return new i.Geometry({attributes:k,indices:O,primitiveType:i.PrimitiveType.TRIANGLES,boundingSphere:z,offsetAttribute:t._offsetAttribute})},b.getUnitCylinder=function(){return r.defined(g)||(g=b.createGeometry(new b({topRadius:1,bottomRadius:1,length:1,vertexFormat:c.VertexFormat.POSITION_ONLY}))),g},t.CylinderGeometry=b}));
|
File diff suppressed because one or more lines are too long
@ -1,25 +0,0 @@
|
||||
/**
|
||||
* @license
|
||||
* Cesium - https://github.com/CesiumGS/cesium
|
||||
* Version 1.98
|
||||
*
|
||||
* Copyright 2011-2022 Cesium Contributors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
* Columbus View (Pat. Pend.)
|
||||
*
|
||||
* Portions licensed separately.
|
||||
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
||||
*/
|
||||
define(["exports","./Matrix2-cf4c6e69","./ComponentDatatype-9b23164a","./Transforms-7ac1f9ee"],(function(t,a,e,n){"use strict";const i={},r=new a.Cartesian3,s=new a.Cartesian3,o=new n.Quaternion,l=new a.Matrix3;function c(t,e,i,c,C,y,u,m,h,x){const M=t+e;a.Cartesian3.multiplyByScalar(c,Math.cos(M),r),a.Cartesian3.multiplyByScalar(i,Math.sin(M),s),a.Cartesian3.add(r,s,r);let f=Math.cos(t);f*=f;let z=Math.sin(t);z*=z;const _=y/Math.sqrt(u*f+C*z)/m;return n.Quaternion.fromAxisAngle(r,_,o),a.Matrix3.fromQuaternion(o,l),a.Matrix3.multiplyByVector(l,h,x),a.Cartesian3.normalize(x,x),a.Cartesian3.multiplyByScalar(x,m,x),x}const C=new a.Cartesian3,y=new a.Cartesian3,u=new a.Cartesian3,m=new a.Cartesian3;i.raisePositionsToHeight=function(t,e,n){const i=e.ellipsoid,r=e.height,s=e.extrudedHeight,o=n?t.length/3*2:t.length/3,l=new Float64Array(3*o),c=t.length,h=n?c:0;for(let e=0;e<c;e+=3){const o=e+1,c=e+2,x=a.Cartesian3.fromArray(t,e,C);i.scaleToGeodeticSurface(x,x);const M=a.Cartesian3.clone(x,y),f=i.geodeticSurfaceNormal(x,m),z=a.Cartesian3.multiplyByScalar(f,r,u);a.Cartesian3.add(x,z,x),n&&(a.Cartesian3.multiplyByScalar(f,s,z),a.Cartesian3.add(M,z,M),l[e+h]=M.x,l[o+h]=M.y,l[c+h]=M.z),l[e]=x.x,l[o]=x.y,l[c]=x.z}return l};const h=new a.Cartesian3,x=new a.Cartesian3,M=new a.Cartesian3;i.computeEllipsePositions=function(t,n,i){const r=t.semiMinorAxis,s=t.semiMajorAxis,o=t.rotation,l=t.center,m=8*t.granularity,f=r*r,z=s*s,_=s*r,p=a.Cartesian3.magnitude(l),O=a.Cartesian3.normalize(l,h);let d=a.Cartesian3.cross(a.Cartesian3.UNIT_Z,l,x);d=a.Cartesian3.normalize(d,d);const w=a.Cartesian3.cross(O,d,M);let P=1+Math.ceil(e.CesiumMath.PI_OVER_TWO/m);const T=e.CesiumMath.PI_OVER_TWO/(P-1);let I=e.CesiumMath.PI_OVER_TWO-P*T;I<0&&(P-=Math.ceil(Math.abs(I)/T));const g=n?new Array(3*(P*(P+2)*2)):void 0;let E=0,V=C,A=y;const R=4*P*3;let W=R-1,S=0;const B=i?new Array(R):void 0;let b,v,Q,G,H;for(I=e.CesiumMath.PI_OVER_TWO,V=c(I,o,w,d,f,_,z,p,O,V),n&&(g[E++]=V.x,g[E++]=V.y,g[E++]=V.z),i&&(B[W--]=V.z,B[W--]=V.y,B[W--]=V.x),I=e.CesiumMath.PI_OVER_TWO-T,b=1;b<P+1;++b){if(V=c(I,o,w,d,f,_,z,p,O,V),A=c(Math.PI-I,o,w,d,f,_,z,p,O,A),n){for(g[E++]=V.x,g[E++]=V.y,g[E++]=V.z,Q=2*b+2,v=1;v<Q-1;++v)G=v/(Q-1),H=a.Cartesian3.lerp(V,A,G,u),g[E++]=H.x,g[E++]=H.y,g[E++]=H.z;g[E++]=A.x,g[E++]=A.y,g[E++]=A.z}i&&(B[W--]=V.z,B[W--]=V.y,B[W--]=V.x,B[S++]=A.x,B[S++]=A.y,B[S++]=A.z),I=e.CesiumMath.PI_OVER_TWO-(b+1)*T}for(b=P;b>1;--b){if(I=e.CesiumMath.PI_OVER_TWO-(b-1)*T,V=c(-I,o,w,d,f,_,z,p,O,V),A=c(I+Math.PI,o,w,d,f,_,z,p,O,A),n){for(g[E++]=V.x,g[E++]=V.y,g[E++]=V.z,Q=2*(b-1)+2,v=1;v<Q-1;++v)G=v/(Q-1),H=a.Cartesian3.lerp(V,A,G,u),g[E++]=H.x,g[E++]=H.y,g[E++]=H.z;g[E++]=A.x,g[E++]=A.y,g[E++]=A.z}i&&(B[W--]=V.z,B[W--]=V.y,B[W--]=V.x,B[S++]=A.x,B[S++]=A.y,B[S++]=A.z)}I=e.CesiumMath.PI_OVER_TWO,V=c(-I,o,w,d,f,_,z,p,O,V);const N={};return n&&(g[E++]=V.x,g[E++]=V.y,g[E++]=V.z,N.positions=g,N.numPts=P),i&&(B[W--]=V.z,B[W--]=V.y,B[W--]=V.x,N.outerPositions=B),N};var f=i;t.EllipseGeometryLibrary=f}));
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,25 +0,0 @@
|
||||
/**
|
||||
* @license
|
||||
* Cesium - https://github.com/CesiumGS/cesium
|
||||
* Version 1.98
|
||||
*
|
||||
* Copyright 2011-2022 Cesium Contributors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
* Columbus View (Pat. Pend.)
|
||||
*
|
||||
* Portions licensed separately.
|
||||
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
||||
*/
|
||||
define(["exports","./Transforms-7ac1f9ee","./Matrix2-cf4c6e69","./ComponentDatatype-9b23164a","./defaultValue-50f7432c","./GeometryAttribute-10955f8d","./GeometryAttributes-8bab1b25","./GeometryOffsetAttribute-490bc2c9","./IndexDatatype-ceed713e"],(function(t,i,e,n,a,o,r,s,u){"use strict";const m=new e.Cartesian3(1,1,1),f=Math.cos,c=Math.sin;function l(t){t=a.defaultValue(t,a.defaultValue.EMPTY_OBJECT);const i=a.defaultValue(t.radii,m),o=a.defaultValue(t.innerRadii,i),r=a.defaultValue(t.minimumClock,0),s=a.defaultValue(t.maximumClock,n.CesiumMath.TWO_PI),u=a.defaultValue(t.minimumCone,0),f=a.defaultValue(t.maximumCone,n.CesiumMath.PI),c=Math.round(a.defaultValue(t.stackPartitions,10)),l=Math.round(a.defaultValue(t.slicePartitions,8)),d=Math.round(a.defaultValue(t.subdivisions,128));this._radii=e.Cartesian3.clone(i),this._innerRadii=e.Cartesian3.clone(o),this._minimumClock=r,this._maximumClock=s,this._minimumCone=u,this._maximumCone=f,this._stackPartitions=c,this._slicePartitions=l,this._subdivisions=d,this._offsetAttribute=t.offsetAttribute,this._workerName="createEllipsoidOutlineGeometry"}l.packedLength=2*e.Cartesian3.packedLength+8,l.pack=function(t,i,n){return n=a.defaultValue(n,0),e.Cartesian3.pack(t._radii,i,n),n+=e.Cartesian3.packedLength,e.Cartesian3.pack(t._innerRadii,i,n),n+=e.Cartesian3.packedLength,i[n++]=t._minimumClock,i[n++]=t._maximumClock,i[n++]=t._minimumCone,i[n++]=t._maximumCone,i[n++]=t._stackPartitions,i[n++]=t._slicePartitions,i[n++]=t._subdivisions,i[n]=a.defaultValue(t._offsetAttribute,-1),i};const d=new e.Cartesian3,C=new e.Cartesian3,_={radii:d,innerRadii:C,minimumClock:void 0,maximumClock:void 0,minimumCone:void 0,maximumCone:void 0,stackPartitions:void 0,slicePartitions:void 0,subdivisions:void 0,offsetAttribute:void 0};l.unpack=function(t,i,n){i=a.defaultValue(i,0);const o=e.Cartesian3.unpack(t,i,d);i+=e.Cartesian3.packedLength;const r=e.Cartesian3.unpack(t,i,C);i+=e.Cartesian3.packedLength;const s=t[i++],u=t[i++],m=t[i++],f=t[i++],c=t[i++],p=t[i++],h=t[i++],y=t[i];return a.defined(n)?(n._radii=e.Cartesian3.clone(o,n._radii),n._innerRadii=e.Cartesian3.clone(r,n._innerRadii),n._minimumClock=s,n._maximumClock=u,n._minimumCone=m,n._maximumCone=f,n._stackPartitions=c,n._slicePartitions=p,n._subdivisions=h,n._offsetAttribute=-1===y?void 0:y,n):(_.minimumClock=s,_.maximumClock=u,_.minimumCone=m,_.maximumCone=f,_.stackPartitions=c,_.slicePartitions=p,_.subdivisions=h,_.offsetAttribute=-1===y?void 0:y,new l(_))},l.createGeometry=function(t){const m=t._radii;if(m.x<=0||m.y<=0||m.z<=0)return;const l=t._innerRadii;if(l.x<=0||l.y<=0||l.z<=0)return;const d=t._minimumClock,C=t._maximumClock,_=t._minimumCone,p=t._maximumCone,h=t._subdivisions,y=e.Ellipsoid.fromCartesian3(m);let b=t._slicePartitions+1,k=t._stackPartitions+1;b=Math.round(b*Math.abs(C-d)/n.CesiumMath.TWO_PI),k=Math.round(k*Math.abs(p-_)/n.CesiumMath.PI),b<2&&(b=2),k<2&&(k=2);let x=0,A=1;const P=l.x!==m.x||l.y!==m.y||l.z!==m.z;let v=!1,M=!1;P&&(A=2,_>0&&(v=!0,x+=b),p<Math.PI&&(M=!0,x+=b));const w=h*A*(k+b),V=new Float64Array(3*w),g=2*(w+x-(b+k)*A),G=u.IndexDatatype.createTypedArray(w,g);let E,O,D,I,T=0;const z=new Array(k),L=new Array(k);for(E=0;E<k;E++)I=_+E*(p-_)/(k-1),z[E]=c(I),L[E]=f(I);const R=new Array(h),N=new Array(h);for(E=0;E<h;E++)D=d+E*(C-d)/(h-1),R[E]=c(D),N[E]=f(D);for(E=0;E<k;E++)for(O=0;O<h;O++)V[T++]=m.x*z[E]*N[O],V[T++]=m.y*z[E]*R[O],V[T++]=m.z*L[E];if(P)for(E=0;E<k;E++)for(O=0;O<h;O++)V[T++]=l.x*z[E]*N[O],V[T++]=l.y*z[E]*R[O],V[T++]=l.z*L[E];for(z.length=h,L.length=h,E=0;E<h;E++)I=_+E*(p-_)/(h-1),z[E]=c(I),L[E]=f(I);for(R.length=b,N.length=b,E=0;E<b;E++)D=d+E*(C-d)/(b-1),R[E]=c(D),N[E]=f(D);for(E=0;E<h;E++)for(O=0;O<b;O++)V[T++]=m.x*z[E]*N[O],V[T++]=m.y*z[E]*R[O],V[T++]=m.z*L[E];if(P)for(E=0;E<h;E++)for(O=0;O<b;O++)V[T++]=l.x*z[E]*N[O],V[T++]=l.y*z[E]*R[O],V[T++]=l.z*L[E];for(T=0,E=0;E<k*A;E++){const t=E*h;for(O=0;O<h-1;O++)G[T++]=t+O,G[T++]=t+O+1}let B=k*h*A;for(E=0;E<b;E++)for(O=0;O<h-1;O++)G[T++]=B+E+O*b,G[T++]=B+E+(O+1)*b;if(P)for(B=k*h*A+b*h,E=0;E<b;E++)for(O=0;O<h-1;O++)G[T++]=B+E+O*b,G[T++]=B+E+(O+1)*b;if(P){let t=k*h*A,i=t+h*b;if(v)for(E=0;E<b;E++)G[T++]=t+E,G[T++]=i+E;if(M)for(t+=h*b-b,i+=h*b-b,E=0;E<b;E++)G[T++]=t+E,G[T++]=i+E}const S=new r.GeometryAttributes({position:new o.GeometryAttribute({componentDatatype:n.ComponentDatatype.DOUBLE,componentsPerAttribute:3,values:V})});if(a.defined(t._offsetAttribute)){const i=V.length,e=t._offsetAttribute===s.GeometryOffsetAttribute.NONE?0:1,a=new Uint8Array(i/3).fill(e);S.applyOffset=new o.GeometryAttribute({componentDatatype:n.ComponentDatatype.UNSIGNED_BYTE,componentsPerAttribute:1,values:a})}return new o.Geometry({attributes:S,indices:G,primitiveType:o.PrimitiveType.LINES,boundingSphere:i.BoundingSphere.fromEllipsoid(y),offsetAttribute:t._offsetAttribute})},t.EllipsoidOutlineGeometry=l}));
|
@ -1,25 +0,0 @@
|
||||
/**
|
||||
* @license
|
||||
* Cesium - https://github.com/CesiumGS/cesium
|
||||
* Version 1.98
|
||||
*
|
||||
* Copyright 2011-2022 Cesium Contributors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
* Columbus View (Pat. Pend.)
|
||||
*
|
||||
* Portions licensed separately.
|
||||
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
||||
*/
|
||||
define(["exports","./AxisAlignedBoundingBox-cc32292c","./Matrix2-cf4c6e69","./defaultValue-50f7432c","./IntersectionTests-e2577c22","./Plane-b9f0711b","./Transforms-7ac1f9ee"],(function(t,n,e,i,o,r,s){"use strict";const a=new e.Cartesian4;function l(t,n){t=(n=i.defaultValue(n,e.Ellipsoid.WGS84)).scaleToGeodeticSurface(t);const o=s.Transforms.eastNorthUpToFixedFrame(t,n);this._ellipsoid=n,this._origin=t,this._xAxis=e.Cartesian3.fromCartesian4(e.Matrix4.getColumn(o,0,a)),this._yAxis=e.Cartesian3.fromCartesian4(e.Matrix4.getColumn(o,1,a));const l=e.Cartesian3.fromCartesian4(e.Matrix4.getColumn(o,2,a));this._plane=r.Plane.fromPointNormal(t,l)}Object.defineProperties(l.prototype,{ellipsoid:{get:function(){return this._ellipsoid}},origin:{get:function(){return this._origin}},plane:{get:function(){return this._plane}},xAxis:{get:function(){return this._xAxis}},yAxis:{get:function(){return this._yAxis}},zAxis:{get:function(){return this._plane.normal}}});const c=new n.AxisAlignedBoundingBox;l.fromPoints=function(t,e){return new l(n.AxisAlignedBoundingBox.fromPoints(t,c).center,e)};const d=new o.Ray,f=new e.Cartesian3;l.prototype.projectPointOntoPlane=function(t,n){const r=d;r.origin=t,e.Cartesian3.normalize(t,r.direction);let s=o.IntersectionTests.rayPlane(r,this._plane,f);if(i.defined(s)||(e.Cartesian3.negate(r.direction,r.direction),s=o.IntersectionTests.rayPlane(r,this._plane,f)),i.defined(s)){const t=e.Cartesian3.subtract(s,this._origin,s),o=e.Cartesian3.dot(this._xAxis,t),r=e.Cartesian3.dot(this._yAxis,t);return i.defined(n)?(n.x=o,n.y=r,n):new e.Cartesian2(o,r)}},l.prototype.projectPointsOntoPlane=function(t,n){i.defined(n)||(n=[]);let e=0;const o=t.length;for(let r=0;r<o;r++){const o=this.projectPointOntoPlane(t[r],n[e]);i.defined(o)&&(n[e]=o,e++)}return n.length=e,n},l.prototype.projectPointToNearestOnPlane=function(t,n){i.defined(n)||(n=new e.Cartesian2);const r=d;r.origin=t,e.Cartesian3.clone(this._plane.normal,r.direction);let s=o.IntersectionTests.rayPlane(r,this._plane,f);i.defined(s)||(e.Cartesian3.negate(r.direction,r.direction),s=o.IntersectionTests.rayPlane(r,this._plane,f));const a=e.Cartesian3.subtract(s,this._origin,s),l=e.Cartesian3.dot(this._xAxis,a),c=e.Cartesian3.dot(this._yAxis,a);return n.x=l,n.y=c,n},l.prototype.projectPointsToNearestOnPlane=function(t,n){i.defined(n)||(n=[]);const e=t.length;n.length=e;for(let i=0;i<e;i++)n[i]=this.projectPointToNearestOnPlane(t[i],n[i]);return n};const p=new e.Cartesian3;l.prototype.projectPointOntoEllipsoid=function(t,n){i.defined(n)||(n=new e.Cartesian3);const o=this._ellipsoid,r=this._origin,s=this._xAxis,a=this._yAxis,l=p;return e.Cartesian3.multiplyByScalar(s,t.x,l),n=e.Cartesian3.add(r,l,n),e.Cartesian3.multiplyByScalar(a,t.y,l),e.Cartesian3.add(n,l,n),o.scaleToGeocentricSurface(n,n),n},l.prototype.projectPointsOntoEllipsoid=function(t,n){const e=t.length;i.defined(n)?n.length=e:n=new Array(e);for(let i=0;i<e;++i)n[i]=this.projectPointOntoEllipsoid(t[i],n[i]);return n},t.EllipsoidTangentPlane=l}));
|
File diff suppressed because one or more lines are too long
@ -1,25 +0,0 @@
|
||||
/**
|
||||
* @license
|
||||
* Cesium - https://github.com/CesiumGS/cesium
|
||||
* Version 1.98
|
||||
*
|
||||
* Copyright 2011-2022 Cesium Contributors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
* Columbus View (Pat. Pend.)
|
||||
*
|
||||
* Portions licensed separately.
|
||||
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
||||
*/
|
||||
define(["exports","./Matrix2-cf4c6e69","./defaultValue-50f7432c","./WebGLConstants-58abc51a","./Transforms-7ac1f9ee"],(function(t,e,n,a,r){"use strict";var i=Object.freeze({NONE:0,TRIANGLES:1,LINES:2,POLYLINES:3});const o={POINTS:a.WebGLConstants.POINTS,LINES:a.WebGLConstants.LINES,LINE_LOOP:a.WebGLConstants.LINE_LOOP,LINE_STRIP:a.WebGLConstants.LINE_STRIP,TRIANGLES:a.WebGLConstants.TRIANGLES,TRIANGLE_STRIP:a.WebGLConstants.TRIANGLE_STRIP,TRIANGLE_FAN:a.WebGLConstants.TRIANGLE_FAN,isLines:function(t){return t===o.LINES||t===o.LINE_LOOP||t===o.LINE_STRIP},isTriangles:function(t){return t===o.TRIANGLES||t===o.TRIANGLE_STRIP||t===o.TRIANGLE_FAN},validate:function(t){return t===o.POINTS||t===o.LINES||t===o.LINE_LOOP||t===o.LINE_STRIP||t===o.TRIANGLES||t===o.TRIANGLE_STRIP||t===o.TRIANGLE_FAN}};var s=Object.freeze(o);function u(t){t=n.defaultValue(t,n.defaultValue.EMPTY_OBJECT),this.attributes=t.attributes,this.indices=t.indices,this.primitiveType=n.defaultValue(t.primitiveType,s.TRIANGLES),this.boundingSphere=t.boundingSphere,this.geometryType=n.defaultValue(t.geometryType,i.NONE),this.boundingSphereCV=t.boundingSphereCV,this.offsetAttribute=t.offsetAttribute}u.computeNumberOfVertices=function(t){let e=-1;for(const a in t.attributes)if(t.attributes.hasOwnProperty(a)&&n.defined(t.attributes[a])&&n.defined(t.attributes[a].values)){const n=t.attributes[a];e=n.values.length/n.componentsPerAttribute}return e};const I=new e.Cartographic,N=new e.Cartesian3,c=new e.Matrix4,T=[new e.Cartographic,new e.Cartographic,new e.Cartographic],l=[new e.Cartesian2,new e.Cartesian2,new e.Cartesian2],L=[new e.Cartesian2,new e.Cartesian2,new e.Cartesian2],E=new e.Cartesian3,f=new r.Quaternion,p=new e.Matrix4,m=new e.Matrix2;u._textureCoordinateRotationPoints=function(t,n,a,i){let o;const s=e.Rectangle.center(i,I),u=e.Cartographic.toCartesian(s,a,N),y=r.Transforms.eastNorthUpToFixedFrame(u,a,c),b=e.Matrix4.inverse(y,c),C=l,h=T;h[0].longitude=i.west,h[0].latitude=i.south,h[1].longitude=i.west,h[1].latitude=i.north,h[2].longitude=i.east,h[2].latitude=i.south;let A=E;for(o=0;o<3;o++)e.Cartographic.toCartesian(h[o],a,A),A=e.Matrix4.multiplyByPointAsVector(b,A,A),C[o].x=A.x,C[o].y=A.y;const x=r.Quaternion.fromAxisAngle(e.Cartesian3.UNIT_Z,-n,f),S=e.Matrix3.fromQuaternion(x,p),d=t.length;let P=Number.POSITIVE_INFINITY,G=Number.POSITIVE_INFINITY,R=Number.NEGATIVE_INFINITY,_=Number.NEGATIVE_INFINITY;for(o=0;o<d;o++)A=e.Matrix4.multiplyByPointAsVector(b,t[o],A),A=e.Matrix3.multiplyByVector(S,A,A),P=Math.min(P,A.x),G=Math.min(G,A.y),R=Math.max(R,A.x),_=Math.max(_,A.y);const O=e.Matrix2.fromRotation(n,m),g=L;g[0].x=P,g[0].y=G,g[1].x=P,g[1].y=_,g[2].x=R,g[2].y=G;const w=C[0],V=C[2].x-w.x,M=C[1].y-w.y;for(o=0;o<3;o++){const t=g[o];e.Matrix2.multiplyByVector(O,t,t),t.x=(t.x-w.x)/V,t.y=(t.y-w.y)/M}const v=g[0],F=g[1],W=g[2],Y=new Array(6);return e.Cartesian2.pack(v,Y),e.Cartesian2.pack(F,Y,2),e.Cartesian2.pack(W,Y,4),Y},t.Geometry=u,t.GeometryAttribute=function(t){t=n.defaultValue(t,n.defaultValue.EMPTY_OBJECT),this.componentDatatype=t.componentDatatype,this.componentsPerAttribute=t.componentsPerAttribute,this.normalize=n.defaultValue(t.normalize,!1),this.values=t.values},t.GeometryType=i,t.PrimitiveType=s}));
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,25 +0,0 @@
|
||||
/**
|
||||
* @license
|
||||
* Cesium - https://github.com/CesiumGS/cesium
|
||||
* Version 1.98
|
||||
*
|
||||
* Copyright 2011-2022 Cesium Contributors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
* Columbus View (Pat. Pend.)
|
||||
*
|
||||
* Portions licensed separately.
|
||||
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
||||
*/
|
||||
define(["exports","./Matrix2-cf4c6e69","./defaultValue-50f7432c","./Transforms-7ac1f9ee","./ComponentDatatype-9b23164a"],(function(t,n,a,e,o){"use strict";const r=Math.cos,s=Math.sin,i=Math.sqrt,c={computePosition:function(t,n,e,o,c,g,u){const h=n.radiiSquared,l=t.nwCorner,C=t.boundingRectangle;let S=l.latitude-t.granYCos*o+c*t.granXSin;const d=r(S),w=s(S),M=h.z*w;let X=l.longitude+o*t.granYSin+c*t.granXCos;const Y=d*r(X),f=d*s(X),m=h.x*Y,p=h.y*f,x=i(m*Y+p*f+M*w);if(g.x=m/x,g.y=p/x,g.z=M/x,e){const n=t.stNwCorner;a.defined(n)?(S=n.latitude-t.stGranYCos*o+c*t.stGranXSin,X=n.longitude+o*t.stGranYSin+c*t.stGranXCos,u.x=(X-t.stWest)*t.lonScalar,u.y=(S-t.stSouth)*t.latScalar):(u.x=(X-C.west)*t.lonScalar,u.y=(S-C.south)*t.latScalar)}}},g=new n.Matrix2;let u=new n.Cartesian3;const h=new n.Cartographic;let l=new n.Cartesian3;const C=new e.GeographicProjection;function S(t,a,e,o,r,s,i){const c=Math.cos(a),h=o*c,S=e*c,d=Math.sin(a),w=o*d,M=e*d;u=C.project(t,u),u=n.Cartesian3.subtract(u,l,u);const X=n.Matrix2.fromRotation(a,g);u=n.Matrix2.multiplyByVector(X,u,u),u=n.Cartesian3.add(u,l,u),s-=1,i-=1;const Y=(t=C.unproject(u,t)).latitude,f=Y+s*M,m=Y-h*i,p=Y-h*i+s*M,x=Math.max(Y,f,m,p),G=Math.min(Y,f,m,p),R=t.longitude,y=R+s*S,O=R+i*w,P=R+i*w+s*S;return{north:x,south:G,east:Math.max(R,y,O,P),west:Math.min(R,y,O,P),granYCos:h,granYSin:w,granXCos:S,granXSin:M,nwCorner:t}}c.computeOptions=function(t,a,e,r,s,i,c){let g,u=t.east,d=t.west,w=t.north,M=t.south,X=!1,Y=!1;w===o.CesiumMath.PI_OVER_TWO&&(X=!0),M===-o.CesiumMath.PI_OVER_TWO&&(Y=!0);const f=w-M;g=d>u?o.CesiumMath.TWO_PI-d+u:u-d;const m=Math.ceil(g/a)+1,p=Math.ceil(f/a)+1,x=g/(m-1),G=f/(p-1),R=n.Rectangle.northwest(t,i),y=n.Rectangle.center(t,h);0===e&&0===r||(y.longitude<R.longitude&&(y.longitude+=o.CesiumMath.TWO_PI),l=C.project(y,l));const O=G,P=x,W=n.Rectangle.clone(t,s),_={granYCos:O,granYSin:0,granXCos:P,granXSin:0,nwCorner:R,boundingRectangle:W,width:m,height:p,northCap:X,southCap:Y};if(0!==e){const t=S(R,e,x,G,0,m,p);w=t.north,M=t.south,u=t.east,d=t.west,_.granYCos=t.granYCos,_.granYSin=t.granYSin,_.granXCos=t.granXCos,_.granXSin=t.granXSin,W.north=w,W.south=M,W.east=u,W.west=d}if(0!==r){e-=r;const t=n.Rectangle.northwest(W,c),a=S(t,e,x,G,0,m,p);_.stGranYCos=a.granYCos,_.stGranXCos=a.granXCos,_.stGranYSin=a.granYSin,_.stGranXSin=a.granXSin,_.stNwCorner=t,_.stWest=a.west,_.stSouth=a.south}return _};var d=c;t.RectangleGeometryLibrary=d}));
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,25 +0,0 @@
|
||||
/**
|
||||
* @license
|
||||
* Cesium - https://github.com/CesiumGS/cesium
|
||||
* Version 1.98
|
||||
*
|
||||
* Copyright 2011-2022 Cesium Contributors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
* Columbus View (Pat. Pend.)
|
||||
*
|
||||
* Portions licensed separately.
|
||||
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
||||
*/
|
||||
define(["exports","./arrayRemoveDuplicates-fd3a3f4e","./Matrix2-cf4c6e69","./defaultValue-50f7432c","./ComponentDatatype-9b23164a","./PolylinePipeline-b69fdb1d"],(function(e,t,i,n,o,r){"use strict";const a={};function s(e,t){return o.CesiumMath.equalsEpsilon(e.latitude,t.latitude,o.CesiumMath.EPSILON10)&&o.CesiumMath.equalsEpsilon(e.longitude,t.longitude,o.CesiumMath.EPSILON10)}const l=new i.Cartographic,h=new i.Cartographic;const c=new Array(2),g=new Array(2),u={positions:void 0,height:void 0,granularity:void 0,ellipsoid:void 0};a.computePositions=function(e,a,p,d,f,y){const m=function(e,o,r,a){const c=(o=t.arrayRemoveDuplicates(o,i.Cartesian3.equalsEpsilon)).length;if(c<2)return;const g=n.defined(a),u=n.defined(r),p=new Array(c),d=new Array(c),f=new Array(c),y=o[0];p[0]=y;const m=e.cartesianToCartographic(y,l);u&&(m.height=r[0]),d[0]=m.height,f[0]=g?a[0]:0;let P=d[0]===f[0],A=1;for(let t=1;t<c;++t){const n=o[t],l=e.cartesianToCartographic(n,h);u&&(l.height=r[t]),P=P&&0===l.height,s(m,l)?m.height<l.height&&(d[A-1]=l.height):(p[A]=n,d[A]=l.height,f[A]=g?a[t]:0,P=P&&d[A]===f[A],i.Cartographic.clone(l,m),++A)}return P||A<2?void 0:(p.length=A,d.length=A,f.length=A,{positions:p,topHeights:d,bottomHeights:f})}(e,a,p,d);if(!n.defined(m))return;a=m.positions,p=m.topHeights,d=m.bottomHeights;const P=a.length,A=P-2;let C,w;const b=o.CesiumMath.chordLength(f,e.maximumRadius),v=u;if(v.minDistance=b,v.ellipsoid=e,y){let e,t=0;for(e=0;e<P-1;e++)t+=r.PolylinePipeline.numberOfPoints(a[e],a[e+1],b)+1;C=new Float64Array(3*t),w=new Float64Array(3*t);const i=c,n=g;v.positions=i,v.height=n;let o=0;for(e=0;e<P-1;e++){i[0]=a[e],i[1]=a[e+1],n[0]=p[e],n[1]=p[e+1];const t=r.PolylinePipeline.generateArc(v);C.set(t,o),n[0]=d[e],n[1]=d[e+1],w.set(r.PolylinePipeline.generateArc(v),o),o+=t.length}}else v.positions=a,v.height=p,C=new Float64Array(r.PolylinePipeline.generateArc(v)),v.height=d,w=new Float64Array(r.PolylinePipeline.generateArc(v));return{bottomPositions:w,topPositions:C,numCorners:A}};var p=a;e.WallGeometryLibrary=p}));
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,26 +0,0 @@
|
||||
/**
|
||||
* @license
|
||||
* Cesium - https://github.com/CesiumGS/cesium
|
||||
* Version 1.129
|
||||
*
|
||||
* Copyright 2011-2022 Cesium Contributors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
* Columbus View (Pat. Pend.)
|
||||
*
|
||||
* Portions licensed separately.
|
||||
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
||||
*/
|
||||
|
||||
import{a as z,c as q}from"./chunk-4647PJA5.js";import{a as U}from"./chunk-DNPSKORP.js";import{f as I}from"./chunk-H6HCBMP2.js";import{a as e,e as C}from"./chunk-MGW7GK6C.js";import{a as O}from"./chunk-WFYQVCMU.js";import{e as j}from"./chunk-OVZZEY7C.js";var G={},B=new e,J=new e,_=new e,v=new e,g=[new e,new e],K=new e,W=new e,X=new e,$=new e,ee=new e,te=new e,ne=new e,oe=new e,re=new e,se=new e,F=new I,k=new C;function V(o,s,a,c,r){let d=e.angleBetween(e.subtract(s,o,B),e.subtract(a,o,J)),y=c===z.BEVELED?1:Math.ceil(d/O.toRadians(5))+1,n=y*3,l=new Array(n);l[n-3]=a.x,l[n-2]=a.y,l[n-1]=a.z;let m;r?m=C.fromQuaternion(I.fromAxisAngle(e.negate(o,B),d/y,F),k):m=C.fromQuaternion(I.fromAxisAngle(o,d/y,F),k);let t=0;s=e.clone(s,B);for(let i=0;i<y;i++)s=C.multiplyByVector(m,s,s),l[t++]=s.x,l[t++]=s.y,l[t++]=s.z;return l}function ae(o){let s=K,a=W,c=X,r=o[1];a=e.fromArray(o[1],r.length-3,a),c=e.fromArray(o[0],0,c),s=e.midpoint(a,c,s);let d=V(s,a,c,z.ROUNDED,!1),y=o.length-1,n=o[y-1];r=o[y],a=e.fromArray(n,n.length-3,a),c=e.fromArray(r,0,c),s=e.midpoint(a,c,s);let l=V(s,a,c,z.ROUNDED,!1);return[d,l]}function H(o,s,a,c){let r=B;return c?r=e.add(o,s,r):(s=e.negate(s,s),r=e.add(o,s,r)),[r.x,r.y,r.z,a.x,a.y,a.z]}function T(o,s,a,c){let r=new Array(o.length),d=new Array(o.length),y=e.multiplyByScalar(s,a,B),n=e.negate(y,J),l=0,m=o.length-1;for(let t=0;t<o.length;t+=3){let i=e.fromArray(o,t,_),w=e.add(i,n,v);r[l++]=w.x,r[l++]=w.y,r[l++]=w.z;let f=e.add(i,y,v);d[m--]=f.z,d[m--]=f.y,d[m--]=f.x}return c.push(r,d),c}G.addAttribute=function(o,s,a,c){let r=s.x,d=s.y,y=s.z;j(a)&&(o[a]=r,o[a+1]=d,o[a+2]=y),j(c)&&(o[c]=y,o[c-1]=d,o[c-2]=r)};var le=new e,ce=new e;G.computePositions=function(o){let s=o.granularity,a=o.positions,c=o.ellipsoid,r=o.width/2,d=o.cornerType,y=o.saveAttributes,n=K,l=W,m=X,t=$,i=ee,w=te,f=ne,u=oe,p=re,x=se,E=[],S=y?[]:void 0,D=y?[]:void 0,h=a[0],N=a[1];l=e.normalize(e.subtract(N,h,l),l),n=c.geodeticSurfaceNormal(h,n),t=e.normalize(e.cross(n,l,t),t),y&&(S.push(t.x,t.y,t.z),D.push(n.x,n.y,n.z)),f=e.clone(h,f),h=N,m=e.negate(l,m);let A,P=[],M,Y=a.length;for(M=1;M<Y-1;M++){n=c.geodeticSurfaceNormal(h,n),N=a[M+1],l=e.normalize(e.subtract(N,h,l),l);let L=e.multiplyByScalar(n,e.dot(l,n),le);e.subtract(l,L,L),e.normalize(L,L);let R=e.multiplyByScalar(n,e.dot(m,n),ce);if(e.subtract(m,R,R),e.normalize(R,R),!O.equalsEpsilon(Math.abs(e.dot(L,R)),1,O.EPSILON7)){i=e.normalize(e.add(l,m,i),i),i=e.cross(i,n,i),i=e.cross(n,i,i),i=e.normalize(i,i);let Z=r/Math.max(.25,e.magnitude(e.cross(i,m,B))),b=q.angleIsGreaterThanPi(l,m,h,c);i=e.multiplyByScalar(i,Z,i),b?(u=e.add(h,i,u),x=e.add(u,e.multiplyByScalar(t,r,x),x),p=e.add(u,e.multiplyByScalar(t,r*2,p),p),g[0]=e.clone(f,g[0]),g[1]=e.clone(x,g[1]),A=U.generateArc({positions:g,granularity:s,ellipsoid:c}),E=T(A,t,r,E),y&&(S.push(t.x,t.y,t.z),D.push(n.x,n.y,n.z)),w=e.clone(p,w),t=e.normalize(e.cross(n,l,t),t),p=e.add(u,e.multiplyByScalar(t,r*2,p),p),f=e.add(u,e.multiplyByScalar(t,r,f),f),d===z.ROUNDED||d===z.BEVELED?P.push({leftPositions:V(u,w,p,d,b)}):P.push({leftPositions:H(h,e.negate(i,i),p,b)})):(p=e.add(h,i,p),x=e.add(p,e.negate(e.multiplyByScalar(t,r,x),x),x),u=e.add(p,e.negate(e.multiplyByScalar(t,r*2,u),u),u),g[0]=e.clone(f,g[0]),g[1]=e.clone(x,g[1]),A=U.generateArc({positions:g,granularity:s,ellipsoid:c}),E=T(A,t,r,E),y&&(S.push(t.x,t.y,t.z),D.push(n.x,n.y,n.z)),w=e.clone(u,w),t=e.normalize(e.cross(n,l,t),t),u=e.add(p,e.negate(e.multiplyByScalar(t,r*2,u),u),u),f=e.add(p,e.negate(e.multiplyByScalar(t,r,f),f),f),d===z.ROUNDED||d===z.BEVELED?P.push({rightPositions:V(p,w,u,d,b)}):P.push({rightPositions:H(h,i,u,b)})),m=e.negate(l,m)}h=N}n=c.geodeticSurfaceNormal(h,n),g[0]=e.clone(f,g[0]),g[1]=e.clone(h,g[1]),A=U.generateArc({positions:g,granularity:s,ellipsoid:c}),E=T(A,t,r,E),y&&(S.push(t.x,t.y,t.z),D.push(n.x,n.y,n.z));let Q;return d===z.ROUNDED&&(Q=ae(E)),{positions:E,corners:P,lefts:S,normals:D,endPositions:Q}};var we=G;export{we as a};
|
@ -1,26 +0,0 @@
|
||||
/**
|
||||
* @license
|
||||
* Cesium - https://github.com/CesiumGS/cesium
|
||||
* Version 1.129
|
||||
*
|
||||
* Copyright 2011-2022 Cesium Contributors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
* Columbus View (Pat. Pend.)
|
||||
*
|
||||
* Portions licensed separately.
|
||||
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
||||
*/
|
||||
|
||||
import{a as l,b as d}from"./chunk-A4L3VMPJ.js";import{a as t}from"./chunk-MGW7GK6C.js";import{a as s}from"./chunk-WFYQVCMU.js";import{a as f,b as r}from"./chunk-BOXFFUY5.js";import{e as m}from"./chunk-OVZZEY7C.js";function o(e,n){if(r.typeOf.object("normal",e),!s.equalsEpsilon(t.magnitude(e),1,s.EPSILON6))throw new f("normal must be normalized.");r.typeOf.number("distance",n),this.normal=t.clone(e),this.distance=n}o.fromPointNormal=function(e,n,a){if(r.typeOf.object("point",e),r.typeOf.object("normal",n),!s.equalsEpsilon(t.magnitude(n),1,s.EPSILON6))throw new f("normal must be normalized.");let c=-t.dot(n,e);return m(a)?(t.clone(n,a.normal),a.distance=c,a):new o(n,c)};var b=new t;o.fromCartesian4=function(e,n){r.typeOf.object("coefficients",e);let a=t.fromCartesian4(e,b),c=e.w;if(!s.equalsEpsilon(t.magnitude(a),1,s.EPSILON6))throw new f("normal must be normalized.");return m(n)?(t.clone(a,n.normal),n.distance=c,n):new o(a,c)};o.getPointDistance=function(e,n){return r.typeOf.object("plane",e),r.typeOf.object("point",n),t.dot(e.normal,n)+e.distance};var y=new t;o.projectPointOntoPlane=function(e,n,a){r.typeOf.object("plane",e),r.typeOf.object("point",n),m(a)||(a=new t);let c=o.getPointDistance(e,n),p=t.multiplyByScalar(e.normal,c,y);return t.subtract(n,p,a)};var w=new d,j=new l,N=new t;o.transform=function(e,n,a){r.typeOf.object("plane",e),r.typeOf.object("transform",n);let c=e.normal,p=e.distance,u=d.inverseTranspose(n,w),i=l.fromElements(c.x,c.y,c.z,p,j);i=d.multiplyByVector(u,i,i);let O=t.fromCartesian4(i,N);return i=l.divideByScalar(i,t.magnitude(O),i),o.fromCartesian4(i,a)};o.clone=function(e,n){return r.typeOf.object("plane",e),m(n)?(t.clone(e.normal,n.normal),n.distance=e.distance,n):new o(e.normal,e.distance)};o.equals=function(e,n){return r.typeOf.object("left",e),r.typeOf.object("right",n),e.distance===n.distance&&t.equals(e.normal,n.normal)};o.ORIGIN_XY_PLANE=Object.freeze(new o(t.UNIT_Z,0));o.ORIGIN_YZ_PLANE=Object.freeze(new o(t.UNIT_X,0));o.ORIGIN_ZX_PLANE=Object.freeze(new o(t.UNIT_Y,0));var T=o;export{T as a};
|
File diff suppressed because one or more lines are too long
@ -1,26 +0,0 @@
|
||||
/**
|
||||
* @license
|
||||
* Cesium - https://github.com/CesiumGS/cesium
|
||||
* Version 1.129
|
||||
*
|
||||
* Copyright 2011-2022 Cesium Contributors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
* Columbus View (Pat. Pend.)
|
||||
*
|
||||
* Portions licensed separately.
|
||||
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
||||
*/
|
||||
|
||||
import{a as y,b as P,d as B}from"./chunk-MGW7GK6C.js";import{a as L}from"./chunk-WFYQVCMU.js";import{b as q}from"./chunk-BOXFFUY5.js";import{e as T}from"./chunk-OVZZEY7C.js";function X(n){let a=n._uSquared,t=n._ellipsoid.maximumRadius,e=n._ellipsoid.minimumRadius,f=(t-e)/t,m=Math.cos(n._startHeading),_=Math.sin(n._startHeading),r=(1-f)*Math.tan(n._start.latitude),p=1/Math.sqrt(1+r*r),R=p*r,M=Math.atan2(r,m),l=p*_,U=l*l,i=1-U,A=Math.sqrt(i),c=a/4,o=c*c,h=o*c,S=o*o,u=1+c-3*o/4+5*h/4-175*S/64,C=1-c+15*o/8-35*h/8,d=1-3*c+35*o/4,g=1-5*c,w=u*M-C*Math.sin(2*M)*c/2-d*Math.sin(4*M)*o/16-g*Math.sin(6*M)*h/48-Math.sin(8*M)*5*S/512,s=n._constants;s.a=t,s.b=e,s.f=f,s.cosineHeading=m,s.sineHeading=_,s.tanU=r,s.cosineU=p,s.sineU=R,s.sigma=M,s.sineAlpha=l,s.sineSquaredAlpha=U,s.cosineSquaredAlpha=i,s.cosineAlpha=A,s.u2Over4=c,s.u4Over16=o,s.u6Over64=h,s.u8Over256=S,s.a0=u,s.a1=C,s.a2=d,s.a3=g,s.distanceRatio=w}function Y(n,a){return n*a*(4+n*(4-3*a))/16}function k(n,a,t,e,f,m,_){let r=Y(n,t);return(1-r)*n*a*(e+r*f*(_+r*m*(2*_*_-1)))}function Z(n,a,t,e,f,m,_){let r=(a-t)/a,p=m-e,R=Math.atan((1-r)*Math.tan(f)),M=Math.atan((1-r)*Math.tan(_)),l=Math.cos(R),U=Math.sin(R),i=Math.cos(M),A=Math.sin(M),c=l*i,o=l*A,h=U*A,S=U*i,u=p,C=L.TWO_PI,d=Math.cos(u),g=Math.sin(u),w,s,O,H,b;do{d=Math.cos(u),g=Math.sin(u);let z=o-S*d;O=Math.sqrt(i*i*g*g+z*z),s=h+c*d,w=Math.atan2(O,s);let D;O===0?(D=0,H=1):(D=c*g/O,H=1-D*D),C=u,b=s-2*h/H,isFinite(b)||(b=0),u=p+k(r,D,H,w,O,s,b)}while(Math.abs(u-C)>L.EPSILON12);let v=H*(a*a-t*t)/(t*t),W=1+v*(4096+v*(v*(320-175*v)-768))/16384,I=v*(256+v*(v*(74-47*v)-128))/1024,F=b*b,J=I*O*(b+I*(s*(2*F-1)-I*b*(4*O*O-3)*(4*F-3)/6)/4),K=t*W*(w-J),Q=Math.atan2(i*g,o-S*d),V=Math.atan2(l*g,o*d-S);n._distance=K,n._startHeading=Q,n._endHeading=V,n._uSquared=v}var $=new y,x=new y;function N(n,a,t,e){let f=y.normalize(e.cartographicToCartesian(a,x),$),m=y.normalize(e.cartographicToCartesian(t,x),x);q.typeOf.number.greaterThanOrEquals("value",Math.abs(Math.abs(y.angleBetween(f,m))-Math.PI),.0125),Z(n,e.maximumRadius,e.minimumRadius,a.longitude,a.latitude,t.longitude,t.latitude),n._start=P.clone(a,n._start),n._end=P.clone(t,n._end),n._start.height=0,n._end.height=0,X(n)}function E(n,a,t){let e=t??B.default;this._ellipsoid=e,this._start=new P,this._end=new P,this._constants={},this._startHeading=void 0,this._endHeading=void 0,this._distance=void 0,this._uSquared=void 0,T(n)&&T(a)&&N(this,n,a,e)}Object.defineProperties(E.prototype,{ellipsoid:{get:function(){return this._ellipsoid}},surfaceDistance:{get:function(){return q.defined("distance",this._distance),this._distance}},start:{get:function(){return this._start}},end:{get:function(){return this._end}},startHeading:{get:function(){return q.defined("distance",this._distance),this._startHeading}},endHeading:{get:function(){return q.defined("distance",this._distance),this._endHeading}}});E.prototype.setEndPoints=function(n,a){q.defined("start",n),q.defined("end",a),N(this,n,a,this._ellipsoid)};E.prototype.interpolateUsingFraction=function(n,a){return this.interpolateUsingSurfaceDistance(this._distance*n,a)};E.prototype.interpolateUsingSurfaceDistance=function(n,a){q.defined("distance",this._distance);let t=this._constants,e=t.distanceRatio+n/t.b,f=Math.cos(2*e),m=Math.cos(4*e),_=Math.cos(6*e),r=Math.sin(2*e),p=Math.sin(4*e),R=Math.sin(6*e),M=Math.sin(8*e),l=e*e,U=e*l,i=t.u8Over256,A=t.u2Over4,c=t.u6Over64,o=t.u4Over16,h=2*U*i*f/3+e*(1-A+7*o/4-15*c/4+579*i/64-(o-15*c/4+187*i/16)*f-(5*c/4-115*i/16)*m-29*i*_/16)+(A/2-o+71*c/32-85*i/16)*r+(5*o/16-5*c/4+383*i/96)*p-l*((c-11*i/2)*r+5*i*p/2)+(29*c/96-29*i/16)*R+539*i*M/1536,S=Math.asin(Math.sin(h)*t.cosineAlpha),u=Math.atan(t.a/t.b*Math.tan(S));h=h-t.sigma;let C=Math.cos(2*t.sigma+h),d=Math.sin(h),g=Math.cos(h),w=t.cosineU*g,s=t.sineU*d,H=Math.atan2(d*t.sineHeading,w-s*t.cosineHeading)-k(t.f,t.sineAlpha,t.cosineSquaredAlpha,h,d,g,C);return T(a)?(a.longitude=this._start.longitude+H,a.latitude=u,a.height=0,a):new P(this._start.longitude+H,u,0)};var et=E;export{et as a};
|
@ -1,26 +0,0 @@
|
||||
/**
|
||||
* @license
|
||||
* Cesium - https://github.com/CesiumGS/cesium
|
||||
* Version 1.129
|
||||
*
|
||||
* Copyright 2011-2022 Cesium Contributors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
* Columbus View (Pat. Pend.)
|
||||
*
|
||||
* Portions licensed separately.
|
||||
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
||||
*/
|
||||
|
||||
import{a as z,c as q}from"./chunk-GRWCOIDY.js";import{a as U}from"./chunk-UOX6KQJA.js";import{f as I}from"./chunk-A4L3VMPJ.js";import{a as e,e as C}from"./chunk-MGW7GK6C.js";import{a as O}from"./chunk-WFYQVCMU.js";import{e as j}from"./chunk-OVZZEY7C.js";var G={},B=new e,J=new e,_=new e,v=new e,g=[new e,new e],K=new e,W=new e,X=new e,$=new e,ee=new e,te=new e,ne=new e,oe=new e,re=new e,se=new e,F=new I,k=new C;function V(o,s,a,c,r){let d=e.angleBetween(e.subtract(s,o,B),e.subtract(a,o,J)),y=c===z.BEVELED?1:Math.ceil(d/O.toRadians(5))+1,n=y*3,l=new Array(n);l[n-3]=a.x,l[n-2]=a.y,l[n-1]=a.z;let m;r?m=C.fromQuaternion(I.fromAxisAngle(e.negate(o,B),d/y,F),k):m=C.fromQuaternion(I.fromAxisAngle(o,d/y,F),k);let t=0;s=e.clone(s,B);for(let i=0;i<y;i++)s=C.multiplyByVector(m,s,s),l[t++]=s.x,l[t++]=s.y,l[t++]=s.z;return l}function ae(o){let s=K,a=W,c=X,r=o[1];a=e.fromArray(o[1],r.length-3,a),c=e.fromArray(o[0],0,c),s=e.midpoint(a,c,s);let d=V(s,a,c,z.ROUNDED,!1),y=o.length-1,n=o[y-1];r=o[y],a=e.fromArray(n,n.length-3,a),c=e.fromArray(r,0,c),s=e.midpoint(a,c,s);let l=V(s,a,c,z.ROUNDED,!1);return[d,l]}function H(o,s,a,c){let r=B;return c?r=e.add(o,s,r):(s=e.negate(s,s),r=e.add(o,s,r)),[r.x,r.y,r.z,a.x,a.y,a.z]}function T(o,s,a,c){let r=new Array(o.length),d=new Array(o.length),y=e.multiplyByScalar(s,a,B),n=e.negate(y,J),l=0,m=o.length-1;for(let t=0;t<o.length;t+=3){let i=e.fromArray(o,t,_),w=e.add(i,n,v);r[l++]=w.x,r[l++]=w.y,r[l++]=w.z;let f=e.add(i,y,v);d[m--]=f.z,d[m--]=f.y,d[m--]=f.x}return c.push(r,d),c}G.addAttribute=function(o,s,a,c){let r=s.x,d=s.y,y=s.z;j(a)&&(o[a]=r,o[a+1]=d,o[a+2]=y),j(c)&&(o[c]=y,o[c-1]=d,o[c-2]=r)};var le=new e,ce=new e;G.computePositions=function(o){let s=o.granularity,a=o.positions,c=o.ellipsoid,r=o.width/2,d=o.cornerType,y=o.saveAttributes,n=K,l=W,m=X,t=$,i=ee,w=te,f=ne,u=oe,p=re,x=se,E=[],S=y?[]:void 0,D=y?[]:void 0,h=a[0],N=a[1];l=e.normalize(e.subtract(N,h,l),l),n=c.geodeticSurfaceNormal(h,n),t=e.normalize(e.cross(n,l,t),t),y&&(S.push(t.x,t.y,t.z),D.push(n.x,n.y,n.z)),f=e.clone(h,f),h=N,m=e.negate(l,m);let A,P=[],M,Y=a.length;for(M=1;M<Y-1;M++){n=c.geodeticSurfaceNormal(h,n),N=a[M+1],l=e.normalize(e.subtract(N,h,l),l);let L=e.multiplyByScalar(n,e.dot(l,n),le);e.subtract(l,L,L),e.normalize(L,L);let R=e.multiplyByScalar(n,e.dot(m,n),ce);if(e.subtract(m,R,R),e.normalize(R,R),!O.equalsEpsilon(Math.abs(e.dot(L,R)),1,O.EPSILON7)){i=e.normalize(e.add(l,m,i),i),i=e.cross(i,n,i),i=e.cross(n,i,i),i=e.normalize(i,i);let Z=r/Math.max(.25,e.magnitude(e.cross(i,m,B))),b=q.angleIsGreaterThanPi(l,m,h,c);i=e.multiplyByScalar(i,Z,i),b?(u=e.add(h,i,u),x=e.add(u,e.multiplyByScalar(t,r,x),x),p=e.add(u,e.multiplyByScalar(t,r*2,p),p),g[0]=e.clone(f,g[0]),g[1]=e.clone(x,g[1]),A=U.generateArc({positions:g,granularity:s,ellipsoid:c}),E=T(A,t,r,E),y&&(S.push(t.x,t.y,t.z),D.push(n.x,n.y,n.z)),w=e.clone(p,w),t=e.normalize(e.cross(n,l,t),t),p=e.add(u,e.multiplyByScalar(t,r*2,p),p),f=e.add(u,e.multiplyByScalar(t,r,f),f),d===z.ROUNDED||d===z.BEVELED?P.push({leftPositions:V(u,w,p,d,b)}):P.push({leftPositions:H(h,e.negate(i,i),p,b)})):(p=e.add(h,i,p),x=e.add(p,e.negate(e.multiplyByScalar(t,r,x),x),x),u=e.add(p,e.negate(e.multiplyByScalar(t,r*2,u),u),u),g[0]=e.clone(f,g[0]),g[1]=e.clone(x,g[1]),A=U.generateArc({positions:g,granularity:s,ellipsoid:c}),E=T(A,t,r,E),y&&(S.push(t.x,t.y,t.z),D.push(n.x,n.y,n.z)),w=e.clone(u,w),t=e.normalize(e.cross(n,l,t),t),u=e.add(p,e.negate(e.multiplyByScalar(t,r*2,u),u),u),f=e.add(p,e.negate(e.multiplyByScalar(t,r,f),f),f),d===z.ROUNDED||d===z.BEVELED?P.push({rightPositions:V(p,w,u,d,b)}):P.push({rightPositions:H(h,i,u,b)})),m=e.negate(l,m)}h=N}n=c.geodeticSurfaceNormal(h,n),g[0]=e.clone(f,g[0]),g[1]=e.clone(h,g[1]),A=U.generateArc({positions:g,granularity:s,ellipsoid:c}),E=T(A,t,r,E),y&&(S.push(t.x,t.y,t.z),D.push(n.x,n.y,n.z));let Q;return d===z.ROUNDED&&(Q=ae(E)),{positions:E,corners:P,lefts:S,normals:D,endPositions:Q}};var we=G;export{we as a};
|
@ -1,26 +0,0 @@
|
||||
/**
|
||||
* @license
|
||||
* Cesium - https://github.com/CesiumGS/cesium
|
||||
* Version 1.129
|
||||
*
|
||||
* Copyright 2011-2022 Cesium Contributors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
* Columbus View (Pat. Pend.)
|
||||
*
|
||||
* Portions licensed separately.
|
||||
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
||||
*/
|
||||
|
||||
import{b as E,f as O,g as R,h as G,i as L}from"./chunk-A3K2ZLIM.js";import{a as S,b as N,c as s,e as y,f as A}from"./chunk-MGW7GK6C.js";import{a as u}from"./chunk-5IUKPU5Q.js";import{a as I,b as w}from"./chunk-BOXFFUY5.js";import{e as f}from"./chunk-OVZZEY7C.js";var U={NONE:0,TRIANGLES:1,LINES:2,POLYLINES:3},F=Object.freeze(U);var r={POINTS:u.POINTS,LINES:u.LINES,LINE_LOOP:u.LINE_LOOP,LINE_STRIP:u.LINE_STRIP,TRIANGLES:u.TRIANGLES,TRIANGLE_STRIP:u.TRIANGLE_STRIP,TRIANGLE_FAN:u.TRIANGLE_FAN};r.isLines=function(t){return t===r.LINES||t===r.LINE_LOOP||t===r.LINE_STRIP};r.isTriangles=function(t){return t===r.TRIANGLES||t===r.TRIANGLE_STRIP||t===r.TRIANGLE_FAN};r.validate=function(t){return t===r.POINTS||t===r.LINES||t===r.LINE_LOOP||t===r.LINE_STRIP||t===r.TRIANGLES||t===r.TRIANGLE_STRIP||t===r.TRIANGLE_FAN};var M=Object.freeze(r);function _(t){t=t??A.EMPTY_OBJECT,w.typeOf.object("options.attributes",t.attributes),this.attributes=t.attributes,this.indices=t.indices,this.primitiveType=t.primitiveType??M.TRIANGLES,this.boundingSphere=t.boundingSphere,this.geometryType=t.geometryType??F.NONE,this.boundingSphereCV=t.boundingSphereCV,this.offsetAttribute=t.offsetAttribute}_.computeNumberOfVertices=function(t){w.typeOf.object("geometry",t);let c=-1;for(let a in t.attributes)if(t.attributes.hasOwnProperty(a)&&f(t.attributes[a])&&f(t.attributes[a].values)){let o=t.attributes[a],e=o.values.length/o.componentsPerAttribute;if(c!==e&&c!==-1)throw new I("All attribute lists must have the same number of attributes.");c=e}return c};var W=new N,H=new S,g=new E,Z=[new N,new N,new N],K=[new s,new s,new s],$=[new s,new s,new s],tt=new S,et=new O,rt=new E,nt=new L;_._textureCoordinateRotationPoints=function(t,c,a,o){let e,V=G.center(o,W),D=N.toCartesian(V,a,H),Y=R.eastNorthUpToFixedFrame(D,a,g),C=E.inverse(Y,g),b=K,m=Z;m[0].longitude=o.west,m[0].latitude=o.south,m[1].longitude=o.west,m[1].latitude=o.north,m[2].longitude=o.east,m[2].latitude=o.south;let n=tt;for(e=0;e<3;e++)N.toCartesian(m[e],a,n),n=E.multiplyByPointAsVector(C,n,n),b[e].x=n.x,b[e].y=n.y;let z=O.fromAxisAngle(S.UNIT_Z,-c,et),B=y.fromQuaternion(z,rt),v=t.length,T=Number.POSITIVE_INFINITY,p=Number.POSITIVE_INFINITY,x=Number.NEGATIVE_INFINITY,d=Number.NEGATIVE_INFINITY;for(e=0;e<v;e++)n=E.multiplyByPointAsVector(C,t[e],n),n=y.multiplyByVector(B,n,n),T=Math.min(T,n.x),p=Math.min(p,n.y),x=Math.max(x,n.x),d=Math.max(d,n.y);let j=L.fromRotation(c,nt),i=$;i[0].x=T,i[0].y=p,i[1].x=T,i[1].y=d,i[2].x=x,i[2].y=p;let l=b[0],k=b[2].x-l.x,X=b[1].y-l.y;for(e=0;e<3;e++){let h=i[e];L.multiplyByVector(j,h,h),h.x=(h.x-l.x)/k,h.y=(h.y-l.y)/X}let q=i[0],J=i[1],Q=i[2],P=new Array(6);return s.pack(q,P),s.pack(J,P,2),s.pack(Q,P,4),P};var Lt=_;function ot(t){if(t=t??A.EMPTY_OBJECT,!f(t.componentDatatype))throw new I("options.componentDatatype is required.");if(!f(t.componentsPerAttribute))throw new I("options.componentsPerAttribute is required.");if(t.componentsPerAttribute<1||t.componentsPerAttribute>4)throw new I("options.componentsPerAttribute must be between 1 and 4.");if(!f(t.values))throw new I("options.values is required.");this.componentDatatype=t.componentDatatype,this.componentsPerAttribute=t.componentsPerAttribute,this.normalize=t.normalize??!1,this.values=t.values}var Ot=ot;export{F as a,M as b,Lt as c,Ot as d};
|
@ -1,26 +0,0 @@
|
||||
/**
|
||||
* @license
|
||||
* Cesium - https://github.com/CesiumGS/cesium
|
||||
* Version 1.129
|
||||
*
|
||||
* Copyright 2011-2022 Cesium Contributors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
* Columbus View (Pat. Pend.)
|
||||
*
|
||||
* Portions licensed separately.
|
||||
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
||||
*/
|
||||
|
||||
import{a as h}from"./chunk-I7G5IWDK.js";import{a as n,c as y,e as a}from"./chunk-MGW7GK6C.js";import{b as f}from"./chunk-BOXFFUY5.js";var x={},b=new n,P=new n,B=new n,M=new n,w=new h;x.validOutline=function(i){f.defined("positions",i);let o=h.fromPoints(i,w).halfAxes,e=a.getColumn(o,0,P),r=a.getColumn(o,1,B),t=a.getColumn(o,2,M),u=n.magnitude(e),s=n.magnitude(r),l=n.magnitude(t);return!(u===0&&(s===0||l===0)||s===0&&l===0)};x.computeProjectTo2DArguments=function(i,c,o,e){f.defined("positions",i),f.defined("centerResult",c),f.defined("planeAxis1Result",o),f.defined("planeAxis2Result",e);let r=h.fromPoints(i,w),t=r.halfAxes,u=a.getColumn(t,0,P),s=a.getColumn(t,1,B),l=a.getColumn(t,2,M),A=n.magnitude(u),d=n.magnitude(s),g=n.magnitude(l),m=Math.min(A,d,g);if(A===0&&(d===0||g===0)||d===0&&g===0)return!1;let p,C;return(m===d||m===g)&&(p=u),m===A?p=s:m===g&&(C=s),(m===A||m===d)&&(C=l),n.normalize(p,o),n.normalize(C,e),n.clone(r.center,c),!0};function z(i,c,o,e,r){let t=n.subtract(i,c,b),u=n.dot(o,t),s=n.dot(e,t);return y.fromElements(u,s,r)}x.createProjectPointsTo2DFunction=function(i,c,o){return function(e){let r=new Array(e.length);for(let t=0;t<e.length;t++)r[t]=z(e[t],i,c,o);return r}};x.createProjectPointTo2DFunction=function(i,c,o){return function(e,r){return z(e,i,c,o,r)}};var O=x;export{O as a};
|
@ -1,26 +0,0 @@
|
||||
/**
|
||||
* @license
|
||||
* Cesium - https://github.com/CesiumGS/cesium
|
||||
* Version 1.129
|
||||
*
|
||||
* Copyright 2011-2022 Cesium Contributors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
* Columbus View (Pat. Pend.)
|
||||
*
|
||||
* Portions licensed separately.
|
||||
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
||||
*/
|
||||
|
||||
import{b as E,f as O,g as R,h as G,i as L}from"./chunk-VPFNPTPP.js";import{a as S,b as N,c as s,e as y,f as A}from"./chunk-MGW7GK6C.js";import{a as u}from"./chunk-5IUKPU5Q.js";import{a as I,b as w}from"./chunk-BOXFFUY5.js";import{e as f}from"./chunk-OVZZEY7C.js";var U={NONE:0,TRIANGLES:1,LINES:2,POLYLINES:3},F=Object.freeze(U);var r={POINTS:u.POINTS,LINES:u.LINES,LINE_LOOP:u.LINE_LOOP,LINE_STRIP:u.LINE_STRIP,TRIANGLES:u.TRIANGLES,TRIANGLE_STRIP:u.TRIANGLE_STRIP,TRIANGLE_FAN:u.TRIANGLE_FAN};r.isLines=function(t){return t===r.LINES||t===r.LINE_LOOP||t===r.LINE_STRIP};r.isTriangles=function(t){return t===r.TRIANGLES||t===r.TRIANGLE_STRIP||t===r.TRIANGLE_FAN};r.validate=function(t){return t===r.POINTS||t===r.LINES||t===r.LINE_LOOP||t===r.LINE_STRIP||t===r.TRIANGLES||t===r.TRIANGLE_STRIP||t===r.TRIANGLE_FAN};var M=Object.freeze(r);function _(t){t=t??A.EMPTY_OBJECT,w.typeOf.object("options.attributes",t.attributes),this.attributes=t.attributes,this.indices=t.indices,this.primitiveType=t.primitiveType??M.TRIANGLES,this.boundingSphere=t.boundingSphere,this.geometryType=t.geometryType??F.NONE,this.boundingSphereCV=t.boundingSphereCV,this.offsetAttribute=t.offsetAttribute}_.computeNumberOfVertices=function(t){w.typeOf.object("geometry",t);let c=-1;for(let a in t.attributes)if(t.attributes.hasOwnProperty(a)&&f(t.attributes[a])&&f(t.attributes[a].values)){let o=t.attributes[a],e=o.values.length/o.componentsPerAttribute;if(c!==e&&c!==-1)throw new I("All attribute lists must have the same number of attributes.");c=e}return c};var W=new N,H=new S,g=new E,Z=[new N,new N,new N],K=[new s,new s,new s],$=[new s,new s,new s],tt=new S,et=new O,rt=new E,nt=new L;_._textureCoordinateRotationPoints=function(t,c,a,o){let e,V=G.center(o,W),D=N.toCartesian(V,a,H),Y=R.eastNorthUpToFixedFrame(D,a,g),C=E.inverse(Y,g),b=K,m=Z;m[0].longitude=o.west,m[0].latitude=o.south,m[1].longitude=o.west,m[1].latitude=o.north,m[2].longitude=o.east,m[2].latitude=o.south;let n=tt;for(e=0;e<3;e++)N.toCartesian(m[e],a,n),n=E.multiplyByPointAsVector(C,n,n),b[e].x=n.x,b[e].y=n.y;let z=O.fromAxisAngle(S.UNIT_Z,-c,et),B=y.fromQuaternion(z,rt),v=t.length,T=Number.POSITIVE_INFINITY,p=Number.POSITIVE_INFINITY,x=Number.NEGATIVE_INFINITY,d=Number.NEGATIVE_INFINITY;for(e=0;e<v;e++)n=E.multiplyByPointAsVector(C,t[e],n),n=y.multiplyByVector(B,n,n),T=Math.min(T,n.x),p=Math.min(p,n.y),x=Math.max(x,n.x),d=Math.max(d,n.y);let j=L.fromRotation(c,nt),i=$;i[0].x=T,i[0].y=p,i[1].x=T,i[1].y=d,i[2].x=x,i[2].y=p;let l=b[0],k=b[2].x-l.x,X=b[1].y-l.y;for(e=0;e<3;e++){let h=i[e];L.multiplyByVector(j,h,h),h.x=(h.x-l.x)/k,h.y=(h.y-l.y)/X}let q=i[0],J=i[1],Q=i[2],P=new Array(6);return s.pack(q,P),s.pack(J,P,2),s.pack(Q,P,4),P};var Lt=_;function ot(t){if(t=t??A.EMPTY_OBJECT,!f(t.componentDatatype))throw new I("options.componentDatatype is required.");if(!f(t.componentsPerAttribute))throw new I("options.componentsPerAttribute is required.");if(t.componentsPerAttribute<1||t.componentsPerAttribute>4)throw new I("options.componentsPerAttribute must be between 1 and 4.");if(!f(t.values))throw new I("options.values is required.");this.componentDatatype=t.componentDatatype,this.componentsPerAttribute=t.componentsPerAttribute,this.normalize=t.normalize??!1,this.values=t.values}var Ot=ot;export{F as a,M as b,Lt as c,Ot as d};
|
@ -1,26 +0,0 @@
|
||||
/**
|
||||
* @license
|
||||
* Cesium - https://github.com/CesiumGS/cesium
|
||||
* Version 1.129
|
||||
*
|
||||
* Copyright 2011-2022 Cesium Contributors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
* Columbus View (Pat. Pend.)
|
||||
*
|
||||
* Portions licensed separately.
|
||||
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
||||
*/
|
||||
|
||||
import{a as h}from"./chunk-JQA4D4QZ.js";import{a as n,c as y,e as a}from"./chunk-MGW7GK6C.js";import{b as f}from"./chunk-BOXFFUY5.js";var x={},b=new n,P=new n,B=new n,M=new n,w=new h;x.validOutline=function(i){f.defined("positions",i);let o=h.fromPoints(i,w).halfAxes,e=a.getColumn(o,0,P),r=a.getColumn(o,1,B),t=a.getColumn(o,2,M),u=n.magnitude(e),s=n.magnitude(r),l=n.magnitude(t);return!(u===0&&(s===0||l===0)||s===0&&l===0)};x.computeProjectTo2DArguments=function(i,c,o,e){f.defined("positions",i),f.defined("centerResult",c),f.defined("planeAxis1Result",o),f.defined("planeAxis2Result",e);let r=h.fromPoints(i,w),t=r.halfAxes,u=a.getColumn(t,0,P),s=a.getColumn(t,1,B),l=a.getColumn(t,2,M),A=n.magnitude(u),d=n.magnitude(s),g=n.magnitude(l),m=Math.min(A,d,g);if(A===0&&(d===0||g===0)||d===0&&g===0)return!1;let p,C;return(m===d||m===g)&&(p=u),m===A?p=s:m===g&&(C=s),(m===A||m===d)&&(C=l),n.normalize(p,o),n.normalize(C,e),n.clone(r.center,c),!0};function z(i,c,o,e,r){let t=n.subtract(i,c,b),u=n.dot(o,t),s=n.dot(e,t);return y.fromElements(u,s,r)}x.createProjectPointsTo2DFunction=function(i,c,o){return function(e){let r=new Array(e.length);for(let t=0;t<e.length;t++)r[t]=z(e[t],i,c,o);return r}};x.createProjectPointTo2DFunction=function(i,c,o){return function(e,r){return z(e,i,c,o,r)}};var O=x;export{O as a};
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,26 +0,0 @@
|
||||
/**
|
||||
* @license
|
||||
* Cesium - https://github.com/CesiumGS/cesium
|
||||
* Version 1.129
|
||||
*
|
||||
* Copyright 2011-2022 Cesium Contributors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
* Columbus View (Pat. Pend.)
|
||||
*
|
||||
* Portions licensed separately.
|
||||
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
||||
*/
|
||||
|
||||
import{b as r}from"./chunk-FXKWBJNE.js";import{f as m}from"./chunk-MGW7GK6C.js";import{a as i}from"./chunk-BOXFFUY5.js";import{e as t}from"./chunk-OVZZEY7C.js";function d(e){if(e=e??m.EMPTY_OBJECT,!t(e.geometry))throw new i("options.geometry is required.");this.geometry=e.geometry,this.modelMatrix=r.clone(e.modelMatrix??r.IDENTITY),this.id=e.id,this.pickPrimitive=e.pickPrimitive,this.attributes=e.attributes??{},this.westHemisphereGeometry=void 0,this.eastHemisphereGeometry=void 0}var a=d;export{a};
|
File diff suppressed because one or more lines are too long
@ -1,26 +0,0 @@
|
||||
/**
|
||||
* @license
|
||||
* Cesium - https://github.com/CesiumGS/cesium
|
||||
* Version 1.129
|
||||
*
|
||||
* Copyright 2011-2022 Cesium Contributors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
* Columbus View (Pat. Pend.)
|
||||
*
|
||||
* Portions licensed separately.
|
||||
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
||||
*/
|
||||
|
||||
import{a as Q}from"./chunk-PGM6B4G2.js";import{a as N}from"./chunk-HNJRTQHB.js";import{a as _}from"./chunk-XJK3AZF6.js";import{a as K}from"./chunk-ST7VNABR.js";import{a as H}from"./chunk-EK6GOLXU.js";import{b as J,c as W,d as L}from"./chunk-34GCBYYX.js";import{d as j}from"./chunk-CCZ6XI6A.js";import{a as S}from"./chunk-J4RA3VLE.js";import{a as b,c as E,f as Z}from"./chunk-MGW7GK6C.js";import{a as Y}from"./chunk-WFYQVCMU.js";import{a as F}from"./chunk-BOXFFUY5.js";import{e as g}from"./chunk-OVZZEY7C.js";var k=new E,ot=new b,nt=new b,it=new b,rt=new b;function O(t){t=t??Z.EMPTY_OBJECT;let n=t.length,e=t.topRadius,h=t.bottomRadius,o=t.vertexFormat??_.DEFAULT,s=t.slices??128;if(!g(n))throw new F("options.length must be defined.");if(!g(e))throw new F("options.topRadius must be defined.");if(!g(h))throw new F("options.bottomRadius must be defined.");if(s<3)throw new F("options.slices must be greater than or equal to 3.");if(g(t.offsetAttribute)&&t.offsetAttribute===N.TOP)throw new F("GeometryOffsetAttribute.TOP is not a supported options.offsetAttribute for this geometry.");this._length=n,this._topRadius=e,this._bottomRadius=h,this._vertexFormat=_.clone(o),this._slices=s,this._offsetAttribute=t.offsetAttribute,this._workerName="createCylinderGeometry"}O.packedLength=_.packedLength+5;O.pack=function(t,n,e){if(!g(t))throw new F("value is required");if(!g(n))throw new F("array is required");return e=e??0,_.pack(t._vertexFormat,n,e),e+=_.packedLength,n[e++]=t._length,n[e++]=t._topRadius,n[e++]=t._bottomRadius,n[e++]=t._slices,n[e]=t._offsetAttribute??-1,n};var X=new _,D={vertexFormat:X,length:void 0,topRadius:void 0,bottomRadius:void 0,slices:void 0,offsetAttribute:void 0};O.unpack=function(t,n,e){if(!g(t))throw new F("array is required");n=n??0;let h=_.unpack(t,n,X);n+=_.packedLength;let o=t[n++],s=t[n++],p=t[n++],P=t[n++],w=t[n];return g(e)?(e._vertexFormat=_.clone(h,e._vertexFormat),e._length=o,e._topRadius=s,e._bottomRadius=p,e._slices=P,e._offsetAttribute=w===-1?void 0:w,e):(D.length=o,D.topRadius=s,D.bottomRadius=p,D.slices=P,D.offsetAttribute=w===-1?void 0:w,new O(D))};O.createGeometry=function(t){let n=t._length,e=t._topRadius,h=t._bottomRadius,o=t._vertexFormat,s=t._slices;if(n<=0||e<0||h<0||e===0&&h===0)return;let p=s+s,P=s+p,w=p+p,C=Q.computePositions(n,e,h,s,!0),z=o.st?new Float32Array(w*2):void 0,c=o.normal?new Float32Array(w*3):void 0,m=o.tangent?new Float32Array(w*3):void 0,u=o.bitangent?new Float32Array(w*3):void 0,i,G=o.normal||o.tangent||o.bitangent;if(G){let T=o.tangent||o.bitangent,f=0,d=0,l=0,q=Math.atan2(h-e,n),A=ot;A.z=Math.sin(q);let B=Math.cos(q),R=it,y=nt;for(i=0;i<s;i++){let V=i/s*Y.TWO_PI,tt=B*Math.cos(V),et=B*Math.sin(V);G&&(A.x=tt,A.y=et,T&&(R=b.normalize(b.cross(b.UNIT_Z,A,R),R)),o.normal&&(c[f++]=A.x,c[f++]=A.y,c[f++]=A.z,c[f++]=A.x,c[f++]=A.y,c[f++]=A.z),o.tangent&&(m[d++]=R.x,m[d++]=R.y,m[d++]=R.z,m[d++]=R.x,m[d++]=R.y,m[d++]=R.z),o.bitangent&&(y=b.normalize(b.cross(A,R,y),y),u[l++]=y.x,u[l++]=y.y,u[l++]=y.z,u[l++]=y.x,u[l++]=y.y,u[l++]=y.z))}for(i=0;i<s;i++)o.normal&&(c[f++]=0,c[f++]=0,c[f++]=-1),o.tangent&&(m[d++]=1,m[d++]=0,m[d++]=0),o.bitangent&&(u[l++]=0,u[l++]=-1,u[l++]=0);for(i=0;i<s;i++)o.normal&&(c[f++]=0,c[f++]=0,c[f++]=1),o.tangent&&(m[d++]=1,m[d++]=0,m[d++]=0),o.bitangent&&(u[l++]=0,u[l++]=1,u[l++]=0)}let $=12*s-12,r=K.createTypedArray(w,$),a=0,x=0;for(i=0;i<s-1;i++)r[a++]=x,r[a++]=x+2,r[a++]=x+3,r[a++]=x,r[a++]=x+3,r[a++]=x+1,x+=2;for(r[a++]=p-2,r[a++]=0,r[a++]=1,r[a++]=p-2,r[a++]=1,r[a++]=p-1,i=1;i<s-1;i++)r[a++]=p+i+1,r[a++]=p+i,r[a++]=p;for(i=1;i<s-1;i++)r[a++]=P,r[a++]=P+i,r[a++]=P+i+1;let U=0;if(o.st){let T=Math.max(e,h);for(i=0;i<w;i++){let f=b.fromArray(C,i*3,rt);z[U++]=(f.x+T)/(2*T),z[U++]=(f.y+T)/(2*T)}}let v=new H;o.position&&(v.position=new L({componentDatatype:S.DOUBLE,componentsPerAttribute:3,values:C})),o.normal&&(v.normal=new L({componentDatatype:S.FLOAT,componentsPerAttribute:3,values:c})),o.tangent&&(v.tangent=new L({componentDatatype:S.FLOAT,componentsPerAttribute:3,values:m})),o.bitangent&&(v.bitangent=new L({componentDatatype:S.FLOAT,componentsPerAttribute:3,values:u})),o.st&&(v.st=new L({componentDatatype:S.FLOAT,componentsPerAttribute:2,values:z})),k.x=n*.5,k.y=Math.max(h,e);let I=new j(b.ZERO,E.magnitude(k));if(g(t._offsetAttribute)){n=C.length;let T=t._offsetAttribute===N.NONE?0:1,f=new Uint8Array(n/3).fill(T);v.applyOffset=new L({componentDatatype:S.UNSIGNED_BYTE,componentsPerAttribute:1,values:f})}return new W({attributes:v,indices:r,primitiveType:J.TRIANGLES,boundingSphere:I,offsetAttribute:t._offsetAttribute})};var M;O.getUnitCylinder=function(){return g(M)||(M=O.createGeometry(new O({topRadius:1,bottomRadius:1,length:1,vertexFormat:_.POSITION_ONLY}))),M};var yt=O;export{yt as a};
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,28 +0,0 @@
|
||||
/**
|
||||
* @license
|
||||
* Cesium - https://github.com/CesiumGS/cesium
|
||||
* Version 1.129
|
||||
*
|
||||
* Copyright 2011-2022 Cesium Contributors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
* Columbus View (Pat. Pend.)
|
||||
*
|
||||
* Portions licensed separately.
|
||||
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
||||
*/
|
||||
|
||||
import{e as f}from"./chunk-OVZZEY7C.js";function c(t){let n,a=t.name,e=t.message;f(a)&&f(e)?n=`${a}: ${e}`:n=t.toString();let o=t.stack;return f(o)&&(n+=`
|
||||
${o}`),n}var i=c;function l(t){async function n({data:e}){let o=[],s={id:e.id,result:void 0,error:void 0};self.CESIUM_BASE_URL=e.baseUrl;try{let r=await t(e.parameters,o);s.result=r}catch(r){r instanceof Error?s.error={name:r.name,message:r.message,stack:r.stack}:s.error=r}e.canTransferArrayBuffer||(o.length=0);try{postMessage(s,o)}catch(r){s.result=void 0,s.error=`postMessage failed with error: ${i(r)}
|
||||
with responseMessage: ${JSON.stringify(s)}`,postMessage(s)}}function a(e){postMessage({id:e.data?.id,error:`postMessage failed with error: ${JSON.stringify(e)}`})}return self.onmessage=n,self.onmessageerror=a,self}var d=l;export{d as a};
|
@ -1,26 +0,0 @@
|
||||
/**
|
||||
* @license
|
||||
* Cesium - https://github.com/CesiumGS/cesium
|
||||
* Version 1.129
|
||||
*
|
||||
* Copyright 2011-2022 Cesium Contributors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
* Columbus View (Pat. Pend.)
|
||||
*
|
||||
* Portions licensed separately.
|
||||
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
||||
*/
|
||||
|
||||
import{a as G}from"./chunk-2SHIVLQV.js";import{a as z}from"./chunk-Q3VOOFSE.js";import{b as B}from"./chunk-KZM3XMI2.js";import{a as C}from"./chunk-JWULCKZP.js";import{b as L}from"./chunk-76AWMMRZ.js";import{a,b as D,d as I}from"./chunk-MGW7GK6C.js";import{a as S}from"./chunk-WFYQVCMU.js";import{a as x}from"./chunk-BOXFFUY5.js";import{e as T}from"./chunk-OVZZEY7C.js";var p={};p.numberOfPoints=function(r,n,o){let e=a.distance(r,n);return Math.ceil(e/o)};p.numberOfPointsRhumbLine=function(r,n,o){let e=Math.pow(r.longitude-n.longitude,2)+Math.pow(r.latitude-n.latitude,2);return Math.max(1,Math.ceil(Math.sqrt(e/(o*o))))};var Z=new D;p.extractHeights=function(r,n){let o=r.length,e=new Array(o);for(let t=0;t<o;t++){let l=r[t];e[t]=n.cartesianToCartographic(l,Z).height}return e};var Y=new L,V=new a,_=new a,F=new C(a.UNIT_X,0),v=new a,j=new C(a.UNIT_X,0),J=new a,K=new a,O=[];function U(r,n,o){let e=O;e.length=r;let t;if(n===o){for(t=0;t<r;t++)e[t]=n;return e}let u=(o-n)/r;for(t=0;t<r;t++){let d=n+t*u;e[t]=d}return e}var N=new D,E=new D,b=new a,k=new a,Q=new a,M=new G,R=new z;function W(r,n,o,e,t,l,u,d){let c=e.scaleToGeodeticSurface(r,k),w=e.scaleToGeodeticSurface(n,Q),h=p.numberOfPoints(r,n,o),f=e.cartesianToCartographic(c,N),y=e.cartesianToCartographic(w,E),g=U(h,t,l);M.setEndPoints(f,y);let P=M.surfaceDistance/h,i=d;f.height=t;let s=e.cartographicToCartesian(f,b);a.pack(s,u,i),i+=3;for(let m=1;m<h;m++){let A=M.interpolateUsingSurfaceDistance(m*P,E);A.height=g[m],s=e.cartographicToCartesian(A,b),a.pack(s,u,i),i+=3}return i}function $(r,n,o,e,t,l,u,d){let c=e.cartesianToCartographic(r,N),w=e.cartesianToCartographic(n,E),h=p.numberOfPointsRhumbLine(c,w,o);c.height=0,w.height=0;let f=U(h,t,l);R.ellipsoid.equals(e)||(R=new z(void 0,void 0,e)),R.setEndPoints(c,w);let y=R.surfaceDistance/h,g=d;c.height=t;let P=e.cartographicToCartesian(c,b);a.pack(P,u,g),g+=3;for(let i=1;i<h;i++){let s=R.interpolateUsingSurfaceDistance(i*y,E);s.height=f[i],P=e.cartographicToCartesian(s,b),a.pack(P,u,g),g+=3}return g}p.wrapLongitude=function(r,n){let o=[],e=[];if(T(r)&&r.length>0){n=n??L.IDENTITY;let t=L.inverseTransformation(n,Y),l=L.multiplyByPoint(t,a.ZERO,V),u=a.normalize(L.multiplyByPointAsVector(t,a.UNIT_Y,_),_),d=C.fromPointNormal(l,u,F),c=a.normalize(L.multiplyByPointAsVector(t,a.UNIT_X,v),v),w=C.fromPointNormal(l,c,j),h=1;o.push(a.clone(r[0]));let f=o[0],y=r.length;for(let g=1;g<y;++g){let P=r[g];if(C.getPointDistance(w,f)<0||C.getPointDistance(w,P)<0){let i=B.lineSegmentPlane(f,P,d,J);if(T(i)){let s=a.multiplyByScalar(u,5e-9,K);C.getPointDistance(d,f)<0&&a.negate(s,s),o.push(a.add(i,s,new a)),e.push(h+1),a.negate(s,s),o.push(a.add(i,s,new a)),h=1}}o.push(a.clone(r[g])),h++,f=P}e.push(h)}return{positions:o,lengths:e}};p.generateArc=function(r){T(r)||(r={});let n=r.positions;if(!T(n))throw new x("options.positions is required.");let o=n.length,e=r.ellipsoid??I.default,t=r.height??0,l=Array.isArray(t);if(o<1)return[];if(o===1){let i=e.scaleToGeodeticSurface(n[0],k);if(t=l?t[0]:t,t!==0){let s=e.geodeticSurfaceNormal(i,b);a.multiplyByScalar(s,t,s),a.add(i,s,i)}return[i.x,i.y,i.z]}let u=r.minDistance;if(!T(u)){let i=r.granularity??S.RADIANS_PER_DEGREE;u=S.chordLength(i,e.maximumRadius)}let d=0,c;for(c=0;c<o-1;c++)d+=p.numberOfPoints(n[c],n[c+1],u);let w=(d+1)*3,h=new Array(w),f=0;for(c=0;c<o-1;c++){let i=n[c],s=n[c+1],m=l?t[c]:t,A=l?t[c+1]:t;f=W(i,s,u,e,m,A,h,f)}O.length=0;let y=n[o-1],g=e.cartesianToCartographic(y,N);g.height=l?t[o-1]:t;let P=e.cartographicToCartesian(g,b);return a.pack(P,h,w-3),h};var H=new D,tt=new D;p.generateRhumbArc=function(r){T(r)||(r={});let n=r.positions;if(!T(n))throw new x("options.positions is required.");let o=n.length,e=r.ellipsoid??I.default,t=r.height??0,l=Array.isArray(t);if(o<1)return[];if(o===1){let m=e.scaleToGeodeticSurface(n[0],k);if(t=l?t[0]:t,t!==0){let A=e.geodeticSurfaceNormal(m,b);a.multiplyByScalar(A,t,A),a.add(m,A,m)}return[m.x,m.y,m.z]}let u=r.granularity??S.RADIANS_PER_DEGREE,d=0,c,w=e.cartesianToCartographic(n[0],H),h;for(c=0;c<o-1;c++)h=e.cartesianToCartographic(n[c+1],tt),d+=p.numberOfPointsRhumbLine(w,h,u),w=D.clone(h,H);let f=(d+1)*3,y=new Array(f),g=0;for(c=0;c<o-1;c++){let m=n[c],A=n[c+1],q=l?t[c]:t,X=l?t[c+1]:t;g=$(m,A,u,e,q,X,y,g)}O.length=0;let P=n[o-1],i=e.cartesianToCartographic(P,N);i.height=l?t[o-1]:t;let s=e.cartographicToCartesian(i,b);return a.pack(s,y,f-3),y};p.generateCartesianArc=function(r){let n=p.generateArc(r),o=n.length/3,e=new Array(o);for(let t=0;t<o;t++)e[t]=a.unpack(n,t*3);return e};p.generateCartesianRhumbArc=function(r){let n=p.generateRhumbArc(r),o=n.length/3,e=new Array(o);for(let t=0;t<o;t++)e[t]=a.unpack(n,t*3);return e};var gt=p;export{gt as a};
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user