Java3D's documentation is VERY
POOR.
When I`m going to review the Triangulator class documentation, I find
this:
Triangulator
public Triangulator(int earOrder)
Method Detail
triangulate public void triangulate(GeometryInfo gi)
This routine converts the
GeometryInfo object from primitive type POLYGON_ARRAY to primitive
type
TRIANGLE_ARRAY using polygon decomposition techniques. Example of
usage:
Triangulator tr = new Triangulator(); tr.triangulate(ginfo); // ginfo contains the geometry. shape.setGeometry(ginfo.getGeometryArray()); // shape is a Shape3D.
Parameters:
ginfo - Geometry to be triangulated How can I use a Triangulator class fine?
It appears to run only with ordered points in the GeometryInfo, so I
needn't it,
I can use a GeometryArray instead.
If I want to Triangulate a mass of points, is because I don't have the
points ordered!!!!!!!!!!!
|
- Re: [JAVA3D] Triangulator is useful???? alvaro zabala
- Re: [JAVA3D] Triangulator is useful???? Dan Petersen