define(["exports","./Cartesian2-40b13f31","./when-7b580518","./Check-3917d765","./EllipsoidGeodesic-bdbae7c8","./EllipsoidRhumbLine-6baec512","./IntersectionTests-2dece3b4","./Math-87254c13","./Transforms-a7d32f6c","./Plane-69fa3eea"],function(a,m,p,e,r,d,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