define(["exports","./when-77f4e3be","./Check-d71f548f","./Math-b81aa1f1","./Cartesian2-f3e69a6f","./Transforms-56a56272","./IntersectionTests-0a29a937","./Plane-b2fd006c","./EllipsoidRhumbLine-fd743b33","./EllipsoidGeodesic-85b01788"],function(a,T,e,w,P,v,m,y,A,r){"use strict";var b={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;b.extractHeights=function(a,e){for(var r=a.length,t=new Array(r),i=0;i