Hello all !
In Orthographic projection, when you call the inverse method on a XY point
on screen which is out of the world (ie. in "space"), it returns a valid
LatLonPoint which is plottable (according to the isPlottable() method).
When you look closely to the "inverse" method implementation, you can see
that the computed lat/lon is NaN/NaN, but it is changed to the projection's
center latLonPoint before it is returned.
Why ???
I think it should return the NaN values ! Or at least a non-plottable
latLonPoint !
For the moment I must check the returned value : if the returned
latLonPoint is equal to the projection's center, and if the passed XY
position is not the center of the mapBean, then the point is out of world
(= in space).
That's not really clean imo...
Regards,
Stephane W.
--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Thu Dec 21 2006 - 06:00:05 EST