define(["exports","./when-c2e8ef35","./Check-c4f3a3fc","./Math-d30358ed","./Cartesian2-e875d9d2","./Transforms-44592b02","./IntersectionTests-ef7d18d8","./Plane-2d882f9f","./EllipsoidRhumbLine-5134246a","./EllipsoidGeodesic-19bdf744"],function(a,T,e,w,P,v,m,y,A,r){"use strict";var E={numberOfPoints:function(a,e,r){var t=P.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.ceil(Math.sqrt(t/(r*r)))}},o=new P.Cartographic;E.extractHeights=function(a,e){for(var r=a.length,t=new Array(r),i=0;i