define(["exports","./Cartographic-1bbcab04","./PolylineVolumeGeometryLibrary-ae5f3405","./when-515d5295","./Math-5e38123d","./PrimitiveType-b38a4004","./PolylinePipeline-bf1462fc","./GeometryAttribute-9bc31a7f"],(function(a,e,r,n,t,i,o,l){"use strict";var s={},u=new e.a,c=new e.a,y=new e.a,d=new e.a,m=[new e.a,new e.a],p=new e.a,g=new e.a,f=new e.a,h=new e.a,w=new e.a,v=new e.a,z=new e.a,x=new e.a,A=new e.a,b=new e.a,B=new l.a,E=new i.r;function S(a,n,o,s,y){var d,m=e.a.angleBetween(e.a.subtract(n,a,u),e.a.subtract(o,a,c)),p=s===r.O.BEVELED?1:Math.ceil(m/t.n.toRadians(5))+1,g=3*p,f=new Array(g);f[g-3]=o.x,f[g-2]=o.y,f[g-1]=o.z,d=y?i.r.fromQuaternion(l.a.fromAxisAngle(e.a.negate(a,u),m/p,B),E):i.r.fromQuaternion(l.a.fromAxisAngle(a,m/p,B),E);var h=0;n=e.a.clone(n,u);for(var w=0;w