define(["exports","./Cartesian3-7e9cc2ff","./Matrix2-e3fb4559","./defaultValue-81eec7ed","./Check-741c5f3c","./EllipsoidGeodesic-6de45192","./EllipsoidRhumbLine-9c6b32ea","./IntersectionTests-73b87d72","./Math-5f585871","./Matrix4-d34187af","./Plane-4f75b3df"],(function(e,t,a,n,i,r,o,s,c,l,u){"use strict";const h={numberOfPoints:function(e,a,n){const i=t.Cartesian3.distance(e,a);return Math.ceil(i/n)},numberOfPointsRhumbLine:function(e,t,a){const n=Math.pow(e.longitude-t.longitude,2)+Math.pow(e.latitude-t.latitude,2);return Math.max(1,Math.ceil(Math.sqrt(n/(a*a))))}},f=new a.Cartographic;h.extractHeights=function(e,t){const a=e.length,n=new Array(a);for(let i=0;i0){a=n.defaultValue(a,l.Matrix4.IDENTITY);const o=l.Matrix4.inverseTransformation(a,g),c=l.Matrix4.multiplyByPoint(o,t.Cartesian3.ZERO,C),h=t.Cartesian3.normalize(l.Matrix4.multiplyByPointAsVector(o,t.Cartesian3.UNIT_Y,d),d),f=u.Plane.fromPointNormal(c,h,p),y=t.Cartesian3.normalize(l.Matrix4.multiplyByPointAsVector(o,t.Cartesian3.UNIT_X,m),m),A=u.Plane.fromPointNormal(c,y,w);let b=1;i.push(t.Cartesian3.clone(e[0]));let E=i[0];const M=e.length;for(let a=1;a