@vcmap/ui 5.0.0-rc.30 → 5.0.0-rc.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/buildHelpers.js +4 -3
- package/config/base.config.json +5 -4
- package/config/dev.config.json +4 -0
- package/config/graphFeatureInfo.config.json +1 -1
- package/config/projects.config.json +2 -2
- package/dist/assets/cesium/ThirdParty/Workers/basis_transcoder.js +1 -1
- package/dist/assets/cesium/Workers/chunk-227AJNOA.js +59 -0
- package/dist/assets/cesium/Workers/chunk-2R5O53JW.js +157 -0
- package/dist/assets/cesium/Workers/chunk-34YUDLRP.js +781 -0
- package/dist/assets/cesium/Workers/chunk-3W63OHNJ.js +100 -0
- package/dist/assets/cesium/Workers/chunk-4MFFIWUA.js +163 -0
- package/dist/assets/cesium/Workers/chunk-66QLLS45.js +218 -0
- package/dist/assets/cesium/Workers/chunk-6BTKZDRG.js +77 -0
- package/dist/assets/cesium/Workers/chunk-A4JVFBQ3.js +101 -0
- package/dist/assets/cesium/Workers/chunk-ABADGKYE.js +58 -0
- package/dist/assets/cesium/Workers/chunk-AFFLIKOH.js +353 -0
- package/dist/assets/cesium/Workers/chunk-AHKEZ2OE.js +629 -0
- package/dist/assets/cesium/Workers/chunk-C3SXRKRW.js +476 -0
- package/dist/assets/cesium/Workers/chunk-CCFQRR6D.js +55 -0
- package/dist/assets/cesium/Workers/chunk-CHHNOC2C.js +1860 -0
- package/dist/assets/cesium/Workers/chunk-CTELOFLA.js +196 -0
- package/dist/assets/cesium/Workers/chunk-DUHWWBQQ.js +3273 -0
- package/dist/assets/cesium/Workers/chunk-EW2GWJYB.js +44 -0
- package/dist/assets/cesium/Workers/chunk-GLZBE3ML.js +421 -0
- package/dist/assets/cesium/Workers/chunk-HARLBUOL.js +236 -0
- package/dist/assets/cesium/Workers/chunk-HQF437NJ.js +117 -0
- package/dist/assets/cesium/Workers/chunk-IPA4EACJ.js +368 -0
- package/dist/assets/cesium/Workers/chunk-J3JY6I2C.js +1009 -0
- package/dist/assets/cesium/Workers/chunk-JB2LWGH4.js +390 -0
- package/dist/assets/cesium/Workers/chunk-JS3AW5BK.js +634 -0
- package/dist/assets/cesium/Workers/chunk-K36FEYS7.js +452 -0
- package/dist/assets/cesium/Workers/chunk-KD4Y7CZL.js +400 -0
- package/dist/assets/cesium/Workers/chunk-KTJSNCK4.js +842 -0
- package/dist/assets/cesium/Workers/chunk-LLUNNUJV.js +258 -0
- package/dist/assets/cesium/Workers/{package.js → chunk-MPAZH4BF.js} +13 -2
- package/dist/assets/cesium/Workers/chunk-MYZB7C4T.js +1258 -0
- package/dist/assets/cesium/Workers/chunk-N3JIFFX2.js +501 -0
- package/dist/assets/cesium/Workers/chunk-O5AMBQ36.js +430 -0
- package/dist/assets/cesium/Workers/chunk-OAVNIRB4.js +124 -0
- package/dist/assets/cesium/Workers/chunk-OYFCF4PL.js +171 -0
- package/dist/assets/cesium/Workers/chunk-OZJDGN5F.js +1477 -0
- package/dist/assets/cesium/Workers/chunk-PCJWUS4M.js +2041 -0
- package/dist/assets/cesium/Workers/chunk-PFQBCKBM.js +8644 -0
- package/dist/assets/cesium/Workers/chunk-QIKODV5G.js +305 -0
- package/dist/assets/cesium/Workers/chunk-QJ3DFBH3.js +73 -0
- package/dist/assets/cesium/Workers/chunk-QMEMZIJI.js +138 -0
- package/dist/assets/cesium/Workers/chunk-QT3MPEMI.js +102 -0
- package/dist/assets/cesium/Workers/chunk-RP2A7BR5.js +289 -0
- package/dist/assets/cesium/Workers/chunk-RW6LU2CJ.js +138 -0
- package/dist/assets/cesium/Workers/chunk-TFC6TZ3S.js +757 -0
- package/dist/assets/cesium/Workers/chunk-V3NGATMV.js +693 -0
- package/dist/assets/cesium/Workers/chunk-VLGOATD6.js +1075 -0
- package/dist/assets/cesium/Workers/chunk-WXTV4ATB.js +39 -0
- package/dist/assets/cesium/Workers/chunk-X4SU25DT.js +302 -0
- package/dist/assets/cesium/Workers/chunk-XTY7B2N6.js +2716 -0
- package/dist/assets/cesium/Workers/chunk-XY7MGBKC.js +513 -0
- package/dist/assets/cesium/Workers/chunk-Z24VKNDO.js +834 -0
- package/dist/assets/cesium/Workers/chunk-ZA25DG4Y.js +684 -0
- package/dist/assets/cesium/Workers/chunk-ZFOBYDGF.js +73 -0
- package/dist/assets/cesium/Workers/combineGeometry.js +65 -15
- package/dist/assets/cesium/Workers/createBoxGeometry.js +55 -10
- package/dist/assets/cesium/Workers/createBoxOutlineGeometry.js +231 -310
- package/dist/assets/cesium/Workers/createCircleGeometry.js +185 -202
- package/dist/assets/cesium/Workers/createCircleOutlineGeometry.js +141 -155
- package/dist/assets/cesium/Workers/createCoplanarPolygonGeometry.js +477 -557
- package/dist/assets/cesium/Workers/createCoplanarPolygonOutlineGeometry.js +218 -230
- package/dist/assets/cesium/Workers/createCorridorGeometry.js +1162 -1307
- package/dist/assets/cesium/Workers/createCorridorOutlineGeometry.js +533 -569
- package/dist/assets/cesium/Workers/createCylinderGeometry.js +57 -10
- package/dist/assets/cesium/Workers/createCylinderOutlineGeometry.js +224 -258
- package/dist/assets/cesium/Workers/createEllipseGeometry.js +68 -12
- package/dist/assets/cesium/Workers/createEllipseOutlineGeometry.js +61 -12
- package/dist/assets/cesium/Workers/createEllipsoidGeometry.js +56 -10
- package/dist/assets/cesium/Workers/createEllipsoidOutlineGeometry.js +58 -13
- package/dist/assets/cesium/Workers/createFrustumGeometry.js +55 -10
- package/dist/assets/cesium/Workers/createFrustumOutlineGeometry.js +226 -243
- package/dist/assets/cesium/Workers/createGeometry.js +143 -48
- package/dist/assets/cesium/Workers/createGroundPolylineGeometry.js +1484 -2011
- package/dist/assets/cesium/Workers/createPlaneGeometry.js +216 -243
- package/dist/assets/cesium/Workers/createPlaneOutlineGeometry.js +121 -113
- package/dist/assets/cesium/Workers/createPolygonGeometry.js +1041 -1327
- package/dist/assets/cesium/Workers/createPolygonOutlineGeometry.js +516 -657
- package/dist/assets/cesium/Workers/createPolylineGeometry.js +471 -547
- package/dist/assets/cesium/Workers/createPolylineVolumeGeometry.js +352 -384
- package/dist/assets/cesium/Workers/createPolylineVolumeOutlineGeometry.js +271 -295
- package/dist/assets/cesium/Workers/createRectangleGeometry.js +1128 -1331
- package/dist/assets/cesium/Workers/createRectangleOutlineGeometry.js +445 -500
- package/dist/assets/cesium/Workers/createSimplePolylineGeometry.js +381 -440
- package/dist/assets/cesium/Workers/createSphereGeometry.js +112 -118
- package/dist/assets/cesium/Workers/createSphereOutlineGeometry.js +112 -121
- package/dist/assets/cesium/Workers/createTaskProcessorWorker.js +32 -127
- package/dist/assets/cesium/Workers/createVectorTileClampedPolylines.js +462 -505
- package/dist/assets/cesium/Workers/createVectorTileGeometries.js +377 -436
- package/dist/assets/cesium/Workers/createVectorTilePoints.js +110 -77
- package/dist/assets/cesium/Workers/createVectorTilePolygons.js +369 -391
- package/dist/assets/cesium/Workers/createVectorTilePolylines.js +252 -244
- package/dist/assets/cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +543 -615
- package/dist/assets/cesium/Workers/createVerticesFromHeightmap.js +2244 -2677
- package/dist/assets/cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +682 -926
- package/dist/assets/cesium/Workers/createWallGeometry.js +459 -593
- package/dist/assets/cesium/Workers/createWallOutlineGeometry.js +324 -419
- package/dist/assets/cesium/Workers/decodeDraco.js +327 -347
- package/dist/assets/cesium/Workers/decodeGoogleEarthEnterprisePacket.js +2530 -3567
- package/dist/assets/cesium/Workers/decodeI3S.js +765 -970
- package/dist/assets/cesium/Workers/transcodeKTX2.js +3353 -1464
- package/dist/assets/cesium/Workers/transferTypedArrayTest.js +3 -4
- package/dist/assets/cesium/Workers/upsampleQuantizedTerrainMesh.js +748 -953
- package/dist/assets/{cesium.eaf7cc.js → cesium.77d0f7.js} +8915 -13165
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/{core.b16511.js → core.720589.js} +3421 -3365
- package/dist/assets/core.js +1 -1
- package/dist/assets/index-dd539204.js +1 -0
- package/dist/assets/{ol.4bbf0f.js → ol.e48649.js} +4 -4
- package/dist/assets/ol.js +1 -1
- package/dist/assets/{ui.ab815e.css → ui.50452a.css} +1 -1
- package/dist/assets/{ui.ab815e.js → ui.50452a.js} +4270 -4355
- package/dist/assets/ui.js +1 -1
- package/dist/assets/vue.js +2 -2
- package/dist/assets/{vuetify.ea3fa8.js → vuetify.f0a769.js} +1 -1
- package/dist/assets/vuetify.js +2 -2
- package/dist/index.html +27 -23
- package/index.html +23 -22
- package/package.json +5 -5
- package/plugins/@vcmap-show-case/plugin-editors/PluginEditors.vue +119 -0
- package/plugins/@vcmap-show-case/plugin-editors/index.js +41 -0
- package/plugins/@vcmap-show-case/plugin-editors/package.json +5 -0
- package/plugins/{@vcmap → @vcmap-show-case}/project-selector/ProjectSelectorComponent.vue +1 -1
- package/plugins/{@vcmap → @vcmap-show-case}/project-selector/config.json +2 -2
- package/plugins/{@vcmap → @vcmap-show-case}/project-selector/package.json +1 -1
- package/plugins/{@vcmap → @vcmap-show-case}/simple-graph/package.json +1 -1
- package/plugins/@vcmap-show-case/table-example/DataTableExample.vue +1 -1
- package/plugins/{@vcmap → @vcmap-show-case}/theme-changer/ThemeChangerComponent.vue +1 -1
- package/plugins/{@vcmap → @vcmap-show-case}/theme-changer/config.json +2 -2
- package/plugins/{@vcmap → @vcmap-show-case}/theme-changer/package.json +1 -1
- package/plugins/@vcmap-show-case/vector-properties-example/vectorPropertiesExample.vue +20 -1
- package/plugins/package.json +6 -2
- package/src/application/VcsAttributions.vue +27 -20
- package/src/components/form-inputs-controls/VcsChipArrayInput.vue +22 -14
- package/src/components/form-inputs-controls/VcsSlider.vue +1 -0
- package/src/components/icons/2DAreaIcon.vue +2 -17
- package/src/components/icons/2DDistanceIcon.vue +0 -3
- package/src/components/icons/3DAreaIcon.vue +2 -17
- package/src/components/icons/3DDistanceIcon.vue +0 -3
- package/src/components/icons/3DHeightIcon.vue +0 -3
- package/src/components/icons/AngleIcon.vue +0 -1
- package/src/components/icons/AssociationsIcon.vue +1 -3
- package/src/components/icons/AxisIcon.vue +0 -4
- package/src/components/icons/BoundingBoxIcon.vue +1 -4
- package/src/components/icons/CheckboxIcon.vue +0 -2
- package/src/components/icons/CheckboxIndeterminateIcon.vue +1 -5
- package/src/components/icons/CircleIcon.vue +1 -6
- package/src/components/icons/ClippingHorizontalIcon.vue +0 -1
- package/src/components/icons/ClippingIcon.vue +0 -1
- package/src/components/icons/ClippingVerticalIcon.vue +0 -1
- package/src/components/icons/ColorPickerIcon.vue +0 -1
- package/src/components/icons/ColorSwatchIcon.vue +0 -2
- package/src/components/icons/CommentIcon.vue +0 -1
- package/src/components/icons/CompassIcon.vue +0 -2
- package/src/components/icons/ComponentsIcon.vue +0 -1
- package/src/components/icons/ConeIcon.vue +1 -4
- package/src/components/icons/DimensionsHouseIcon.vue +0 -2
- package/src/components/icons/EditIcon.vue +0 -1
- package/src/components/icons/EditVerticesIcon.vue +0 -4
- package/src/components/icons/ElevationProfileIcon.vue +1 -13
- package/src/components/icons/ExportAreaIcon.vue +0 -1
- package/src/components/icons/ExportFlightIcon.vue +0 -1
- package/src/components/icons/ExportIcon.vue +12 -8
- package/src/components/icons/ExternalLinkIcon.vue +0 -2
- package/src/components/icons/FastForwardIcon.vue +0 -1
- package/src/components/icons/FilterIcon.vue +0 -1
- package/src/components/icons/GlobeNatureIcon.vue +0 -3
- package/src/components/icons/GroundIcon.vue +0 -1
- package/src/components/icons/HealthCareIndustriesIcon.vue +1 -11
- package/src/components/icons/HideIcon.vue +0 -1
- package/src/components/icons/HomePointIcon.vue +0 -1
- package/src/components/icons/HospitalsIcon.vue +1 -20
- package/src/components/icons/HouseIcon.vue +3 -13
- package/src/components/icons/ImportIcon.vue +6 -14
- package/src/components/icons/InfoIcon.vue +0 -2
- package/src/components/icons/KebabIcon.vue +1 -9
- package/src/components/icons/LabelIcon.vue +0 -2
- package/src/components/icons/LayersIcon.vue +1 -9
- package/src/components/icons/LegendIcon.vue +0 -1
- package/src/components/icons/LineIcon.vue +0 -2
- package/src/components/icons/LinkIcon.vue +0 -1
- package/src/components/icons/LogoutIcon.vue +0 -1
- package/src/components/icons/MapIcon.vue +0 -2
- package/src/components/icons/MenuIcon.vue +1 -5
- package/src/components/icons/MinusIcon.vue +0 -2
- package/src/components/icons/ObjectSelectIcon.vue +0 -2
- package/src/components/icons/ObliqueViewIcon.vue +0 -1
- package/src/components/icons/PdfIcon.vue +0 -1
- package/src/components/icons/PedestrianIcon.vue +0 -1
- package/src/components/icons/PenIcon.vue +0 -1
- package/src/components/icons/PlayCircleIcon.vue +1 -8
- package/src/components/icons/PlusIcon.vue +0 -2
- package/src/components/icons/PoiIcon.vue +0 -1
- package/src/components/icons/PointIcon.vue +2 -6
- package/src/components/icons/PointSelectIcon.vue +0 -1
- package/src/components/icons/PresentationModeIcon.vue +0 -1
- package/src/components/icons/ProgressIcon.vue +1 -1
- package/src/components/icons/QueryIcon.vue +0 -1
- package/src/components/icons/RectangleIcon.vue +1 -6
- package/src/components/icons/ReturnIcon.vue +0 -1
- package/src/components/icons/RewindIcon.vue +0 -1
- package/src/components/icons/RotateLeftIcon.vue +0 -1
- package/src/components/icons/RotateRightIcon.vue +0 -1
- package/src/components/icons/ScreenshotIcon.vue +1 -6
- package/src/components/icons/SearchIcon.vue +0 -1
- package/src/components/icons/ShadowIcon.vue +0 -2
- package/src/components/icons/ShapesIcon.vue +1 -4
- package/src/components/icons/ShareIcon.vue +0 -1
- package/src/components/icons/SimpleCircleFilledIcon.vue +0 -1
- package/src/components/icons/SimpleCircleHalfFilledIcon.vue +0 -1
- package/src/components/icons/SimpleCircleOutlinedIcon.vue +1 -7
- package/src/components/icons/SkipPreviousIcon.vue +1 -6
- package/src/components/icons/SplitViewIcon.vue +0 -1
- package/src/components/icons/TextStyleIcon.vue +0 -3
- package/src/components/icons/ThreeDimensionsIcon.vue +0 -1
- package/src/components/icons/ToolsIcon.vue +0 -1
- package/src/components/icons/TouchIcon.vue +0 -1
- package/src/components/icons/TriangleIcon.vue +0 -3
- package/src/components/icons/TwoDimensionsIcon.vue +0 -2
- package/src/components/icons/UploadIcon.vue +0 -1
- package/src/components/icons/UserProfileIcon.vue +0 -1
- package/src/components/icons/UserShareIcon.vue +0 -1
- package/src/components/icons/ViewpointFlightIcon.vue +0 -1
- package/src/components/icons/ViewpointIcon.vue +0 -1
- package/src/components/icons/Viewshed360Icon.vue +0 -1
- package/src/components/icons/ViewshedConeIcon.vue +0 -1
- package/src/components/icons/ViewshedIcon.vue +0 -1
- package/src/components/icons/WalkingIcon.vue +0 -1
- package/src/components/icons/WallIcon.vue +1 -4
- package/src/components/icons/WandIcon.vue +22 -70
- package/src/components/lists/VcsList.vue +18 -12
- package/src/components/plugins/AbstractConfigEditor.vue +2 -2
- package/src/components/tables/VcsDataTable.vue +1 -1
- package/src/components/vector-properties/VcsVectorPropertiesComponent.vue +57 -14
- package/src/contentTree/contentTreeCollection.js +30 -9
- package/src/i18n/de.js +8 -5
- package/src/i18n/en.js +8 -5
- package/src/i18n/i18nCollection.js +19 -65
- package/src/manager/buttonManager.js +4 -0
- package/src/manager/contextMenu/contextMenuManager.js +2 -0
- package/src/pluginHelper.js +2 -2
- package/src/vcsUiApp.js +9 -4
- package/src/vuePlugins/i18n.js +0 -8
- package/dist/assets/cesium/ThirdParty/Workers/draco_decoder_nodejs.js +0 -117
- package/dist/assets/cesium/Workers/ArcType-2d9abbbc.js +0 -37
- package/dist/assets/cesium/Workers/AttributeCompression-f9f6c717.js +0 -716
- package/dist/assets/cesium/Workers/AxisAlignedBoundingBox-4140c51f.js +0 -258
- package/dist/assets/cesium/Workers/BoundingRectangle-c714b156.js +0 -369
- package/dist/assets/cesium/Workers/BoxGeometry-6f3da43d.js +0 -884
- package/dist/assets/cesium/Workers/Check-6ede7e26.js +0 -290
- package/dist/assets/cesium/Workers/Color-8a565ff2.js +0 -2262
- package/dist/assets/cesium/Workers/ComponentDatatype-cf1fa08e.js +0 -341
- package/dist/assets/cesium/Workers/CoplanarPolygonGeometryLibrary-4b4d4096.js +0 -132
- package/dist/assets/cesium/Workers/CorridorGeometryLibrary-7b94502b.js +0 -498
- package/dist/assets/cesium/Workers/CylinderGeometry-ca070b87.js +0 -467
- package/dist/assets/cesium/Workers/CylinderGeometryLibrary-7bf291b4.js +0 -63
- package/dist/assets/cesium/Workers/EllipseGeometry-122e51fa.js +0 -1304
- package/dist/assets/cesium/Workers/EllipseGeometryLibrary-4d326efc.js +0 -366
- package/dist/assets/cesium/Workers/EllipseOutlineGeometry-16cc2bd7.js +0 -443
- package/dist/assets/cesium/Workers/EllipsoidGeodesic-5b3623dc.js +0 -520
- package/dist/assets/cesium/Workers/EllipsoidGeometry-cb148ca2.js +0 -637
- package/dist/assets/cesium/Workers/EllipsoidOutlineGeometry-0fa10c79.js +0 -454
- package/dist/assets/cesium/Workers/EllipsoidRhumbLine-ef872433.js +0 -741
- package/dist/assets/cesium/Workers/EllipsoidTangentPlane-6dd1b7af.js +0 -373
- package/dist/assets/cesium/Workers/EncodedCartesian3-57415c8a.js +0 -171
- package/dist/assets/cesium/Workers/FrustumGeometry-ee73037c.js +0 -2540
- package/dist/assets/cesium/Workers/GeometryAttribute-ff5b4fb1.js +0 -619
- package/dist/assets/cesium/Workers/GeometryAttributes-ad136444.js +0 -91
- package/dist/assets/cesium/Workers/GeometryInstance-34d9e21e.js +0 -121
- package/dist/assets/cesium/Workers/GeometryOffsetAttribute-9ad0019c.js +0 -16
- package/dist/assets/cesium/Workers/GeometryPipeline-1f8fbf05.js +0 -3690
- package/dist/assets/cesium/Workers/IndexDatatype-2643aa47.js +0 -200
- package/dist/assets/cesium/Workers/IntersectionTests-70d39ba9.js +0 -1836
- package/dist/assets/cesium/Workers/Math-0a2ac845.js +0 -1340
- package/dist/assets/cesium/Workers/Matrix2-e1298525.js +0 -7086
- package/dist/assets/cesium/Workers/Matrix3-41c58dde.js +0 -4283
- package/dist/assets/cesium/Workers/OrientedBoundingBox-159cf1d6.js +0 -1259
- package/dist/assets/cesium/Workers/Plane-4c3d403b.js +0 -309
- package/dist/assets/cesium/Workers/PolygonGeometryLibrary-076a5d25.js +0 -1074
- package/dist/assets/cesium/Workers/PolygonPipeline-b9f2810a.js +0 -1344
- package/dist/assets/cesium/Workers/PolylinePipeline-639192e0.js +0 -573
- package/dist/assets/cesium/Workers/PolylineVolumeGeometryLibrary-b73549fb.js +0 -781
- package/dist/assets/cesium/Workers/PrimitivePipeline-10ede1b6.js +0 -966
- package/dist/assets/cesium/Workers/RectangleGeometryLibrary-c35a7356.js +0 -280
- package/dist/assets/cesium/Workers/RuntimeError-ef395448.js +0 -68
- package/dist/assets/cesium/Workers/TerrainEncoding-668d242f.js +0 -1227
- package/dist/assets/cesium/Workers/Transforms-a2a85221.js +0 -14712
- package/dist/assets/cesium/Workers/VertexFormat-030f11ff.js +0 -312
- package/dist/assets/cesium/Workers/WallGeometryLibrary-1938bf0d.js +0 -211
- package/dist/assets/cesium/Workers/WebGLConstants-0b1ce7ba.js +0 -620
- package/dist/assets/cesium/Workers/WebMercatorProjection-13ed1a6e.js +0 -151
- package/dist/assets/cesium/Workers/arrayRemoveDuplicates-d2061e85.js +0 -129
- package/dist/assets/cesium/Workers/cesiumWorkerBootstrapper.js +0 -1363
- package/dist/assets/cesium/Workers/combine-d9581036.js +0 -82
- package/dist/assets/cesium/Workers/defaultValue-fe22d8c0.js +0 -51
- package/dist/assets/index-c115e3a1.js +0 -1
- package/plugins/@vcmap/create-link/fallbackCreateLink.vue +0 -76
- package/plugins/@vcmap/create-link/index.js +0 -95
- package/plugins/@vcmap/create-link/package.json +0 -6
- package/plugins/@vcmap/search-nominatim/LICENSE.md +0 -13
- package/plugins/@vcmap/search-nominatim/README.md +0 -3
- package/plugins/@vcmap/search-nominatim/SearchNominatimEditor.vue +0 -90
- package/plugins/@vcmap/search-nominatim/config.json +0 -3
- package/plugins/@vcmap/search-nominatim/index.js +0 -66
- package/plugins/@vcmap/search-nominatim/nominatim.js +0 -175
- package/plugins/@vcmap/search-nominatim/package.json +0 -9
- /package/dist/assets/{vue.67e80f.js → vue.5d696e.js} +0 -0
- /package/dist/assets/{vuetify.ea3fa8.css → vuetify.f0a769.css} +0 -0
- /package/plugins/{@vcmap → @vcmap-show-case}/project-selector/ModulesListComponent.vue +0 -0
- /package/plugins/{@vcmap → @vcmap-show-case}/project-selector/README.md +0 -0
- /package/plugins/{@vcmap → @vcmap-show-case}/project-selector/de.json +0 -0
- /package/plugins/{@vcmap → @vcmap-show-case}/project-selector/en.json +0 -0
- /package/plugins/{@vcmap → @vcmap-show-case}/project-selector/index.js +0 -0
- /package/plugins/{@vcmap → @vcmap-show-case}/simple-graph/README.md +0 -0
- /package/plugins/{@vcmap → @vcmap-show-case}/simple-graph/SimpleGraphComponent.vue +0 -0
- /package/plugins/{@vcmap → @vcmap-show-case}/simple-graph/index.js +0 -0
- /package/plugins/{@vcmap → @vcmap-show-case}/simple-graph/simpleGraphView.js +0 -0
- /package/plugins/{@vcmap → @vcmap-show-case}/theme-changer/README.md +0 -0
- /package/plugins/{@vcmap → @vcmap-show-case}/theme-changer/index.js +0 -0
@@ -1,341 +0,0 @@
|
|
1
|
-
define(['exports', './defaultValue-fe22d8c0', './Check-6ede7e26', './WebGLConstants-0b1ce7ba'], (function (exports, defaultValue, Check, WebGLConstants) { 'use strict';
|
2
|
-
|
3
|
-
/**
|
4
|
-
* WebGL component datatypes. Components are intrinsics,
|
5
|
-
* which form attributes, which form vertices.
|
6
|
-
*
|
7
|
-
* @enum {number}
|
8
|
-
*/
|
9
|
-
const ComponentDatatype = {
|
10
|
-
/**
|
11
|
-
* 8-bit signed byte corresponding to <code>gl.BYTE</code> and the type
|
12
|
-
* of an element in <code>Int8Array</code>.
|
13
|
-
*
|
14
|
-
* @type {number}
|
15
|
-
* @constant
|
16
|
-
*/
|
17
|
-
BYTE: WebGLConstants.WebGLConstants.BYTE,
|
18
|
-
|
19
|
-
/**
|
20
|
-
* 8-bit unsigned byte corresponding to <code>UNSIGNED_BYTE</code> and the type
|
21
|
-
* of an element in <code>Uint8Array</code>.
|
22
|
-
*
|
23
|
-
* @type {number}
|
24
|
-
* @constant
|
25
|
-
*/
|
26
|
-
UNSIGNED_BYTE: WebGLConstants.WebGLConstants.UNSIGNED_BYTE,
|
27
|
-
|
28
|
-
/**
|
29
|
-
* 16-bit signed short corresponding to <code>SHORT</code> and the type
|
30
|
-
* of an element in <code>Int16Array</code>.
|
31
|
-
*
|
32
|
-
* @type {number}
|
33
|
-
* @constant
|
34
|
-
*/
|
35
|
-
SHORT: WebGLConstants.WebGLConstants.SHORT,
|
36
|
-
|
37
|
-
/**
|
38
|
-
* 16-bit unsigned short corresponding to <code>UNSIGNED_SHORT</code> and the type
|
39
|
-
* of an element in <code>Uint16Array</code>.
|
40
|
-
*
|
41
|
-
* @type {number}
|
42
|
-
* @constant
|
43
|
-
*/
|
44
|
-
UNSIGNED_SHORT: WebGLConstants.WebGLConstants.UNSIGNED_SHORT,
|
45
|
-
|
46
|
-
/**
|
47
|
-
* 32-bit signed int corresponding to <code>INT</code> and the type
|
48
|
-
* of an element in <code>Int32Array</code>.
|
49
|
-
*
|
50
|
-
* @memberOf ComponentDatatype
|
51
|
-
*
|
52
|
-
* @type {number}
|
53
|
-
* @constant
|
54
|
-
*/
|
55
|
-
INT: WebGLConstants.WebGLConstants.INT,
|
56
|
-
|
57
|
-
/**
|
58
|
-
* 32-bit unsigned int corresponding to <code>UNSIGNED_INT</code> and the type
|
59
|
-
* of an element in <code>Uint32Array</code>.
|
60
|
-
*
|
61
|
-
* @memberOf ComponentDatatype
|
62
|
-
*
|
63
|
-
* @type {number}
|
64
|
-
* @constant
|
65
|
-
*/
|
66
|
-
UNSIGNED_INT: WebGLConstants.WebGLConstants.UNSIGNED_INT,
|
67
|
-
|
68
|
-
/**
|
69
|
-
* 32-bit floating-point corresponding to <code>FLOAT</code> and the type
|
70
|
-
* of an element in <code>Float32Array</code>.
|
71
|
-
*
|
72
|
-
* @type {number}
|
73
|
-
* @constant
|
74
|
-
*/
|
75
|
-
FLOAT: WebGLConstants.WebGLConstants.FLOAT,
|
76
|
-
|
77
|
-
/**
|
78
|
-
* 64-bit floating-point corresponding to <code>gl.DOUBLE</code> (in Desktop OpenGL;
|
79
|
-
* this is not supported in WebGL, and is emulated in Cesium via {@link GeometryPipeline.encodeAttribute})
|
80
|
-
* and the type of an element in <code>Float64Array</code>.
|
81
|
-
*
|
82
|
-
* @memberOf ComponentDatatype
|
83
|
-
*
|
84
|
-
* @type {number}
|
85
|
-
* @constant
|
86
|
-
* @default 0x140A
|
87
|
-
*/
|
88
|
-
DOUBLE: WebGLConstants.WebGLConstants.DOUBLE,
|
89
|
-
};
|
90
|
-
|
91
|
-
/**
|
92
|
-
* Returns the size, in bytes, of the corresponding datatype.
|
93
|
-
*
|
94
|
-
* @param {ComponentDatatype} componentDatatype The component datatype to get the size of.
|
95
|
-
* @returns {number} The size in bytes.
|
96
|
-
*
|
97
|
-
* @exception {DeveloperError} componentDatatype is not a valid value.
|
98
|
-
*
|
99
|
-
* @example
|
100
|
-
* // Returns Int8Array.BYTES_PER_ELEMENT
|
101
|
-
* const size = Cesium.ComponentDatatype.getSizeInBytes(Cesium.ComponentDatatype.BYTE);
|
102
|
-
*/
|
103
|
-
ComponentDatatype.getSizeInBytes = function (componentDatatype) {
|
104
|
-
//>>includeStart('debug', pragmas.debug);
|
105
|
-
if (!defaultValue.defined(componentDatatype)) {
|
106
|
-
throw new Check.DeveloperError("value is required.");
|
107
|
-
}
|
108
|
-
//>>includeEnd('debug');
|
109
|
-
|
110
|
-
switch (componentDatatype) {
|
111
|
-
case ComponentDatatype.BYTE:
|
112
|
-
return Int8Array.BYTES_PER_ELEMENT;
|
113
|
-
case ComponentDatatype.UNSIGNED_BYTE:
|
114
|
-
return Uint8Array.BYTES_PER_ELEMENT;
|
115
|
-
case ComponentDatatype.SHORT:
|
116
|
-
return Int16Array.BYTES_PER_ELEMENT;
|
117
|
-
case ComponentDatatype.UNSIGNED_SHORT:
|
118
|
-
return Uint16Array.BYTES_PER_ELEMENT;
|
119
|
-
case ComponentDatatype.INT:
|
120
|
-
return Int32Array.BYTES_PER_ELEMENT;
|
121
|
-
case ComponentDatatype.UNSIGNED_INT:
|
122
|
-
return Uint32Array.BYTES_PER_ELEMENT;
|
123
|
-
case ComponentDatatype.FLOAT:
|
124
|
-
return Float32Array.BYTES_PER_ELEMENT;
|
125
|
-
case ComponentDatatype.DOUBLE:
|
126
|
-
return Float64Array.BYTES_PER_ELEMENT;
|
127
|
-
//>>includeStart('debug', pragmas.debug);
|
128
|
-
default:
|
129
|
-
throw new Check.DeveloperError("componentDatatype is not a valid value.");
|
130
|
-
//>>includeEnd('debug');
|
131
|
-
}
|
132
|
-
};
|
133
|
-
|
134
|
-
/**
|
135
|
-
* Gets the {@link ComponentDatatype} for the provided TypedArray instance.
|
136
|
-
*
|
137
|
-
* @param {Int8Array|Uint8Array|Int16Array|Uint16Array|Int32Array|Uint32Array|Float32Array|Float64Array} array The typed array.
|
138
|
-
* @returns {ComponentDatatype} The ComponentDatatype for the provided array, or undefined if the array is not a TypedArray.
|
139
|
-
*/
|
140
|
-
ComponentDatatype.fromTypedArray = function (array) {
|
141
|
-
if (array instanceof Int8Array) {
|
142
|
-
return ComponentDatatype.BYTE;
|
143
|
-
}
|
144
|
-
if (array instanceof Uint8Array) {
|
145
|
-
return ComponentDatatype.UNSIGNED_BYTE;
|
146
|
-
}
|
147
|
-
if (array instanceof Int16Array) {
|
148
|
-
return ComponentDatatype.SHORT;
|
149
|
-
}
|
150
|
-
if (array instanceof Uint16Array) {
|
151
|
-
return ComponentDatatype.UNSIGNED_SHORT;
|
152
|
-
}
|
153
|
-
if (array instanceof Int32Array) {
|
154
|
-
return ComponentDatatype.INT;
|
155
|
-
}
|
156
|
-
if (array instanceof Uint32Array) {
|
157
|
-
return ComponentDatatype.UNSIGNED_INT;
|
158
|
-
}
|
159
|
-
if (array instanceof Float32Array) {
|
160
|
-
return ComponentDatatype.FLOAT;
|
161
|
-
}
|
162
|
-
if (array instanceof Float64Array) {
|
163
|
-
return ComponentDatatype.DOUBLE;
|
164
|
-
}
|
165
|
-
|
166
|
-
//>>includeStart('debug', pragmas.debug);
|
167
|
-
throw new Check.DeveloperError(
|
168
|
-
"array must be an Int8Array, Uint8Array, Int16Array, Uint16Array, Int32Array, Uint32Array, Float32Array, or Float64Array."
|
169
|
-
);
|
170
|
-
//>>includeEnd('debug');
|
171
|
-
};
|
172
|
-
|
173
|
-
/**
|
174
|
-
* Validates that the provided component datatype is a valid {@link ComponentDatatype}
|
175
|
-
*
|
176
|
-
* @param {ComponentDatatype} componentDatatype The component datatype to validate.
|
177
|
-
* @returns {boolean} <code>true</code> if the provided component datatype is a valid value; otherwise, <code>false</code>.
|
178
|
-
*
|
179
|
-
* @example
|
180
|
-
* if (!Cesium.ComponentDatatype.validate(componentDatatype)) {
|
181
|
-
* throw new Cesium.DeveloperError('componentDatatype must be a valid value.');
|
182
|
-
* }
|
183
|
-
*/
|
184
|
-
ComponentDatatype.validate = function (componentDatatype) {
|
185
|
-
return (
|
186
|
-
defaultValue.defined(componentDatatype) &&
|
187
|
-
(componentDatatype === ComponentDatatype.BYTE ||
|
188
|
-
componentDatatype === ComponentDatatype.UNSIGNED_BYTE ||
|
189
|
-
componentDatatype === ComponentDatatype.SHORT ||
|
190
|
-
componentDatatype === ComponentDatatype.UNSIGNED_SHORT ||
|
191
|
-
componentDatatype === ComponentDatatype.INT ||
|
192
|
-
componentDatatype === ComponentDatatype.UNSIGNED_INT ||
|
193
|
-
componentDatatype === ComponentDatatype.FLOAT ||
|
194
|
-
componentDatatype === ComponentDatatype.DOUBLE)
|
195
|
-
);
|
196
|
-
};
|
197
|
-
|
198
|
-
/**
|
199
|
-
* Creates a typed array corresponding to component data type.
|
200
|
-
*
|
201
|
-
* @param {ComponentDatatype} componentDatatype The component data type.
|
202
|
-
* @param {number|Array} valuesOrLength The length of the array to create or an array.
|
203
|
-
* @returns {Int8Array|Uint8Array|Int16Array|Uint16Array|Int32Array|Uint32Array|Float32Array|Float64Array} A typed array.
|
204
|
-
*
|
205
|
-
* @exception {DeveloperError} componentDatatype is not a valid value.
|
206
|
-
*
|
207
|
-
* @example
|
208
|
-
* // creates a Float32Array with length of 100
|
209
|
-
* const typedArray = Cesium.ComponentDatatype.createTypedArray(Cesium.ComponentDatatype.FLOAT, 100);
|
210
|
-
*/
|
211
|
-
ComponentDatatype.createTypedArray = function (
|
212
|
-
componentDatatype,
|
213
|
-
valuesOrLength
|
214
|
-
) {
|
215
|
-
//>>includeStart('debug', pragmas.debug);
|
216
|
-
if (!defaultValue.defined(componentDatatype)) {
|
217
|
-
throw new Check.DeveloperError("componentDatatype is required.");
|
218
|
-
}
|
219
|
-
if (!defaultValue.defined(valuesOrLength)) {
|
220
|
-
throw new Check.DeveloperError("valuesOrLength is required.");
|
221
|
-
}
|
222
|
-
//>>includeEnd('debug');
|
223
|
-
|
224
|
-
switch (componentDatatype) {
|
225
|
-
case ComponentDatatype.BYTE:
|
226
|
-
return new Int8Array(valuesOrLength);
|
227
|
-
case ComponentDatatype.UNSIGNED_BYTE:
|
228
|
-
return new Uint8Array(valuesOrLength);
|
229
|
-
case ComponentDatatype.SHORT:
|
230
|
-
return new Int16Array(valuesOrLength);
|
231
|
-
case ComponentDatatype.UNSIGNED_SHORT:
|
232
|
-
return new Uint16Array(valuesOrLength);
|
233
|
-
case ComponentDatatype.INT:
|
234
|
-
return new Int32Array(valuesOrLength);
|
235
|
-
case ComponentDatatype.UNSIGNED_INT:
|
236
|
-
return new Uint32Array(valuesOrLength);
|
237
|
-
case ComponentDatatype.FLOAT:
|
238
|
-
return new Float32Array(valuesOrLength);
|
239
|
-
case ComponentDatatype.DOUBLE:
|
240
|
-
return new Float64Array(valuesOrLength);
|
241
|
-
//>>includeStart('debug', pragmas.debug);
|
242
|
-
default:
|
243
|
-
throw new Check.DeveloperError("componentDatatype is not a valid value.");
|
244
|
-
//>>includeEnd('debug');
|
245
|
-
}
|
246
|
-
};
|
247
|
-
|
248
|
-
/**
|
249
|
-
* Creates a typed view of an array of bytes.
|
250
|
-
*
|
251
|
-
* @param {ComponentDatatype} componentDatatype The type of the view to create.
|
252
|
-
* @param {ArrayBuffer} buffer The buffer storage to use for the view.
|
253
|
-
* @param {number} [byteOffset] The offset, in bytes, to the first element in the view.
|
254
|
-
* @param {number} [length] The number of elements in the view.
|
255
|
-
* @returns {Int8Array|Uint8Array|Int16Array|Uint16Array|Int32Array|Uint32Array|Float32Array|Float64Array} A typed array view of the buffer.
|
256
|
-
*
|
257
|
-
* @exception {DeveloperError} componentDatatype is not a valid value.
|
258
|
-
*/
|
259
|
-
ComponentDatatype.createArrayBufferView = function (
|
260
|
-
componentDatatype,
|
261
|
-
buffer,
|
262
|
-
byteOffset,
|
263
|
-
length
|
264
|
-
) {
|
265
|
-
//>>includeStart('debug', pragmas.debug);
|
266
|
-
if (!defaultValue.defined(componentDatatype)) {
|
267
|
-
throw new Check.DeveloperError("componentDatatype is required.");
|
268
|
-
}
|
269
|
-
if (!defaultValue.defined(buffer)) {
|
270
|
-
throw new Check.DeveloperError("buffer is required.");
|
271
|
-
}
|
272
|
-
//>>includeEnd('debug');
|
273
|
-
|
274
|
-
byteOffset = defaultValue.defaultValue(byteOffset, 0);
|
275
|
-
length = defaultValue.defaultValue(
|
276
|
-
length,
|
277
|
-
(buffer.byteLength - byteOffset) /
|
278
|
-
ComponentDatatype.getSizeInBytes(componentDatatype)
|
279
|
-
);
|
280
|
-
|
281
|
-
switch (componentDatatype) {
|
282
|
-
case ComponentDatatype.BYTE:
|
283
|
-
return new Int8Array(buffer, byteOffset, length);
|
284
|
-
case ComponentDatatype.UNSIGNED_BYTE:
|
285
|
-
return new Uint8Array(buffer, byteOffset, length);
|
286
|
-
case ComponentDatatype.SHORT:
|
287
|
-
return new Int16Array(buffer, byteOffset, length);
|
288
|
-
case ComponentDatatype.UNSIGNED_SHORT:
|
289
|
-
return new Uint16Array(buffer, byteOffset, length);
|
290
|
-
case ComponentDatatype.INT:
|
291
|
-
return new Int32Array(buffer, byteOffset, length);
|
292
|
-
case ComponentDatatype.UNSIGNED_INT:
|
293
|
-
return new Uint32Array(buffer, byteOffset, length);
|
294
|
-
case ComponentDatatype.FLOAT:
|
295
|
-
return new Float32Array(buffer, byteOffset, length);
|
296
|
-
case ComponentDatatype.DOUBLE:
|
297
|
-
return new Float64Array(buffer, byteOffset, length);
|
298
|
-
//>>includeStart('debug', pragmas.debug);
|
299
|
-
default:
|
300
|
-
throw new Check.DeveloperError("componentDatatype is not a valid value.");
|
301
|
-
//>>includeEnd('debug');
|
302
|
-
}
|
303
|
-
};
|
304
|
-
|
305
|
-
/**
|
306
|
-
* Get the ComponentDatatype from its name.
|
307
|
-
*
|
308
|
-
* @param {string} name The name of the ComponentDatatype.
|
309
|
-
* @returns {ComponentDatatype} The ComponentDatatype.
|
310
|
-
*
|
311
|
-
* @exception {DeveloperError} name is not a valid value.
|
312
|
-
*/
|
313
|
-
ComponentDatatype.fromName = function (name) {
|
314
|
-
switch (name) {
|
315
|
-
case "BYTE":
|
316
|
-
return ComponentDatatype.BYTE;
|
317
|
-
case "UNSIGNED_BYTE":
|
318
|
-
return ComponentDatatype.UNSIGNED_BYTE;
|
319
|
-
case "SHORT":
|
320
|
-
return ComponentDatatype.SHORT;
|
321
|
-
case "UNSIGNED_SHORT":
|
322
|
-
return ComponentDatatype.UNSIGNED_SHORT;
|
323
|
-
case "INT":
|
324
|
-
return ComponentDatatype.INT;
|
325
|
-
case "UNSIGNED_INT":
|
326
|
-
return ComponentDatatype.UNSIGNED_INT;
|
327
|
-
case "FLOAT":
|
328
|
-
return ComponentDatatype.FLOAT;
|
329
|
-
case "DOUBLE":
|
330
|
-
return ComponentDatatype.DOUBLE;
|
331
|
-
//>>includeStart('debug', pragmas.debug);
|
332
|
-
default:
|
333
|
-
throw new Check.DeveloperError("name is not a valid value.");
|
334
|
-
//>>includeEnd('debug');
|
335
|
-
}
|
336
|
-
};
|
337
|
-
var ComponentDatatype$1 = Object.freeze(ComponentDatatype);
|
338
|
-
|
339
|
-
exports.ComponentDatatype = ComponentDatatype$1;
|
340
|
-
|
341
|
-
}));
|
@@ -1,132 +0,0 @@
|
|
1
|
-
define(['exports', './Matrix2-e1298525', './Matrix3-41c58dde', './Check-6ede7e26', './OrientedBoundingBox-159cf1d6'], (function (exports, Matrix2, Matrix3, Check, OrientedBoundingBox) { 'use strict';
|
2
|
-
|
3
|
-
/**
|
4
|
-
* @private
|
5
|
-
*/
|
6
|
-
const CoplanarPolygonGeometryLibrary = {};
|
7
|
-
|
8
|
-
const scratchIntersectionPoint = new Matrix3.Cartesian3();
|
9
|
-
const scratchXAxis = new Matrix3.Cartesian3();
|
10
|
-
const scratchYAxis = new Matrix3.Cartesian3();
|
11
|
-
const scratchZAxis = new Matrix3.Cartesian3();
|
12
|
-
const obbScratch = new OrientedBoundingBox.OrientedBoundingBox();
|
13
|
-
|
14
|
-
CoplanarPolygonGeometryLibrary.validOutline = function (positions) {
|
15
|
-
//>>includeStart('debug', pragmas.debug);
|
16
|
-
Check.Check.defined("positions", positions);
|
17
|
-
//>>includeEnd('debug');
|
18
|
-
|
19
|
-
const orientedBoundingBox = OrientedBoundingBox.OrientedBoundingBox.fromPoints(
|
20
|
-
positions,
|
21
|
-
obbScratch
|
22
|
-
);
|
23
|
-
const halfAxes = orientedBoundingBox.halfAxes;
|
24
|
-
const xAxis = Matrix3.Matrix3.getColumn(halfAxes, 0, scratchXAxis);
|
25
|
-
const yAxis = Matrix3.Matrix3.getColumn(halfAxes, 1, scratchYAxis);
|
26
|
-
const zAxis = Matrix3.Matrix3.getColumn(halfAxes, 2, scratchZAxis);
|
27
|
-
|
28
|
-
const xMag = Matrix3.Cartesian3.magnitude(xAxis);
|
29
|
-
const yMag = Matrix3.Cartesian3.magnitude(yAxis);
|
30
|
-
const zMag = Matrix3.Cartesian3.magnitude(zAxis);
|
31
|
-
|
32
|
-
// If all the points are on a line return undefined because we can't draw a polygon
|
33
|
-
return !(
|
34
|
-
(xMag === 0 && (yMag === 0 || zMag === 0)) ||
|
35
|
-
(yMag === 0 && zMag === 0)
|
36
|
-
);
|
37
|
-
};
|
38
|
-
|
39
|
-
// call after removeDuplicates
|
40
|
-
CoplanarPolygonGeometryLibrary.computeProjectTo2DArguments = function (
|
41
|
-
positions,
|
42
|
-
centerResult,
|
43
|
-
planeAxis1Result,
|
44
|
-
planeAxis2Result
|
45
|
-
) {
|
46
|
-
//>>includeStart('debug', pragmas.debug);
|
47
|
-
Check.Check.defined("positions", positions);
|
48
|
-
Check.Check.defined("centerResult", centerResult);
|
49
|
-
Check.Check.defined("planeAxis1Result", planeAxis1Result);
|
50
|
-
Check.Check.defined("planeAxis2Result", planeAxis2Result);
|
51
|
-
//>>includeEnd('debug');
|
52
|
-
|
53
|
-
const orientedBoundingBox = OrientedBoundingBox.OrientedBoundingBox.fromPoints(
|
54
|
-
positions,
|
55
|
-
obbScratch
|
56
|
-
);
|
57
|
-
const halfAxes = orientedBoundingBox.halfAxes;
|
58
|
-
const xAxis = Matrix3.Matrix3.getColumn(halfAxes, 0, scratchXAxis);
|
59
|
-
const yAxis = Matrix3.Matrix3.getColumn(halfAxes, 1, scratchYAxis);
|
60
|
-
const zAxis = Matrix3.Matrix3.getColumn(halfAxes, 2, scratchZAxis);
|
61
|
-
|
62
|
-
const xMag = Matrix3.Cartesian3.magnitude(xAxis);
|
63
|
-
const yMag = Matrix3.Cartesian3.magnitude(yAxis);
|
64
|
-
const zMag = Matrix3.Cartesian3.magnitude(zAxis);
|
65
|
-
const min = Math.min(xMag, yMag, zMag);
|
66
|
-
|
67
|
-
// If all the points are on a line return undefined because we can't draw a polygon
|
68
|
-
if (
|
69
|
-
(xMag === 0 && (yMag === 0 || zMag === 0)) ||
|
70
|
-
(yMag === 0 && zMag === 0)
|
71
|
-
) {
|
72
|
-
return false;
|
73
|
-
}
|
74
|
-
|
75
|
-
let planeAxis1;
|
76
|
-
let planeAxis2;
|
77
|
-
|
78
|
-
if (min === yMag || min === zMag) {
|
79
|
-
planeAxis1 = xAxis;
|
80
|
-
}
|
81
|
-
if (min === xMag) {
|
82
|
-
planeAxis1 = yAxis;
|
83
|
-
} else if (min === zMag) {
|
84
|
-
planeAxis2 = yAxis;
|
85
|
-
}
|
86
|
-
if (min === xMag || min === yMag) {
|
87
|
-
planeAxis2 = zAxis;
|
88
|
-
}
|
89
|
-
|
90
|
-
Matrix3.Cartesian3.normalize(planeAxis1, planeAxis1Result);
|
91
|
-
Matrix3.Cartesian3.normalize(planeAxis2, planeAxis2Result);
|
92
|
-
Matrix3.Cartesian3.clone(orientedBoundingBox.center, centerResult);
|
93
|
-
return true;
|
94
|
-
};
|
95
|
-
|
96
|
-
function projectTo2D(position, center, axis1, axis2, result) {
|
97
|
-
const v = Matrix3.Cartesian3.subtract(position, center, scratchIntersectionPoint);
|
98
|
-
const x = Matrix3.Cartesian3.dot(axis1, v);
|
99
|
-
const y = Matrix3.Cartesian3.dot(axis2, v);
|
100
|
-
|
101
|
-
return Matrix2.Cartesian2.fromElements(x, y, result);
|
102
|
-
}
|
103
|
-
|
104
|
-
CoplanarPolygonGeometryLibrary.createProjectPointsTo2DFunction = function (
|
105
|
-
center,
|
106
|
-
axis1,
|
107
|
-
axis2
|
108
|
-
) {
|
109
|
-
return function (positions) {
|
110
|
-
const positionResults = new Array(positions.length);
|
111
|
-
for (let i = 0; i < positions.length; i++) {
|
112
|
-
positionResults[i] = projectTo2D(positions[i], center, axis1, axis2);
|
113
|
-
}
|
114
|
-
|
115
|
-
return positionResults;
|
116
|
-
};
|
117
|
-
};
|
118
|
-
|
119
|
-
CoplanarPolygonGeometryLibrary.createProjectPointTo2DFunction = function (
|
120
|
-
center,
|
121
|
-
axis1,
|
122
|
-
axis2
|
123
|
-
) {
|
124
|
-
return function (position, result) {
|
125
|
-
return projectTo2D(position, center, axis1, axis2, result);
|
126
|
-
};
|
127
|
-
};
|
128
|
-
var CoplanarPolygonGeometryLibrary$1 = CoplanarPolygonGeometryLibrary;
|
129
|
-
|
130
|
-
exports.CoplanarPolygonGeometryLibrary = CoplanarPolygonGeometryLibrary$1;
|
131
|
-
|
132
|
-
}));
|