Thanks.
By the way, not to be picky, but it is not always trivial to tell the capability
bits appart from flags or other fields, in the online docs ("Field Summary" table).

-guillermo


Doug Gehringer wrote:

> > How come this code works:
> >
> >
> >myBox.getShape(Box.BACK).getGeometry().setCapability(Geometry.ALLOW_INTERSECT);
> >myBox.getShape(Box.BOTTOM).getGeometry().setCapability(Geometry.ALLOW_INTERSECT
> );
> >myBox.getShape(Box.FRONT).getGeometry().setCapability(Geometry.ALLOW_INTERSECT)
> ;
> >myBox.getShape(Box.LEFT).getGeometry().setCapability(Geometry.ALLOW_INTERSECT);
> >myBox.getShape(Box.RIGHT).getGeometry().setCapability(Geometry.ALLOW_INTERSECT)
> ;
> >myBox.getShape(Box.TOP).getGeometry().setCapability(Geometry.ALLOW_INTERSECT);
> >
> >...and this code doesn't:
> >
> >myBox.setCapability(Primitive.ENABLE_GEOMETRY_PICKING);
>
> The Primitive.ENABLE_GEOMETRY_PICKING is a flag for the constructor, not a
> capability bit.  The interface allows you to call:
>
>      Primitive.setPrimitiveFlags(Primitive.ENABLE_GEOMETRY_PICKING)
>
> but the implementation of Box doesn't check the flags after the constructor
> (this is probably a bug).
>
> 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".
begin:vcard
n:Gutierrez;Guillermo
tel;fax:407-984-6323
tel;work:407-984-6543
x-mozilla-html:TRUE
org:Harris Corporation;GCSD
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Software Engineer
x-mozilla-cpt:;-19648
fn:Guillermo Gutierrez
end:vcard

Reply via email to