define(["exports","./when-cbf8cd21","./Check-35e1a91d","./Math-e66fad2a","./Cartesian2-b5192002","./Transforms-ec939e08","./IntersectionTests-515e661e","./Plane-4488a260","./EllipsoidRhumbLine-f859a51f","./EllipsoidGeodesic-3d51dc17"],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