Hi all

I really need some informations about the Triangulator
class and the triangleArray...

I use a geometryInfo(Polygon array)
with coordinates and indices arrays
then i triangulate it
then recomputeIndice()
so i've got a geometryInfo (TriangleArray)

i want to know each triangles and each group of three
vertices witch defines it.
in fact i need to know each triangle and his
neighborhood (3 other triangles)
the topology....

how can i get the coordinates or the
coordinatesIndices ( better) of each vertices of a
triangle(encapsulate in a triangleArray) ?
and the number of triangles ?

so i've test too ways to find each triangle:
first :
I use the geometryInfo.CoordinatesIndices array after
the triangulation
and the  geometryInfo.coordinates Array

and i suppose that each group of three indices in the
indice Array define a triangle(with vertices ordering
in counter clockwise winding....)
[0,1,2,2,1,3,......] --> T1 =[0,1,2] ; T2 = [2,1,3]
.....
but it's seem to be wrong

the second way:
i try to use directly the trianglearray
but there are no indice array in a geometryArray ??
where is the topology in a geometryArray?

it's a very basic question, but i don't find any
thinks about it in the archive.

So, any help would be very appreciate
Thanks in advance.

regards
Renaud

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to