Yes, of course, However it does give you an array of Object[] rather than
Point3f[] which can be annoying.
Regards
Mike
-Original Message-
On Behalf Of Christophe LOREK
to produce your array, you could use the toArray method of the HashSet
(inherited from AbstractCollection)
Set set=ne
Hi,
Best thanks for your answers and solutions!
Now I got the vertices to be able to sort them
in a Grid-Like structure I decided the using
of a TreeSet and implement a Comparator,
which will not work in that way.
may anybody of you know how to make point3f comparable?
I got a hint from another
> may anybody of you know how to make point3f comparable?
Yes, I do know. You can't. A classical mathematical theorem says that any
set which can be ordered is 1-dimensional.
If you know a lot about the coordinates you might be able sort the points
first on y then on x (perhaps after a suitable r
Mike Goldwater wrote:
may anybody of you know how to make point3f comparable?
Yes, I do know. You can't. A classical mathematical theorem says that any
set which can be ordered is 1-dimensional.
If you know a lot about the coordinates you might be able sort the points
first on y then on x (perhaps
Moin
> but thats the point, when my first plan come again:
> The software I develop needs at first the surface,
> which is described in a VRML97 ElevationGrid,
> so I need the method of getting the hight-values
> just onetime to get a numerical model of the raster
> in the defined order (goal is t
One slight problem on the FAQ, under IDEs.
For netbeans it directs to the java3d.netbeans.org site for the netbeans
module. As it reports on the site, this is now incompatible with the
latest netbeans release and will not compile against it.
Tony
===