define(["exports","./when-cbf8cd21","./Check-35e1a91d","./Math-e66fad2a","./Cartesian2-44433f55","./Transforms-d9350502","./IntersectionTests-d04ec592","./Plane-94f78648","./EllipsoidRhumbLine-862a2df4","./EllipsoidGeodesic-7779e55a"],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