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: Fill convezPolygons

Hi Olver,

First, just send to visad@xxxxxxxxxxxxxxxx and don't also
CC visad-list@xxxxxxxxxxxxx. That just sends everyone two
copies.

Try using DelaunayCustom.fill() to do this. You can either
pass your polygon outline in a float[][] array, as in
visad/examples/Region.java, or as a Gridded2DSet with
manifold dimension = 1. fill() returns an Irregular2DSet.

Good luck,
Bill

On Tue, 16 Aug 2005, Olver Olfrey Hernandez Navarro wrote:

> Hi all.
>
> I tried to instance an Irregular2DSet with an convex Polygon and  it doesn't 
> work like I expected.
>
> When I used either Gridded2DSet or Irregular2DSet it displays 
> Gridded2dSet.png and Irregular2dSet.png respectly.
>
> I need the polygon like the Gridded2DSet, but filled like the Irregular2DSet.
>
> How can I do it?
>
> Thanks a lot.
>
> Olver Hernandez
>
>


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