- To: <visad-list@xxxxxxxxxxxxx>
- Subject: DelaunayCustom.fill() returning null?
- From: "Scott Anderson" <s.anderson@xxxxxxxxxx>
- Date: Fri, 16 May 2003 10:53:50 +1000
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
Attachment:
FillTest.java
Description: Binary data
- Follow-Ups:
- Re: DelaunayCustom.fill() returning null?
- From: Bill Hibbard
- Re: DelaunayCustom.fill() returning null?