define(["exports","./Cartesian2-d9931622","./when-cbf8cd21","./Check-35e1a91d","./EllipsoidGeodesic-a748f7f3","./EllipsoidRhumbLine-d4f545f0","./IntersectionTests-3b6f524a","./Math-bedecb43","./Transforms-dc557a5f","./Plane-8781ef11"],function(a,m,d,e,r,p,v,w,P,T){"use strict";var y={numberOfPoints:function(a,e,r){e=m.Cartesian3.distance(a,e);return Math.ceil(e/r)},numberOfPointsRhumbLine:function(a,e,r){e=Math.pow(a.longitude-e.longitude,2)+Math.pow(a.latitude-e.latitude,2);return Math.max(1,Math.ceil(Math.sqrt(e/(r*r))))}},o=new m.Cartographic;y.extractHeights=function(a,e){for(var r=a.length,t=new Array(r),n=0;n