Olivier Georg (ogeorg++at++imtsg14.epfl.ch)
Wed, 13 Aug 1997 11:33:10 -0600
The methods pfGeode::isect(pfSegSet* segSet, pfHit **hits[]) yields an array of
pointers to pointers to pfHit objects, with as many entries as there are
segments in segSet.
If I want all the intersections of a segment with the geode, I need a
discriminator callback returning PFTRAV_CONT (not ORing PFTRAV_IS_CLIP_END).
With this, my callback is called for all the intersections, but upon completion
of isect, I get only one intersection.
* Is it possible to get all of them ?
* Must I manage myself the intersections from inside the callback ?
* Finally, in the manual, only hits[i][0] is talked about, and not hits[i][j]
(j!=0); what are they used for ?
Olivier
--
--------------------------------------------------------------------
| Olivier Georg \__ e-mail: ogeorg++at++imt12.epfl.ch |
| Rte de Chailly 159 \__ home: http://imtsg7.epfl.ch/~ogeorg |
| 1814 La Tour-de-Peilz \__ tel: +41 21 944 15 42 |
------------------------------\__-----------------------------------
| On ne peut pas tuer le temps \__ |
| Sans blesser un peu l'eternite \__ ________ __o |
| ( As if you could kill time ) \__ _____ _`\<,_ |
| ( without injuring eternity. ) \__ ___ (_)/ (_) |
| Henry David Thoreau \ |
--------------------------------------------------------------------
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:43 PDT