After obtaining GeometryArray by
1
| GeometryArray ga = (GeometryArray)obj3d.getGeometry(); |
I would like to obtain a coordinate of this GeometryArray by
1 2
| Point3f coord = new Point3f(); ga.getCoordinate(0, coord); |
However, whenever I traced into the java3d newest source code, namely
I failed to obtain the vertexFormat at this line
1
| int format = ((GeometryArrayRetained)this.retained).vertexFormat; |
And then, an exception was thrown out by the following two lines
1 2
| if ((format & BY_REFERENCE) != 0) throw new IllegalStateException(J3dI18N.getString("GeometryArray82")); |
It looks like I can never obtain the object coordinates directly by
Can anybody please help?
Cheers
JIA Pei