define(["exports","./when-cbf8cd21","./Check-35e1a91d","./Math-e66fad2a","./Cartesian2-f1cc35f8","./Transforms-8987016b","./IntersectionTests-5e5e0b10","./Plane-4ac98a85","./EllipsoidRhumbLine-da3058f8","./EllipsoidGeodesic-08d7f796"],function(a,w,e,P,T,v,m,y,A,r){"use strict";var E={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;E.extractHeights=function(a,e){for(var r=a.length,t=new Array(r),n=0;n