pfSegsIsectNode

New Message Reply Date view Thread view Subject view Author view

William Briggs (stimpy++at++niesten.arc.nasa.gov)
Wed, 25 May 94 17:40:27 -0700


I am using Performer 1.0 for 4.0.5 on a SkyWriter--no RE.
I am projecting a segment from the tip of my virtual
finger and intersecting virtual objects with
pfSegsIsectNode. This works fine.

Now I would like to report the range of those objects
from my finger. According to the manual, the pfIsect
contains a pfSeg which should contain the length of
the clipped intersecting pfSeg. I leave the discriminator
callback NULL, so

> the behavior is the same as if the discriminator
> returned PFTRAV_CONT | PFTRAV_IS_CLIP_END, so that the intersection
> nearest the start of the segment will be returned.

However, the length of that pfSeg is always the full
length of my original pfSeg. I need that clipped length.

-------------------+------------------------------+------------------------
William Briggs | MailStop 262-2 | "The computer screen
NASA Ames Research | PO Box 1000 | has become the retina
(415) 604-6438 | Moffett Field, CA 94035-1000 | of the mind's eye."
-------------------+------------------------------+------------------------


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:18 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.