--
You received this message because you are subscribed to the Google Groups "cesium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cesium-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
var viewer = new Cesium.Viewer('cesiumContainer');
var geodesic = new Cesium.EllipsoidGeodesic();
var cart1 = new Cesium.Cartographic(80,40);
var cart2 = new Cesium.Cartographic(90,50);
geodesic.setEndPoints(cart1, cart2);
console.log(geodesic.surfaceDistance);
I also noticed that on adding a mousmove event,, the coordinate on click event and mousemove event are the same, so I conclude that the problem is not the pickEllipsoid function.
Does it have any relation about the height value of the cartographic object?
--
No I don't. and I also have tried to use getPickRay function but the outcome is the same.
var viewer = new Cesium.Viewer('cesiumContainer');
var camera=viewer.scene.camera;
Sandcastle.addToolbarButton('get view', function() {
var string = "Pos "+camera.position;
string+="\nHeading "+camera.heading/Math.PI*180;
string+="\nPitch "+camera.pitch/Math.PI*180;
string+="\nRoll "+camera.roll/Math.PI*180;
string+="\n";
if(0){console.log(string);}
else{alert(string);}
});
--
You received this message because you are subscribed to a topic in the Google Groups "cesium-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cesium-dev/mwW1mQ7kKgw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cesium-dev+...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to cesium-dev+unsubscribe@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to cesium-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "cesium-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cesium-dev/mwW1mQ7kKgw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cesium-dev+...@googlegroups.com.
disableDepthTestDistance : Number.POSITIVE_INFINITY,
To unsubscribe from this group and all its topics, send an email to cesium-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "cesium-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cesium-dev/mwW1mQ7kKgw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cesium-dev+unsubscribe@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to cesium-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "cesium-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cesium-dev/mwW1mQ7kKgw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cesium-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "cesium-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cesium-dev/mwW1mQ7kKgw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cesium-dev+...@googlegroups.com.