Ellipses

From: Oscarson Erik <eoscarson@rayva.org>
Date: Thu Sep 26 2002 - 11:14:17 EDT

Hi All,

I'm trying to use OMCircle to create ellipses that have major and minor axes that use Length, like the
OMCircle constructor [OMCircle(float latPoint, float lonPoint, float radius, Length units)] uses for radius.

I'm not sure if this is a good approach or not, but I am planning on extending the OMCircle class (OMEllispe maybe?) and setting something up that would simply derive the H/W from the projection during generation and then use that to rebuild itself as necessary. This approach is geographically unsound, but at smaller zoom levels it might work well enough.

I do not have knowledge of the math necessary to do this correctly, but I'm still going to play around with it.

There is a good possibility that I've missed something that already exists within the API.

Erik Oscarson
Raytheon
eoscarson@rayva.org

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Thu Sep 26 11:14:57 2002

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:33 EDT