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.
Hi John, > I used Gridded2DSet to draw a map coastline on the display. This worked > fine. How do you now fill the inner region with a colour? I will appreciate > if you can provide a little code. This method in visad/DelaunayCustom.java: public static Irregular2DSet fill(Gridded2DSet set) will return an Irregular2DSet for the interior of the region surrounded by set, assuming it is a Gridded2DSet with manifold dimension = 1 that does not self-interset. Note 'fill' connects the first and last points of set to make a closed boundary. Then link the Irregular2DSet to your Display, passing an array of ConstantMaps to addReference() to define the color. Good luck, Bill
visad
archives: