Hi Jamie,
I was able to implement angled ellipses in the next version of
OMCircles. I'll provide a more detailed explanation of what had to
change (it was somewhat significant) in the message announcing the
release. I'm in the process of wrapping up some changes and testing,
and I'm trying to get the release out asap.
Thanks,
Don
On Thursday, October 25, 2001, at 08:45 AM, Jamie Oldham wrote:
> Hi,
>
> I have a need to create angled ellipses. The current OMCircle class
> does not have the capability. We created the attached class. It
> extends the OMCircle class. The following code uses the WimCircle
> class.
>
> public OMCircle createCircle(
>
> float lat1,float lon1,float radius,Color color) {
>
> WimCircle circle = new WimCircle(
>
> lat1, lon1, 9, 20, 10, 20 );
>
> circle.setRotationAngle(0.7853982);
>
> circle.setLinePaint(color);
>
> return circle;
>
> }
>
>
>
> This draws an angled ellipse, however it appears to hose up other
> graphics drawn in the same layer. For instance if an OMLine graphic is
> in the same OMGraphicList it is rendered, but the length and location
> is incorrect. If I simply comment out the set angle call all is well.
>
>
>
> Any thoughts on why this may be occurring.
>
>
>
> Thanks,
>
>
>
> Jamie
>
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Donald Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-- [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 Oct 25 10:23:28 2001
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:32 EDT