define(["exports","./Cartesian3-e0307675","./Cartesian2-bd414876","./defaultValue-81eec7ed","./Check-741c5f3c","./EllipsoidGeodesic-e7a5ca44","./EllipsoidRhumbLine-592e8885","./IntersectionTests-80510c7b","./Math-e73894ab","./Matrix4-4c545f70","./Plane-bc8b6777"],(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,p),p),f=u.Plane.fromPointNormal(c,h,d),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