define(["exports","./Rectangle-82621db8","./when-54335d57","./Check-24483042","./EllipsoidGeodesic-2a3101f9","./EllipsoidRhumbLine-2550c0e1","./IntersectionTests-afc06c64","./Math-7a8129d6","./Transforms-b51fdb37","./Plane-fd9e13db"],function(a,w,P,e,r,v,m,T,y,A){"use strict";var b={numberOfPoints:function(a,e,r){var t=w.Cartesian3.distance(a,e);return Math.ceil(t/r)},numberOfPointsRhumbLine:function(a,e,r){var t=Math.pow(a.longitude-e.longitude,2)+Math.pow(a.latitude-e.latitude,2);return Math.max(1,Math.ceil(Math.sqrt(t/(r*r))))}},o=new w.Cartographic;b.extractHeights=function(a,e){for(var r=a.length,t=new Array(r),n=0;n