Lat and Long from Cartesian3?

Is there a built in method for converting from x y z to Lat and Long?

I’m new and am having issues with the same thing. I’ve tried using Cesium.Ellipsoid.WGS84.cartesianToCartographic, but it produces a range that I think may be incorrect (-2,2). I may also just be using it wrong, because I can call Cesium.Ellipsoid.WGS84.cartographicToCartesian to get back the same results even though the lat,lon from cartesianToCartographic all seem to hover over the same place.

I’m new and am having issues with the same thing. I’ve tried using Cesium.Ellipsoid.WGS84.cartesianToCartographic, but it produces a range that I think may be incorrect (-2,2). I may also just be using it wrong, because I can call Cesium.Ellipsoid.WGS84.cartographicToCartesian to get back the same results even though the lat,lon from cartesianToCartographic all seem to hover over the same place.

Is there a built in method for converting from x y z to Lat and Long?

Alexander Wood just responded to my question. Cesium.Ellipsoid.WGS84.cartesianToCartographic will work just fine, and you will get your lat/lon in radians.

Thanks this was exactly what I needed.