Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: DelaunayCustom.fill() returning null?

Hi Scott,

Thanks for finding this. The fix is in the jar files on
the VisAD ftp server.

Cheers,
Bill

On Fri, 16 May 2003, Scott Anderson wrote:

> Hi,
>       I'm having a problem displaying ellipses. I am displaying ellipse
> outlines in a Gridded2DSet and then using DelaunayCustom.fill() to get an
> Irregular2DSet to display the fill part.
> This works 99% of the time but for the odd ellipse DelaunayCustom.fill()
> returns null and I'm not sure why.
>
> I've attached a sample program that has one ellipse that works and a second
> ellipse that doesn't get filled.
>
>
> The ellipses are made up of 33 points and strangely if you plot between 7
> and 31 of the 'bad' ellipse's points then the fill works. You can test this
> by setting 'numPointInSet'  to 31 (or whatever) instead of 33.
>
> Thanks,
>
> Scott Anderson


  • 2003 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: