RE: [OpenMap Users] polygon with curved lines

From: Weisburd, Ben <benw_at_ll.mit.edu>
Date: Wed, 13 May 2009 11:21:54 -0400

Ruben,

Creating multiple OMLines and OMCircles, and putting them in an OMGraphicList?
This might be slow if you have a large amount of shapes though.

-Ben


From: owner-openmap-users_at_bbn.com [mailto:owner-openmap-users_at_bbn.com] On Behalf Of Ruben DF
Sent: Wednesday, May 13, 2009 11:01 AM
To: Don Dietrick
Cc: openmap-users_at_bbn.com
Subject: Re: [OpenMap Users] polygon with curved lines

Thanks for answering,

I was seeing OMSpline, however, i need that my object (let's call circuit, for example) has lines which are totally straight and lines curved. I think OMSpline is formed by curved lines always. Perhaps, OMSpline may be implemented in order to draw straight lines between a pair of points?

My hipotetic object would be formed by n points, ok? among those points it could have a OMLine or an OMCircle (the arc which pass between those points, giving a specific radius)

hope this helps to its understanding, thanks again in advance :)

--- El mié, 13/5/09, Don Dietrick <dietrick_at_bbn.com> escribió:

De: Don Dietrick <dietrick_at_bbn.com>
Asunto: Re: [OpenMap Users] polygon with curved lines
Para: "Ruben DF" <rdocasalf_at_yahoo.es>
CC: openmap-users_at_bbn.com
Fecha: miércoles, 13 mayo, 2009 3:21
Hi Ruben,

I think you are looking for the OMSpline class in OpenMap.

Hope this helps,

Don

On May 13, 2009, at 6:17 AM, Ruben DF wrote:

> Hi,
>
> I'm interested in drawing polygons with its lines curved. I know that in theory it is not possible since a polygon is based on lines straight but i need to be able to draw lines curved and straight. I've been reviewing OMPoly class, and i think i should modify this class to convert the straight lines in curved lines (the curved lines would be formed by OMCircle class, wouldn't be?)
>
> I'm lost...anyone can help me?
> Thanks in advance
>




--
[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 Wed May 13 2009 - 11:39:37 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:09 EDT