When I try to use PickResult.GetGeometryArrayIndex(), I get an exception
"GeometryArray: no capability to get vertex count". I'm having trouble
finding where to set that capability.
Daniel Dvorak
-----Original Message-----
From: Doug Gehringer [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 21, 2000 1:53 PM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] PickResult on Shape3D with multiple geometry
> From: "Dvorak, Daniel J." <[EMAIL PROTECTED]>
>
> The doc for PickResult says "If the Shape3D being picked has multiple
> geometry arrays, the arrays are stored in the PickResult and referred to
by
> a geometry index. " It sounds like there's some index that points to
which
> geometry of the Shape3D was picked. How do I get this index?
This is stored as part of the PickIntersection, since it is specific to the
intersection. Use PickIntersection.getGeometryArrayIndex().
PickIntersection.getGeometryArray() will return the array directly.
Doug Gehringer
Sun Microsystems
===========================================================================
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".
===========================================================================
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".