/* 2020-9-22 15:23:25 | 版权所有 军懋国兴 */ define(["./when-cbf8cd21","./Check-35e1a91d","./Math-69007a69","./Cartesian2-43e3a3be","./Transforms-2d1ac5ec","./RuntimeError-f4c64df1","./WebGLConstants-95ceb4e9","./ComponentDatatype-607c9a0c","./GeometryAttribute-2303bbfb","./GeometryAttributes-90846c5f","./AttributeCompression-ea810287","./GeometryPipeline-1ea64cde","./EncodedCartesian3-29a09d7b","./IndexDatatype-79bb407c","./IntersectionTests-459f6f08","./Plane-46b5436f","./VertexFormat-fe64931e","./arrayRemoveDuplicates-d96adeb6","./BoundingRectangle-943d30f6","./EllipsoidTangentPlane-b5927ee3","./EllipsoidRhumbLine-357c11e7","./PolygonPipeline-2ee85025","./PolylineVolumeGeometryLibrary-7daaef99","./EllipsoidGeodesic-007422da","./PolylinePipeline-be169602"],function(u,c,n,g,T,e,t,G,A,R,r,I,i,O,o,a,y,l,s,d,p,S,h,m,f){"use strict";var v={};function q(e,t){if(!u.defined(e))throw new c.DeveloperError("identifier is required.");u.defined(v[e])||(v[e]=!0,console.warn(u.defaultValue(t,e)))}function b(e){var t=(e=u.defaultValue(e,u.defaultValue.EMPTY_OBJECT)).polylinePositions,r=e.shapePositions;if(!u.defined(t))throw new c.DeveloperError("options.polylinePositions is required.");if(!u.defined(r))throw new c.DeveloperError("options.shapePositions is required.");this._positions=t,this._shape=r,this._ellipsoid=g.Ellipsoid.clone(u.defaultValue(e.ellipsoid,g.Ellipsoid.WGS84)),this._cornerType=u.defaultValue(e.cornerType,h.CornerType.ROUNDED),this._vertexFormat=y.VertexFormat.clone(u.defaultValue(e.vertexFormat,y.VertexFormat.DEFAULT)),this._granularity=u.defaultValue(e.granularity,n.CesiumMath.RADIANS_PER_DEGREE),this._workerName="createPolylineVolumeGeometry";var i=1+t.length*g.Cartesian3.packedLength;i+=1+r.length*g.Cartesian2.packedLength,this.packedLength=i+g.Ellipsoid.packedLength+y.VertexFormat.packedLength+2}q.geometryOutlines="Entity geometry outlines are unsupported on terrain. Outlines will be disabled. To enable outlines, disable geometry terrain clamping by explicitly setting height to 0.",q.geometryZIndex="Entity geometry with zIndex are unsupported when height or extrudedHeight are defined. zIndex will be ignored",q.geometryHeightReference="Entity corridor, ellipse, polygon or rectangle with heightReference must also have a defined height. heightReference will be ignored",q.geometryExtrudedHeightReference="Entity corridor, ellipse, polygon or rectangle with extrudedHeightReference must also have a defined extrudedHeight. extrudedHeightReference will be ignored",b.pack=function(e,t,r){if(!u.defined(e))throw new c.DeveloperError("value is required");if(!u.defined(t))throw new c.DeveloperError("array is required");var i;r=u.defaultValue(r,0);var n=e._positions,o=n.length;for(t[r++]=o,i=0;i