|
I get the geometry of a primitive sphere . The
geometry is of type TriangleStripArray . The problem is that when I ask for the
coordinates , I receive the coordinates of the strips of the sphere .many
points are repeated over and over in the array .
Is there a simple way to get unrepeated vertices in
an array?
Bassam
GeometryArray ga =(GeometryArray )sphere.getShape().getGeometry(); Point3f[] Q = new Point3f[ga.getVertexCount()]; ga.getCoordinates(0,Q); |
- Re: [JAVA3D] How to get a point coordinate array Bassam
- Re: [JAVA3D] How to get a point coordinate array Justin Couch
- Re: [JAVA3D] How to get a point coordinate array Lars van Gemerden
- Re: [JAVA3D] How to get a point coordinate array Bassam
- Re: [JAVA3D] How to get a point coordinate arra... Alessandro Borges
- Re: [JAVA3D] How to get a point coordinate array Paul Pantera
