Let's see if anyone can help me with this...
I am trying to create a GeometryInfo object from a Shape, more precisely
from an Area. To do this I use a PathIterator. The question is:
   when a new subpath starts  (SEG_MOVETO) how do I know whether this
new contour is a hole in the current polygon or a new polygon?

Say the shape is an exclamation mark  "! ", its area has two contours,
but they are  independent so                       contourCount = {1,1}
If the shape is "O ", the area still has two contours, the outline and
the hole,  but
                           contourCount = {2}

How can I decide which case it is just by looking at the values of the
PathIterator?

Thanks

===========================================================================
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