1 line
85 KiB
Plaintext
1 line
85 KiB
Plaintext
{"version":3,"file":"createPolygonGeometry.js","sources":["../../../../Source/Core/PolygonGeometry.js","../../../../Source/WorkersES6/createPolygonGeometry.js"],"sourcesContent":["import ArcType from \"./ArcType.js\";\nimport arrayFill from \"./arrayFill.js\";\nimport BoundingRectangle from \"./BoundingRectangle.js\";\nimport BoundingSphere from \"./BoundingSphere.js\";\nimport Cartesian2 from \"./Cartesian2.js\";\nimport Cartesian3 from \"./Cartesian3.js\";\nimport Cartographic from \"./Cartographic.js\";\nimport Check from \"./Check.js\";\nimport ComponentDatatype from \"./ComponentDatatype.js\";\nimport defaultValue from \"./defaultValue.js\";\nimport defined from \"./defined.js\";\nimport DeveloperError from \"./DeveloperError.js\";\nimport Ellipsoid from \"./Ellipsoid.js\";\nimport EllipsoidGeodesic from \"./EllipsoidGeodesic.js\";\nimport EllipsoidTangentPlane from \"./EllipsoidTangentPlane.js\";\nimport Geometry from \"./Geometry.js\";\nimport GeometryAttribute from \"./GeometryAttribute.js\";\nimport GeometryInstance from \"./GeometryInstance.js\";\nimport GeometryOffsetAttribute from \"./GeometryOffsetAttribute.js\";\nimport GeometryPipeline from \"./GeometryPipeline.js\";\nimport IndexDatatype from \"./IndexDatatype.js\";\nimport CesiumMath from \"./Math.js\";\nimport Matrix3 from \"./Matrix3.js\";\nimport PolygonGeometryLibrary from \"./PolygonGeometryLibrary.js\";\nimport PolygonPipeline from \"./PolygonPipeline.js\";\nimport Quaternion from \"./Quaternion.js\";\nimport Rectangle from \"./Rectangle.js\";\nimport VertexFormat from \"./VertexFormat.js\";\nimport WindingOrder from \"./WindingOrder.js\";\n\nconst scratchCarto1 = new Cartographic();\nconst scratchCarto2 = new Cartographic();\nfunction adjustPosHeightsForNormal(position, p1, p2, ellipsoid) {\n const carto1 = ellipsoid.cartesianToCartographic(position, scratchCarto1);\n const height = carto1.height;\n const p1Carto = ellipsoid.cartesianToCartographic(p1, scratchCarto2);\n p1Carto.height = height;\n ellipsoid.cartographicToCartesian(p1Carto, p1);\n\n const p2Carto = ellipsoid.cartesianToCartographic(p2, scratchCarto2);\n p2Carto.height = height - 100;\n ellipsoid.cartographicToCartesian(p2Carto, p2);\n}\n\nconst scratchBoundingRectangle = new BoundingRectangle();\nconst scratchPosition = new Cartesian3();\nconst scratchNormal = new Cartesian3();\nconst scratchTangent = new Cartesian3();\nconst scratchBitangent = new Cartesian3();\nconst p1Scratch = new Cartesian3();\nconst p2Scratch = new Cartesian3();\nlet scratchPerPosNormal = new Cartesian3();\nlet scratchPerPosTangent = new Cartesian3();\nlet scratchPerPosBitangent = new Cartesian3();\n\nconst appendTextureCoordinatesOrigin = new Cartesian2();\nconst appendTextureCoordinatesCartesian2 = new Cartesian2();\nconst appendTextureCoordinatesCartesian3 = new Cartesian3();\nconst appendTextureCoordinatesQuaternion = new Quaternion();\nconst appendTextureCoordinatesMatrix3 = new Matrix3();\nconst tangentMatrixScratch = new Matrix3();\n\nfunction computeAttributes(options) {\n const vertexFormat = options.vertexFormat;\n const geometry = options.geometry;\n const shadowVolume = options.shadowVolume;\n const flatPositions = geometry.attributes.position.values;\n let length = flatPositions.length;\n const wall = options.wall;\n const top = options.top || wall;\n const bottom = options.bottom || wall;\n if (\n vertexFormat.st ||\n vertexFormat.normal ||\n vertexFormat.tangent ||\n vertexFormat.bitangent ||\n shadowVolume\n ) {\n // PERFORMANCE_IDEA: Compute before subdivision, then just interpolate during subdivision.\n // PERFORMANCE_IDEA: Compute with createGeometryFromPositions() for fast path when there's no holes.\n const boundingRectangle = options.boundingRectangle;\n const tangentPlane = options.tangentPlane;\n const ellipsoid = options.ellipsoid;\n const stRotation = options.stRotation;\n const perPositionHeight = options.perPositionHeight;\n\n const origin = appendTextureCoordinatesOrigin;\n origin.x = boundingRectangle.x;\n origin.y = boundingRectangle.y;\n\n const textureCoordinates = vertexFormat.st\n ? new Float32Array(2 * (length / 3))\n : undefined;\n let normals;\n if (vertexFormat.normal) {\n if (perPositionHeight && top && !wall) {\n normals = geometry.attributes.normal.values;\n } else {\n normals = new Float32Array(length);\n }\n }\n const tangents = vertexFormat.tangent\n ? new Float32Array(length)\n : undefined;\n const bitangents = vertexFormat.bitangent\n ? new Float32Array(length)\n : undefined;\n const extrudeNormals = shadowVolume ? new Float32Array(length) : undefined;\n\n let textureCoordIndex = 0;\n let attrIndex = 0;\n\n let normal = scratchNormal;\n let tangent = scratchTangent;\n let bitangent = scratchBitangent;\n let recomputeNormal = true;\n\n let textureMatrix = appendTextureCoordinatesMatrix3;\n let tangentRotationMatrix = tangentMatrixScratch;\n if (stRotation !== 0.0) {\n let rotation = Quaternion.fromAxisAngle(\n tangentPlane._plane.normal,\n stRotation,\n appendTextureCoordinatesQuaternion\n );\n textureMatrix = Matrix3.fromQuaternion(rotation, textureMatrix);\n\n rotation = Quaternion.fromAxisAngle(\n tangentPlane._plane.normal,\n -stRotation,\n appendTextureCoordinatesQuaternion\n );\n tangentRotationMatrix = Matrix3.fromQuaternion(\n rotation,\n tangentRotationMatrix\n );\n } else {\n textureMatrix = Matrix3.clone(Matrix3.IDENTITY, textureMatrix);\n tangentRotationMatrix = Matrix3.clone(\n Matrix3.IDENTITY,\n tangentRotationMatrix\n );\n }\n\n let bottomOffset = 0;\n let bottomOffset2 = 0;\n\n if (top && bottom) {\n bottomOffset = length / 2;\n bottomOffset2 = length / 3;\n\n length /= 2;\n }\n\n for (let i = 0; i < length; i += 3) {\n const position = Cartesian3.fromArray(\n flatPositions,\n i,\n appendTextureCoordinatesCartesian3\n );\n\n if (vertexFormat.st) {\n let p = Matrix3.multiplyByVector(\n textureMatrix,\n position,\n scratchPosition\n );\n p = ellipsoid.scaleToGeodeticSurface(p, p);\n const st = tangentPlane.projectPointOntoPlane(\n p,\n appendTextureCoordinatesCartesian2\n );\n Cartesian2.subtract(st, origin, st);\n\n const stx = CesiumMath.clamp(st.x / boundingRectangle.width, 0, 1);\n const sty = CesiumMath.clamp(st.y / boundingRectangle.height, 0, 1);\n if (bottom) {\n textureCoordinates[textureCoordIndex + bottomOffset2] = stx;\n textureCoordinates[textureCoordIndex + 1 + bottomOffset2] = sty;\n }\n if (top) {\n textureCoordinates[textureCoordIndex] = stx;\n textureCoordinates[textureCoordIndex + 1] = sty;\n }\n\n textureCoordIndex += 2;\n }\n\n if (\n vertexFormat.normal ||\n vertexFormat.tangent ||\n vertexFormat.bitangent ||\n shadowVolume\n ) {\n const attrIndex1 = attrIndex + 1;\n const attrIndex2 = attrIndex + 2;\n\n if (wall) {\n if (i + 3 < length) {\n const p1 = Cartesian3.fromArray(flatPositions, i + 3, p1Scratch);\n\n if (recomputeNormal) {\n const p2 = Cartesian3.fromArray(\n flatPositions,\n i + length,\n p2Scratch\n );\n if (perPositionHeight) {\n adjustPosHeightsForNormal(position, p1, p2, ellipsoid);\n }\n Cartesian3.subtract(p1, position, p1);\n Cartesian3.subtract(p2, position, p2);\n normal = Cartesian3.normalize(\n Cartesian3.cross(p2, p1, normal),\n normal\n );\n recomputeNormal = false;\n }\n\n if (Cartesian3.equalsEpsilon(p1, position, CesiumMath.EPSILON10)) {\n // if we've reached a corner\n recomputeNormal = true;\n }\n }\n\n if (vertexFormat.tangent || vertexFormat.bitangent) {\n bitangent = ellipsoid.geodeticSurfaceNormal(position, bitangent);\n if (vertexFormat.tangent) {\n tangent = Cartesian3.normalize(\n Cartesian3.cross(bitangent, normal, tangent),\n tangent\n );\n }\n }\n } else {\n normal = ellipsoid.geodeticSurfaceNormal(position, normal);\n if (vertexFormat.tangent || vertexFormat.bitangent) {\n if (perPositionHeight) {\n scratchPerPosNormal = Cartesian3.fromArray(\n normals,\n attrIndex,\n scratchPerPosNormal\n );\n scratchPerPosTangent = Cartesian3.cross(\n Cartesian3.UNIT_Z,\n scratchPerPosNormal,\n scratchPerPosTangent\n );\n scratchPerPosTangent = Cartesian3.normalize(\n Matrix3.multiplyByVector(\n tangentRotationMatrix,\n scratchPerPosTangent,\n scratchPerPosTangent\n ),\n scratchPerPosTangent\n );\n if (vertexFormat.bitangent) {\n scratchPerPosBitangent = Cartesian3.normalize(\n Cartesian3.cross(\n scratchPerPosNormal,\n scratchPerPosTangent,\n scratchPerPosBitangent\n ),\n scratchPerPosBitangent\n );\n }\n }\n\n tangent = Cartesian3.cross(Cartesian3.UNIT_Z, normal, tangent);\n tangent = Cartesian3.normalize(\n Matrix3.multiplyByVector(tangentRotationMatrix, tangent, tangent),\n tangent\n );\n if (vertexFormat.bitangent) {\n bitangent = Cartesian3.normalize(\n Cartesian3.cross(normal, tangent, bitangent),\n bitangent\n );\n }\n }\n }\n\n if (vertexFormat.normal) {\n if (options.wall) {\n normals[attrIndex + bottomOffset] = normal.x;\n normals[attrIndex1 + bottomOffset] = normal.y;\n normals[attrIndex2 + bottomOffset] = normal.z;\n } else if (bottom) {\n normals[attrIndex + bottomOffset] = -normal.x;\n normals[attrIndex1 + bottomOffset] = -normal.y;\n normals[attrIndex2 + bottomOffset] = -normal.z;\n }\n\n if ((top && !perPositionHeight) || wall) {\n normals[attrIndex] = normal.x;\n normals[attrIndex1] = normal.y;\n normals[attrIndex2] = normal.z;\n }\n }\n\n if (shadowVolume) {\n if (wall) {\n normal = ellipsoid.geodeticSurfaceNormal(position, normal);\n }\n extrudeNormals[attrIndex + bottomOffset] = -normal.x;\n extrudeNormals[attrIndex1 + bottomOffset] = -normal.y;\n extrudeNormals[attrIndex2 + bottomOffset] = -normal.z;\n }\n\n if (vertexFormat.tangent) {\n if (options.wall) {\n tangents[attrIndex + bottomOffset] = tangent.x;\n tangents[attrIndex1 + bottomOffset] = tangent.y;\n tangents[attrIndex2 + bottomOffset] = tangent.z;\n } else if (bottom) {\n tangents[attrIndex + bottomOffset] = -tangent.x;\n tangents[attrIndex1 + bottomOffset] = -tangent.y;\n tangents[attrIndex2 + bottomOffset] = -tangent.z;\n }\n\n if (top) {\n if (perPositionHeight) {\n tangents[attrIndex] = scratchPerPosTangent.x;\n tangents[attrIndex1] = scratchPerPosTangent.y;\n tangents[attrIndex2] = scratchPerPosTangent.z;\n } else {\n tangents[attrIndex] = tangent.x;\n tangents[attrIndex1] = tangent.y;\n tangents[attrIndex2] = tangent.z;\n }\n }\n }\n\n if (vertexFormat.bitangent) {\n if (bottom) {\n bitangents[attrIndex + bottomOffset] = bitangent.x;\n bitangents[attrIndex1 + bottomOffset] = bitangent.y;\n bitangents[attrIndex2 + bottomOffset] = bitangent.z;\n }\n if (top) {\n if (perPositionHeight) {\n bitangents[attrIndex] = scratchPerPosBitangent.x;\n bitangents[attrIndex1] = scratchPerPosBitangent.y;\n bitangents[attrIndex2] = scratchPerPosBitangent.z;\n } else {\n bitangents[attrIndex] = bitangent.x;\n bitangents[attrIndex1] = bitangent.y;\n bitangents[attrIndex2] = bitangent.z;\n }\n }\n }\n attrIndex += 3;\n }\n }\n\n if (vertexFormat.st) {\n geometry.attributes.st = new GeometryAttribute({\n componentDatatype: ComponentDatatype.FLOAT,\n componentsPerAttribute: 2,\n values: textureCoordinates,\n });\n }\n\n if (vertexFormat.normal) {\n geometry.attributes.normal = new GeometryAttribute({\n componentDatatype: ComponentDatatype.FLOAT,\n componentsPerAttribute: 3,\n values: normals,\n });\n }\n\n if (vertexFormat.tangent) {\n geometry.attributes.tangent = new GeometryAttribute({\n componentDatatype: ComponentDatatype.FLOAT,\n componentsPerAttribute: 3,\n values: tangents,\n });\n }\n\n if (vertexFormat.bitangent) {\n geometry.attributes.bitangent = new GeometryAttribute({\n componentDatatype: ComponentDatatype.FLOAT,\n componentsPerAttribute: 3,\n values: bitangents,\n });\n }\n\n if (shadowVolume) {\n geometry.attributes.extrudeDirection = new GeometryAttribute({\n componentDatatype: ComponentDatatype.FLOAT,\n componentsPerAttribute: 3,\n values: extrudeNormals,\n });\n }\n }\n\n if (options.extrude && defined(options.offsetAttribute)) {\n const size = flatPositions.length / 3;\n let offsetAttribute = new Uint8Array(size);\n\n if (options.offsetAttribute === GeometryOffsetAttribute.TOP) {\n if ((top && bottom) || wall) {\n offsetAttribute = arrayFill(offsetAttribute, 1, 0, size / 2);\n } else if (top) {\n offsetAttribute = arrayFill(offsetAttribute, 1);\n }\n } else {\n const offsetValue =\n options.offsetAttribute === GeometryOffsetAttribute.NONE ? 0 : 1;\n offsetAttribute = arrayFill(offsetAttribute, offsetValue);\n }\n\n geometry.attributes.applyOffset = new GeometryAttribute({\n componentDatatype: ComponentDatatype.UNSIGNED_BYTE,\n componentsPerAttribute: 1,\n values: offsetAttribute,\n });\n }\n\n return geometry;\n}\n\nconst startCartographicScratch = new Cartographic();\nconst endCartographicScratch = new Cartographic();\nconst idlCross = {\n westOverIDL: 0.0,\n eastOverIDL: 0.0,\n};\nlet ellipsoidGeodesic = new EllipsoidGeodesic();\nfunction computeRectangle(positions, ellipsoid, arcType, granularity, result) {\n result = defaultValue(result, new Rectangle());\n if (!defined(positions) || positions.length < 3) {\n result.west = 0.0;\n result.north = 0.0;\n result.south = 0.0;\n result.east = 0.0;\n return result;\n }\n\n if (arcType === ArcType.RHUMB) {\n return Rectangle.fromCartesianArray(positions, ellipsoid, result);\n }\n\n if (!ellipsoidGeodesic.ellipsoid.equals(ellipsoid)) {\n ellipsoidGeodesic = new EllipsoidGeodesic(undefined, undefined, ellipsoid);\n }\n\n result.west = Number.POSITIVE_INFINITY;\n result.east = Number.NEGATIVE_INFINITY;\n result.south = Number.POSITIVE_INFINITY;\n result.north = Number.NEGATIVE_INFINITY;\n\n idlCross.westOverIDL = Number.POSITIVE_INFINITY;\n idlCross.eastOverIDL = Number.NEGATIVE_INFINITY;\n\n const inverseChordLength =\n 1.0 / CesiumMath.chordLength(granularity, ellipsoid.maximumRadius);\n const positionsLength = positions.length;\n let endCartographic = ellipsoid.cartesianToCartographic(\n positions[0],\n endCartographicScratch\n );\n let startCartographic = startCartographicScratch;\n let swap;\n\n for (let i = 1; i < positionsLength; i++) {\n swap = startCartographic;\n startCartographic = endCartographic;\n endCartographic = ellipsoid.cartesianToCartographic(positions[i], swap);\n ellipsoidGeodesic.setEndPoints(startCartographic, endCartographic);\n interpolateAndGrowRectangle(\n ellipsoidGeodesic,\n inverseChordLength,\n result,\n idlCross\n );\n }\n\n swap = startCartographic;\n startCartographic = endCartographic;\n endCartographic = ellipsoid.cartesianToCartographic(positions[0], swap);\n ellipsoidGeodesic.setEndPoints(startCartographic, endCartographic);\n interpolateAndGrowRectangle(\n ellipsoidGeodesic,\n inverseChordLength,\n result,\n idlCross\n );\n\n if (result.east - result.west > idlCross.eastOverIDL - idlCross.westOverIDL) {\n result.west = idlCross.westOverIDL;\n result.east = idlCross.eastOverIDL;\n\n if (result.east > CesiumMath.PI) {\n result.east = result.east - CesiumMath.TWO_PI;\n }\n if (result.west > CesiumMath.PI) {\n result.west = result.west - CesiumMath.TWO_PI;\n }\n }\n\n return result;\n}\n\nconst interpolatedCartographicScratch = new Cartographic();\nfunction interpolateAndGrowRectangle(\n ellipsoidGeodesic,\n inverseChordLength,\n result,\n idlCross\n) {\n const segmentLength = ellipsoidGeodesic.surfaceDistance;\n\n const numPoints = Math.ceil(segmentLength * inverseChordLength);\n const subsegmentDistance =\n numPoints > 0 ? segmentLength / (numPoints - 1) : Number.POSITIVE_INFINITY;\n let interpolationDistance = 0.0;\n\n for (let i = 0; i < numPoints; i++) {\n const interpolatedCartographic = ellipsoidGeodesic.interpolateUsingSurfaceDistance(\n interpolationDistance,\n interpolatedCartographicScratch\n );\n interpolationDistance += subsegmentDistance;\n const longitude = interpolatedCartographic.longitude;\n const latitude = interpolatedCartographic.latitude;\n\n result.west = Math.min(result.west, longitude);\n result.east = Math.max(result.east, longitude);\n result.south = Math.min(result.south, latitude);\n result.north = Math.max(result.north, latitude);\n\n const lonAdjusted =\n longitude >= 0 ? longitude : longitude + CesiumMath.TWO_PI;\n idlCross.westOverIDL = Math.min(idlCross.westOverIDL, lonAdjusted);\n idlCross.eastOverIDL = Math.max(idlCross.eastOverIDL, lonAdjusted);\n }\n}\n\nconst createGeometryFromPositionsExtrudedPositions = [];\n\nfunction createGeometryFromPositionsExtruded(\n ellipsoid,\n polygon,\n granularity,\n hierarchy,\n perPositionHeight,\n closeTop,\n closeBottom,\n vertexFormat,\n arcType\n) {\n const geos = {\n walls: [],\n };\n let i;\n\n if (closeTop || closeBottom) {\n const topGeo = PolygonGeometryLibrary.createGeometryFromPositions(\n ellipsoid,\n polygon,\n granularity,\n perPositionHeight,\n vertexFormat,\n arcType\n );\n\n const edgePoints = topGeo.attributes.position.values;\n const indices = topGeo.indices;\n let numPositions;\n let newIndices;\n\n if (closeTop && closeBottom) {\n const topBottomPositions = edgePoints.concat(edgePoints);\n\n numPositions = topBottomPositions.length / 3;\n\n newIndices = IndexDatatype.createTypedArray(\n numPositions,\n indices.length * 2\n );\n newIndices.set(indices);\n const ilength = indices.length;\n\n const length = numPositions / 2;\n\n for (i = 0; i < ilength; i += 3) {\n const i0 = newIndices[i] + length;\n const i1 = newIndices[i + 1] + length;\n const i2 = newIndices[i + 2] + length;\n\n newIndices[i + ilength] = i2;\n newIndices[i + 1 + ilength] = i1;\n newIndices[i + 2 + ilength] = i0;\n }\n\n topGeo.attributes.position.values = topBottomPositions;\n if (perPositionHeight && vertexFormat.normal) {\n const normals = topGeo.attributes.normal.values;\n topGeo.attributes.normal.values = new Float32Array(\n topBottomPositions.length\n );\n topGeo.attributes.normal.values.set(normals);\n }\n topGeo.indices = newIndices;\n } else if (closeBottom) {\n numPositions = edgePoints.length / 3;\n newIndices = IndexDatatype.createTypedArray(numPositions, indices.length);\n\n for (i = 0; i < indices.length; i += 3) {\n newIndices[i] = indices[i + 2];\n newIndices[i + 1] = indices[i + 1];\n newIndices[i + 2] = indices[i];\n }\n\n topGeo.indices = newIndices;\n }\n\n geos.topAndBottom = new GeometryInstance({\n geometry: topGeo,\n });\n }\n\n let outerRing = hierarchy.outerRing;\n let tangentPlane = EllipsoidTangentPlane.fromPoints(outerRing, ellipsoid);\n let positions2D = tangentPlane.projectPointsOntoPlane(\n outerRing,\n createGeometryFromPositionsExtrudedPositions\n );\n\n let windingOrder = PolygonPipeline.computeWindingOrder2D(positions2D);\n if (windingOrder === WindingOrder.CLOCKWISE) {\n outerRing = outerRing.slice().reverse();\n }\n\n let wallGeo = PolygonGeometryLibrary.computeWallGeometry(\n outerRing,\n ellipsoid,\n granularity,\n perPositionHeight,\n arcType\n );\n geos.walls.push(\n new GeometryInstance({\n geometry: wallGeo,\n })\n );\n\n const holes = hierarchy.holes;\n for (i = 0; i < holes.length; i++) {\n let hole = holes[i];\n\n tangentPlane = EllipsoidTangentPlane.fromPoints(hole, ellipsoid);\n positions2D = tangentPlane.projectPointsOntoPlane(\n hole,\n createGeometryFromPositionsExtrudedPositions\n );\n\n windingOrder = PolygonPipeline.computeWindingOrder2D(positions2D);\n if (windingOrder === WindingOrder.COUNTER_CLOCKWISE) {\n hole = hole.slice().reverse();\n }\n\n wallGeo = PolygonGeometryLibrary.computeWallGeometry(\n hole,\n ellipsoid,\n granularity,\n perPositionHeight,\n arcType\n );\n geos.walls.push(\n new GeometryInstance({\n geometry: wallGeo,\n })\n );\n }\n\n return geos;\n}\n\n/**\n * A description of a polygon on the ellipsoid. The polygon is defined by a polygon hierarchy. Polygon geometry can be rendered with both {@link Primitive} and {@link GroundPrimitive}.\n *\n * @alias PolygonGeometry\n * @constructor\n *\n * @param {Object} options Object with the following properties:\n * @param {PolygonHierarchy} options.polygonHierarchy A polygon hierarchy that can include holes.\n * @param {Number} [options.height=0.0] The distance in meters between the polygon and the ellipsoid surface.\n * @param {Number} [options.extrudedHeight] The distance in meters between the polygon's extruded face and the ellipsoid surface.\n * @param {VertexFormat} [options.vertexFormat=VertexFormat.DEFAULT] The vertex attributes to be computed.\n * @param {Number} [options.stRotation=0.0] The rotation of the texture coordinates, in radians. A positive rotation is counter-clockwise.\n * @param {Ellipsoid} [options.ellipsoid=Ellipsoid.WGS84] The ellipsoid to be used as a reference.\n * @param {Number} [options.granularity=CesiumMath.RADIANS_PER_DEGREE] The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer.\n * @param {Boolean} [options.perPositionHeight=false] Use the height of options.positions for each position instead of using options.height to determine the height.\n * @param {Boolean} [options.closeTop=true] When false, leaves off the top of an extruded polygon open.\n * @param {Boolean} [options.closeBottom=true] When false, leaves off the bottom of an extruded polygon open.\n * @param {ArcType} [options.arcType=ArcType.GEODESIC] The type of line the polygon edges must follow. Valid options are {@link ArcType.GEODESIC} and {@link ArcType.RHUMB}.\n *\n * @see PolygonGeometry#createGeometry\n * @see PolygonGeometry#fromPositions\n *\n * @demo {@link https://sandcastle.cesium.com/index.html?src=Polygon.html|Cesium Sandcastle Polygon Demo}\n *\n * @example\n * // 1. create a polygon from points\n * const polygon = new Cesium.PolygonGeometry({\n * polygonHierarchy : new Cesium.PolygonHierarchy(\n * Cesium.Cartesian3.fromDegreesArray([\n * -72.0, 40.0,\n * -70.0, 35.0,\n * -75.0, 30.0,\n * -70.0, 30.0,\n * -68.0, 40.0\n * ])\n * )\n * });\n * const geometry = Cesium.PolygonGeometry.createGeometry(polygon);\n *\n * // 2. create a nested polygon with holes\n * const polygonWithHole = new Cesium.PolygonGeometry({\n * polygonHierarchy : new Cesium.PolygonHierarchy(\n * Cesium.Cartesian3.fromDegreesArray([\n * -109.0, 30.0,\n * -95.0, 30.0,\n * -95.0, 40.0,\n * -109.0, 40.0\n * ]),\n * [new Cesium.PolygonHierarchy(\n * Cesium.Cartesian3.fromDegreesArray([\n * -107.0, 31.0,\n * -107.0, 39.0,\n * -97.0, 39.0,\n * -97.0, 31.0\n * ]),\n * [new Cesium.PolygonHierarchy(\n * Cesium.Cartesian3.fromDegreesArray([\n * -105.0, 33.0,\n * -99.0, 33.0,\n * -99.0, 37.0,\n * -105.0, 37.0\n * ]),\n * [new Cesium.PolygonHierarchy(\n * Cesium.Cartesian3.fromDegreesArray([\n * -103.0, 34.0,\n * -101.0, 34.0,\n * -101.0, 36.0,\n * -103.0, 36.0\n * ])\n * )]\n * )]\n * )]\n * )\n * });\n * const geometry = Cesium.PolygonGeometry.createGeometry(polygonWithHole);\n *\n * // 3. create extruded polygon\n * const extrudedPolygon = new Cesium.PolygonGeometry({\n * polygonHierarchy : new Cesium.PolygonHierarchy(\n * Cesium.Cartesian3.fromDegreesArray([\n * -72.0, 40.0,\n * -70.0, 35.0,\n * -75.0, 30.0,\n * -70.0, 30.0,\n * -68.0, 40.0\n * ])\n * ),\n * extrudedHeight: 300000\n * });\n * const geometry = Cesium.PolygonGeometry.createGeometry(extrudedPolygon);\n */\nfunction PolygonGeometry(options) {\n //>>includeStart('debug', pragmas.debug);\n Check.typeOf.object(\"options\", options);\n Check.typeOf.object(\"options.polygonHierarchy\", options.polygonHierarchy);\n if (\n defined(options.perPositionHeight) &&\n options.perPositionHeight &&\n defined(options.height)\n ) {\n throw new DeveloperError(\n \"Cannot use both options.perPositionHeight and options.height\"\n );\n }\n if (\n defined(options.arcType) &&\n options.arcType !== ArcType.GEODESIC &&\n options.arcType !== ArcType.RHUMB\n ) {\n throw new DeveloperError(\n \"Invalid arcType. Valid options are ArcType.GEODESIC and ArcType.RHUMB.\"\n );\n }\n //>>includeEnd('debug');\n\n const polygonHierarchy = options.polygonHierarchy;\n const vertexFormat = defaultValue(options.vertexFormat, VertexFormat.DEFAULT);\n const ellipsoid = defaultValue(options.ellipsoid, Ellipsoid.WGS84);\n const granularity = defaultValue(\n options.granularity,\n CesiumMath.RADIANS_PER_DEGREE\n );\n const stRotation = defaultValue(options.stRotation, 0.0);\n const perPositionHeight = defaultValue(options.perPositionHeight, false);\n const perPositionHeightExtrude =\n perPositionHeight && defined(options.extrudedHeight);\n let height = defaultValue(options.height, 0.0);\n let extrudedHeight = defaultValue(options.extrudedHeight, height);\n\n if (!perPositionHeightExtrude) {\n const h = Math.max(height, extrudedHeight);\n extrudedHeight = Math.min(height, extrudedHeight);\n height = h;\n }\n\n this._vertexFormat = VertexFormat.clone(vertexFormat);\n this._ellipsoid = Ellipsoid.clone(ellipsoid);\n this._granularity = granularity;\n this._stRotation = stRotation;\n this._height = height;\n this._extrudedHeight = extrudedHeight;\n this._closeTop = defaultValue(options.closeTop, true);\n this._closeBottom = defaultValue(options.closeBottom, true);\n this._polygonHierarchy = polygonHierarchy;\n this._perPositionHeight = perPositionHeight;\n this._perPositionHeightExtrude = perPositionHeightExtrude;\n this._shadowVolume = defaultValue(options.shadowVolume, false);\n this._workerName = \"createPolygonGeometry\";\n this._offsetAttribute = options.offsetAttribute;\n this._arcType = defaultValue(options.arcType, ArcType.GEODESIC);\n\n this._rectangle = undefined;\n this._textureCoordinateRotationPoints = undefined;\n\n /**\n * The number of elements used to pack the object into an array.\n * @type {Number}\n */\n this.packedLength =\n PolygonGeometryLibrary.computeHierarchyPackedLength(polygonHierarchy) +\n Ellipsoid.packedLength +\n VertexFormat.packedLength +\n 12;\n}\n\n/**\n * A description of a polygon from an array of positions. Polygon geometry can be rendered with both {@link Primitive} and {@link GroundPrimitive}.\n *\n * @param {Object} options Object with the following properties:\n * @param {Cartesian3[]} options.positions An array of positions that defined the corner points of the polygon.\n * @param {Number} [options.height=0.0] The height of the polygon.\n * @param {Number} [options.extrudedHeight] The height of the polygon extrusion.\n * @param {VertexFormat} [options.vertexFormat=VertexFormat.DEFAULT] The vertex attributes to be computed.\n * @param {Number} [options.stRotation=0.0] The rotation of the texture coordinates, in radians. A positive rotation is counter-clockwise.\n * @param {Ellipsoid} [options.ellipsoid=Ellipsoid.WGS84] The ellipsoid to be used as a reference.\n * @param {Number} [options.granularity=CesiumMath.RADIANS_PER_DEGREE] The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer.\n * @param {Boolean} [options.perPositionHeight=false] Use the height of options.positions for each position instead of using options.height to determine the height.\n * @param {Boolean} [options.closeTop=true] When false, leaves off the top of an extruded polygon open.\n * @param {Boolean} [options.closeBottom=true] When false, leaves off the bottom of an extruded polygon open.\n * @param {ArcType} [options.arcType=ArcType.GEODESIC] The type of line the polygon edges must follow. Valid options are {@link ArcType.GEODESIC} and {@link ArcType.RHUMB}.\n * @returns {PolygonGeometry}\n *\n *\n * @example\n * // create a polygon from points\n * const polygon = Cesium.PolygonGeometry.fromPositions({\n * positions : Cesium.Cartesian3.fromDegreesArray([\n * -72.0, 40.0,\n * -70.0, 35.0,\n * -75.0, 30.0,\n * -70.0, 30.0,\n * -68.0, 40.0\n * ])\n * });\n * const geometry = Cesium.PolygonGeometry.createGeometry(polygon);\n *\n * @see PolygonGeometry#createGeometry\n */\nPolygonGeometry.fromPositions = function (options) {\n options = defaultValue(options, defaultValue.EMPTY_OBJECT);\n\n //>>includeStart('debug', pragmas.debug);\n Check.defined(\"options.positions\", options.positions);\n //>>includeEnd('debug');\n\n const newOptions = {\n polygonHierarchy: {\n positions: options.positions,\n },\n height: options.height,\n extrudedHeight: options.extrudedHeight,\n vertexFormat: options.vertexFormat,\n stRotation: options.stRotation,\n ellipsoid: options.ellipsoid,\n granularity: options.granularity,\n perPositionHeight: options.perPositionHeight,\n closeTop: options.closeTop,\n closeBottom: options.closeBottom,\n offsetAttribute: options.offsetAttribute,\n arcType: options.arcType,\n };\n return new PolygonGeometry(newOptions);\n};\n\n/**\n * Stores the provided instance into the provided array.\n *\n * @param {PolygonGeometry} value The value to pack.\n * @param {Number[]} array The array to pack into.\n * @param {Number} [startingIndex=0] The index into the array at which to start packing the elements.\n *\n * @returns {Number[]} The array that was packed into\n */\nPolygonGeometry.pack = function (value, array, startingIndex) {\n //>>includeStart('debug', pragmas.debug);\n Check.typeOf.object(\"value\", value);\n Check.defined(\"array\", array);\n //>>includeEnd('debug');\n\n startingIndex = defaultValue(startingIndex, 0);\n\n startingIndex = PolygonGeometryLibrary.packPolygonHierarchy(\n value._polygonHierarchy,\n array,\n startingIndex\n );\n\n Ellipsoid.pack(value._ellipsoid, array, startingIndex);\n startingIndex += Ellipsoid.packedLength;\n\n VertexFormat.pack(value._vertexFormat, array, startingIndex);\n startingIndex += VertexFormat.packedLength;\n\n array[startingIndex++] = value._height;\n array[startingIndex++] = value._extrudedHeight;\n array[startingIndex++] = value._granularity;\n array[startingIndex++] = value._stRotation;\n array[startingIndex++] = value._perPositionHeightExtrude ? 1.0 : 0.0;\n array[startingIndex++] = value._perPositionHeight ? 1.0 : 0.0;\n array[startingIndex++] = value._closeTop ? 1.0 : 0.0;\n array[startingIndex++] = value._closeBottom ? 1.0 : 0.0;\n array[startingIndex++] = value._shadowVolume ? 1.0 : 0.0;\n array[startingIndex++] = defaultValue(value._offsetAttribute, -1);\n array[startingIndex++] = value._arcType;\n array[startingIndex] = value.packedLength;\n\n return array;\n};\n\nconst scratchEllipsoid = Ellipsoid.clone(Ellipsoid.UNIT_SPHERE);\nconst scratchVertexFormat = new VertexFormat();\n\n//Only used to avoid inability to default construct.\nconst dummyOptions = {\n polygonHierarchy: {},\n};\n\n/**\n * Retrieves an instance from a packed array.\n *\n * @param {Number[]} array The packed array.\n * @param {Number} [startingIndex=0] The starting index of the element to be unpacked.\n * @param {PolygonGeometry} [result] The object into which to store the result.\n */\nPolygonGeometry.unpack = function (array, startingIndex, result) {\n //>>includeStart('debug', pragmas.debug);\n Check.defined(\"array\", array);\n //>>includeEnd('debug');\n\n startingIndex = defaultValue(startingIndex, 0);\n\n const polygonHierarchy = PolygonGeometryLibrary.unpackPolygonHierarchy(\n array,\n startingIndex\n );\n startingIndex = polygonHierarchy.startingIndex;\n delete polygonHierarchy.startingIndex;\n\n const ellipsoid = Ellipsoid.unpack(array, startingIndex, scratchEllipsoid);\n startingIndex += Ellipsoid.packedLength;\n\n const vertexFormat = VertexFormat.unpack(\n array,\n startingIndex,\n scratchVertexFormat\n );\n startingIndex += VertexFormat.packedLength;\n\n const height = array[startingIndex++];\n const extrudedHeight = array[startingIndex++];\n const granularity = array[startingIndex++];\n const stRotation = array[startingIndex++];\n const perPositionHeightExtrude = array[startingIndex++] === 1.0;\n const perPositionHeight = array[startingIndex++] === 1.0;\n const closeTop = array[startingIndex++] === 1.0;\n const closeBottom = array[startingIndex++] === 1.0;\n const shadowVolume = array[startingIndex++] === 1.0;\n const offsetAttribute = array[startingIndex++];\n const arcType = array[startingIndex++];\n const packedLength = array[startingIndex];\n\n if (!defined(result)) {\n result = new PolygonGeometry(dummyOptions);\n }\n\n result._polygonHierarchy = polygonHierarchy;\n result._ellipsoid = Ellipsoid.clone(ellipsoid, result._ellipsoid);\n result._vertexFormat = VertexFormat.clone(vertexFormat, result._vertexFormat);\n result._height = height;\n result._extrudedHeight = extrudedHeight;\n result._granularity = granularity;\n result._stRotation = stRotation;\n result._perPositionHeightExtrude = perPositionHeightExtrude;\n result._perPositionHeight = perPositionHeight;\n result._closeTop = closeTop;\n result._closeBottom = closeBottom;\n result._shadowVolume = shadowVolume;\n result._offsetAttribute =\n offsetAttribute === -1 ? undefined : offsetAttribute;\n result._arcType = arcType;\n result.packedLength = packedLength;\n return result;\n};\n\n/**\n * Returns the bounding rectangle given the provided options\n *\n * @param {Object} options Object with the following properties:\n * @param {PolygonHierarchy} options.polygonHierarchy A polygon hierarchy that can include holes.\n * @param {Number} [options.granularity=CesiumMath.RADIANS_PER_DEGREE] The distance, in radians, between each latitude and longitude. Determines the number of positions sampled.\n * @param {ArcType} [options.arcType=ArcType.GEODESIC] The type of line the polygon edges must follow. Valid options are {@link ArcType.GEODESIC} and {@link ArcType.RHUMB}.\n * @param {Ellipsoid} [options.ellipsoid=Ellipsoid.WGS84] The ellipsoid to be used as a reference.\n * @param {Rectangle} [result] An object in which to store the result.\n *\n * @returns {Rectangle} The result rectangle\n */\nPolygonGeometry.computeRectangle = function (options, result) {\n //>>includeStart('debug', pragmas.debug);\n Check.typeOf.object(\"options\", options);\n Check.typeOf.object(\"options.polygonHierarchy\", options.polygonHierarchy);\n //>>includeEnd('debug');\n\n const granularity = defaultValue(\n options.granularity,\n CesiumMath.RADIANS_PER_DEGREE\n );\n const arcType = defaultValue(options.arcType, ArcType.GEODESIC);\n //>>includeStart('debug', pragmas.debug);\n if (arcType !== ArcType.GEODESIC && arcType !== ArcType.RHUMB) {\n throw new DeveloperError(\n \"Invalid arcType. Valid options are ArcType.GEODESIC and ArcType.RHUMB.\"\n );\n }\n //>>includeEnd('debug');\n\n const polygonHierarchy = options.polygonHierarchy;\n const ellipsoid = defaultValue(options.ellipsoid, Ellipsoid.WGS84);\n\n return computeRectangle(\n polygonHierarchy.positions,\n ellipsoid,\n arcType,\n granularity,\n result\n );\n};\n\n/**\n * Computes the geometric representation of a polygon, including its vertices, indices, and a bounding sphere.\n *\n * @param {PolygonGeometry} polygonGeometry A description of the polygon.\n * @returns {Geometry|undefined} The computed vertices and indices.\n */\nPolygonGeometry.createGeometry = function (polygonGeometry) {\n const vertexFormat = polygonGeometry._vertexFormat;\n const ellipsoid = polygonGeometry._ellipsoid;\n const granularity = polygonGeometry._granularity;\n const stRotation = polygonGeometry._stRotation;\n const polygonHierarchy = polygonGeometry._polygonHierarchy;\n const perPositionHeight = polygonGeometry._perPositionHeight;\n const closeTop = polygonGeometry._closeTop;\n const closeBottom = polygonGeometry._closeBottom;\n const arcType = polygonGeometry._arcType;\n\n let outerPositions = polygonHierarchy.positions;\n if (outerPositions.length < 3) {\n return;\n }\n\n const tangentPlane = EllipsoidTangentPlane.fromPoints(\n outerPositions,\n ellipsoid\n );\n\n const results = PolygonGeometryLibrary.polygonsFromHierarchy(\n polygonHierarchy,\n tangentPlane.projectPointsOntoPlane.bind(tangentPlane),\n !perPositionHeight,\n ellipsoid\n );\n\n const hierarchy = results.hierarchy;\n const polygons = results.polygons;\n\n if (hierarchy.length === 0) {\n return;\n }\n\n outerPositions = hierarchy[0].outerRing;\n const boundingRectangle = PolygonGeometryLibrary.computeBoundingRectangle(\n tangentPlane.plane.normal,\n tangentPlane.projectPointOntoPlane.bind(tangentPlane),\n outerPositions,\n stRotation,\n scratchBoundingRectangle\n );\n\n const geometries = [];\n\n const height = polygonGeometry._height;\n const extrudedHeight = polygonGeometry._extrudedHeight;\n const extrude =\n polygonGeometry._perPositionHeightExtrude ||\n !CesiumMath.equalsEpsilon(height, extrudedHeight, 0, CesiumMath.EPSILON2);\n\n const options = {\n perPositionHeight: perPositionHeight,\n vertexFormat: vertexFormat,\n geometry: undefined,\n tangentPlane: tangentPlane,\n boundingRectangle: boundingRectangle,\n ellipsoid: ellipsoid,\n stRotation: stRotation,\n bottom: false,\n top: true,\n wall: false,\n extrude: false,\n arcType: arcType,\n };\n\n let i;\n\n if (extrude) {\n options.extrude = true;\n options.top = closeTop;\n options.bottom = closeBottom;\n options.shadowVolume = polygonGeometry._shadowVolume;\n options.offsetAttribute = polygonGeometry._offsetAttribute;\n for (i = 0; i < polygons.length; i++) {\n const splitGeometry = createGeometryFromPositionsExtruded(\n ellipsoid,\n polygons[i],\n granularity,\n hierarchy[i],\n perPositionHeight,\n closeTop,\n closeBottom,\n vertexFormat,\n arcType\n );\n\n let topAndBottom;\n if (closeTop && closeBottom) {\n topAndBottom = splitGeometry.topAndBottom;\n options.geometry = PolygonGeometryLibrary.scaleToGeodeticHeightExtruded(\n topAndBottom.geometry,\n height,\n extrudedHeight,\n ellipsoid,\n perPositionHeight\n );\n } else if (closeTop) {\n topAndBottom = splitGeometry.topAndBottom;\n topAndBottom.geometry.attributes.position.values = PolygonPipeline.scaleToGeodeticHeight(\n topAndBottom.geometry.attributes.position.values,\n height,\n ellipsoid,\n !perPositionHeight\n );\n options.geometry = topAndBottom.geometry;\n } else if (closeBottom) {\n topAndBottom = splitGeometry.topAndBottom;\n topAndBottom.geometry.attributes.position.values = PolygonPipeline.scaleToGeodeticHeight(\n topAndBottom.geometry.attributes.position.values,\n extrudedHeight,\n ellipsoid,\n true\n );\n options.geometry = topAndBottom.geometry;\n }\n if (closeTop || closeBottom) {\n options.wall = false;\n topAndBottom.geometry = computeAttributes(options);\n geometries.push(topAndBottom);\n }\n\n const walls = splitGeometry.walls;\n options.wall = true;\n for (let k = 0; k < walls.length; k++) {\n const wall = walls[k];\n options.geometry = PolygonGeometryLibrary.scaleToGeodeticHeightExtruded(\n wall.geometry,\n height,\n extrudedHeight,\n ellipsoid,\n perPositionHeight\n );\n wall.geometry = computeAttributes(options);\n geometries.push(wall);\n }\n }\n } else {\n for (i = 0; i < polygons.length; i++) {\n const geometryInstance = new GeometryInstance({\n geometry: PolygonGeometryLibrary.createGeometryFromPositions(\n ellipsoid,\n polygons[i],\n granularity,\n perPositionHeight,\n vertexFormat,\n arcType\n ),\n });\n geometryInstance.geometry.attributes.position.values = PolygonPipeline.scaleToGeodeticHeight(\n geometryInstance.geometry.attributes.position.values,\n height,\n ellipsoid,\n !perPositionHeight\n );\n options.geometry = geometryInstance.geometry;\n geometryInstance.geometry = computeAttributes(options);\n\n if (defined(polygonGeometry._offsetAttribute)) {\n const length =\n geometryInstance.geometry.attributes.position.values.length;\n const applyOffset = new Uint8Array(length / 3);\n const offsetValue =\n polygonGeometry._offsetAttribute === GeometryOffsetAttribute.NONE\n ? 0\n : 1;\n arrayFill(applyOffset, offsetValue);\n geometryInstance.geometry.attributes.applyOffset = new GeometryAttribute(\n {\n componentDatatype: ComponentDatatype.UNSIGNED_BYTE,\n componentsPerAttribute: 1,\n values: applyOffset,\n }\n );\n }\n\n geometries.push(geometryInstance);\n }\n }\n\n const geometry = GeometryPipeline.combineInstances(geometries)[0];\n geometry.attributes.position.values = new Float64Array(\n geometry.attributes.position.values\n );\n geometry.indices = IndexDatatype.createTypedArray(\n geometry.attributes.position.values.length / 3,\n geometry.indices\n );\n\n const attributes = geometry.attributes;\n const boundingSphere = BoundingSphere.fromVertices(\n attributes.position.values\n );\n\n if (!vertexFormat.position) {\n delete attributes.position;\n }\n\n return new Geometry({\n attributes: attributes,\n indices: geometry.indices,\n primitiveType: geometry.primitiveType,\n boundingSphere: boundingSphere,\n offsetAttribute: polygonGeometry._offsetAttribute,\n });\n};\n\n/**\n * @private\n */\nPolygonGeometry.createShadowVolume = function (\n polygonGeometry,\n minHeightFunc,\n maxHeightFunc\n) {\n const granularity = polygonGeometry._granularity;\n const ellipsoid = polygonGeometry._ellipsoid;\n\n const minHeight = minHeightFunc(granularity, ellipsoid);\n const maxHeight = maxHeightFunc(granularity, ellipsoid);\n\n return new PolygonGeometry({\n polygonHierarchy: polygonGeometry._polygonHierarchy,\n ellipsoid: ellipsoid,\n stRotation: polygonGeometry._stRotation,\n granularity: granularity,\n perPositionHeight: false,\n extrudedHeight: minHeight,\n height: maxHeight,\n vertexFormat: VertexFormat.POSITION_ONLY,\n shadowVolume: true,\n arcType: polygonGeometry._arcType,\n });\n};\n\nfunction textureCoordinateRotationPoints(polygonGeometry) {\n const stRotation = -polygonGeometry._stRotation;\n if (stRotation === 0.0) {\n return [0, 0, 0, 1, 1, 0];\n }\n const ellipsoid = polygonGeometry._ellipsoid;\n const positions = polygonGeometry._polygonHierarchy.positions;\n const boundingRectangle = polygonGeometry.rectangle;\n return Geometry._textureCoordinateRotationPoints(\n positions,\n stRotation,\n ellipsoid,\n boundingRectangle\n );\n}\n\nObject.defineProperties(PolygonGeometry.prototype, {\n /**\n * @private\n */\n rectangle: {\n get: function () {\n if (!defined(this._rectangle)) {\n const positions = this._polygonHierarchy.positions;\n this._rectangle = computeRectangle(\n positions,\n this._ellipsoid,\n this._arcType,\n this._granularity\n );\n }\n\n return this._rectangle;\n },\n },\n /**\n * For remapping texture coordinates when rendering PolygonGeometries as GroundPrimitives.\n * @private\n */\n textureCoordinateRotationPoints: {\n get: function () {\n if (!defined(this._textureCoordinateRotationPoints)) {\n this._textureCoordinateRotationPoints = textureCoordinateRotationPoints(\n this\n );\n }\n return this._textureCoordinateRotationPoints;\n },\n },\n});\nexport default PolygonGeometry;\n","import defined from \"../Core/defined.js\";\nimport Ellipsoid from \"../Core/Ellipsoid.js\";\nimport PolygonGeometry from \"../Core/PolygonGeometry.js\";\n\nfunction createPolygonGeometry(polygonGeometry, offset) {\n if (defined(offset)) {\n polygonGeometry = PolygonGeometry.unpack(polygonGeometry, offset);\n }\n polygonGeometry._ellipsoid = Ellipsoid.clone(polygonGeometry._ellipsoid);\n return PolygonGeometry.createGeometry(polygonGeometry);\n}\nexport default createPolygonGeometry;\n"],"names":["Cartographic","BoundingRectangle","Cartesian3","Cartesian2","Quaternion","Matrix3","CesiumMath","GeometryAttribute","ComponentDatatype","defined","GeometryOffsetAttribute","arrayFill","EllipsoidGeodesic","defaultValue","Rectangle","ArcType","PolygonGeometryLibrary","IndexDatatype","GeometryInstance","EllipsoidTangentPlane","PolygonPipeline","WindingOrder","Check","DeveloperError","VertexFormat","Ellipsoid","GeometryPipeline","BoundingSphere","Geometry"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;EA8BA,MAAM,aAAa,GAAG,IAAIA,oBAAY,EAAE,CAAC;EACzC,MAAM,aAAa,GAAG,IAAIA,oBAAY,EAAE,CAAC;EACzC,SAAS,yBAAyB,CAAC,QAAQ,EAAE,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE;EAChE,EAAE,MAAM,MAAM,GAAG,SAAS,CAAC,uBAAuB,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAC;EAC5E,EAAE,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;EAC/B,EAAE,MAAM,OAAO,GAAG,SAAS,CAAC,uBAAuB,CAAC,EAAE,EAAE,aAAa,CAAC,CAAC;EACvE,EAAE,OAAO,CAAC,MAAM,GAAG,MAAM,CAAC;EAC1B,EAAE,SAAS,CAAC,uBAAuB,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;AACjD;EACA,EAAE,MAAM,OAAO,GAAG,SAAS,CAAC,uBAAuB,CAAC,EAAE,EAAE,aAAa,CAAC,CAAC;EACvE,EAAE,OAAO,CAAC,MAAM,GAAG,MAAM,GAAG,GAAG,CAAC;EAChC,EAAE,SAAS,CAAC,uBAAuB,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;EACjD,CAAC;AACD;EACA,MAAM,wBAAwB,GAAG,IAAIC,mCAAiB,EAAE,CAAC;EACzD,MAAM,eAAe,GAAG,IAAIC,kBAAU,EAAE,CAAC;EACzC,MAAM,aAAa,GAAG,IAAIA,kBAAU,EAAE,CAAC;EACvC,MAAM,cAAc,GAAG,IAAIA,kBAAU,EAAE,CAAC;EACxC,MAAM,gBAAgB,GAAG,IAA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E,CAAC,EAAE,EAAE;EACrC,IAAI,IAAI,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;AACxB;EACA,IAAI,YAAY,GAAGC,2CAAqB,CAAC,UAAU,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;EACrE,IAAI,WAAW,GAAG,YAAY,CAAC,sBAAsB;EACrD,MAAM,IAAI;EACV,MAAM,4CAA4C;EAClD,KAAK,CAAC;AACN;EACA,IAAI,YAAY,GAAGC,+BAAe,CAAC,qBAAqB,CAAC,WAAW,CAAC,CAAC;EACtE,IAAI,IAAI,YAAY,KAAKC,4BAAY,CAAC,iBAAiB,EAAE;EACzD,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE,CAAC;EACpC,KAAK;AACL;EACA,IAAI,OAAO,GAAGL,6CAAsB,CAAC,mBAAmB;EACxD,MAAM,IAAI;EACV,MAAM,SAAS;EACf,MAAM,WAAW;EACjB,MAAM,iBAAiB;EACvB,MAAM,OAAO;EACb,KAAK,CAAC;EACN,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI;EACnB,MAAM,IAAIE,iCAAgB,CAAC;EAC3B,QAAQ,QAAQ,EAAE,OAAO;EACzB,OAAO,CAAC;EACR,KAAK,CAAC;EACN,GAAG;AACH;EACA,EAAE,OAAO,IAAI,CAAC;EACd,CAAC;AACD;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;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