Hi Marc,
The constructor arguments are only for the outer ring. The constructor Length is for the radius units, and nvert is the number of verticies to use to approximate the circle.
-- Don
On Aug 30, 2011, at 5:54 PM, Marc Benstein <MARC.D.BENSTEIN_at_saic.com> wrote:
> I'm getting different behavior with OMRangeRings depending on the constructor used with the setInterval(int) setIntervalUnits(Length) usages.
>
> For instance, using the constructor:
> OMRangeRings(double latPoint, double lonPoint, double radius, Length units, int nverts)
>
> Produces different results when using the constructor:
> OMRangeRings(double latPoint, double lonPoint, double radius);
> then
> rangeRing.setIntervalUnits(units);
> rangeRing.setInterval(nverts);
>
> There is actually only one permutation which produces (what I consider) the expected results.
> OMRangeRings(double latPoint, double lonPoint, double radius, Length units);
> setIntervalUnits(units);
> setInterval(nverts);
>
> This is very strange can anyone confirm this? If not I will provide more details of my implementation.
>
> Thanks!
>
> --
> Marc Benstein
> 505-830-6763
>
> --
> [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"]
--
[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 Tue Aug 30 2011 - 19:22:39 EDT