define(["exports","./when-cbf8cd21","./Check-35e1a91d","./Math-e66fad2a","./Rectangle-062e2e03","./Transforms-abe53271","./IntersectionTests-96d630e7","./Plane-bf8bc62d","./EllipsoidRhumbLine-1bf9291f","./EllipsoidGeodesic-dd495efe"],function(a,w,e,P,T,v,m,y,A,r){"use strict";var b={numberOfPoints:function(a,e,r){var t=T.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 T.Cartographic;b.extractHeights=function(a,e){for(var r=a.length,t=new Array(r),n=0;n