define(["exports","./Cartesian2-bd414876","./Cartesian3-e0307675","./Matrix4-4c545f70","./EllipsoidTangentPlane-4d138901","./Math-e73894ab","./PolylinePipeline-0e56eeb9","./Transforms-5b829630","./defaultValue-81eec7ed","./Check-741c5f3c"],(function(e,a,t,n,r,i,s,o,l,c){"use strict";var C=Object.freeze({ROUNDED:0,MITERED:1,BEVELED:2});const u={};function d(e,a){l.defined(u[e])||(u[e]=!0,console.warn(l.defaultValue(a,e)))}d.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.",d.geometryZIndex="Entity geometry with zIndex are unsupported when height or extrudedHeight are defined. zIndex will be ignored",d.geometryHeightReference="Entity corridor, ellipse, polygon or rectangle with heightReference must also have a defined height. heightReference will be ignored",d.geometryExtrudedHeightReference="Entity corridor, ellipse, polygon or rectangle with extrudedHeightReference must also have a defined extrudedHeight. extrudedHeightReference will be ignored";const g=[new t.Cartesian3,new t.Cartesian3],y=new t.Cartesian3,h=new t.Cartesian3,f=new t.Cartesian3,m=new t.Cartesian3,p=new t.Cartesian3,w=new t.Cartesian3,x=new t.Cartesian3,E=new t.Cartesian3,P=new t.Cartesian3,b=new t.Cartesian3,M=new t.Cartesian3,T={};let B=new a.Cartographic;function z(e,a,n,r){const i=e[0],s=e[1],o=t.Cartesian3.angleBetween(i,s),l=Math.ceil(o/r),c=new Array(l);let C;if(a===n){for(C=0;C=0?-C:C}(g,i,e,c);V=n.Matrix3.fromRotationZ(h,V),G.z=C,R=n.Matrix4.multiplyTransformation(R,n.Matrix4.fromRotationTranslation(V,G,O),R);const f=I;f[0]=u;for(let e=0;e0){const r=y?2:1;for(let i=0;i=0};const Z=new t.Cartesian3,k=new t.Cartesian3;T.computePositions=function(e,a,n,r,o){const l=r._ellipsoid,c=function(e,a){const t=new Array(e.length);for(let n=0;n