nikhiljoglekar
Mechanical
- Apr 8, 2003
- 17
hi
I am trying to fire ray and find out the intersection wit the parts. However I want to know if the ray is entering or exiting. The help document says that the intersection type that is returned is "OR'd". I am not sure what this means. How can I extract the information from the results? The help description is as follows
"(long) intersectionType type of intersection found. Refer to swRayPtsResults_e . Entry/Exit information (swRayPtsResultsENTER and swRayPtsResultsEXIT) will only be returned when swRayPtsOptsENTRY_EXIT is specified in the options argument in the ModelDoc2::RayIntersections call) If more than one intersection type is found, then the intersectionType will contain an OR'd set of values from the swRayPtsResults_e enumeration.
"
I am trying to fire ray and find out the intersection wit the parts. However I want to know if the ray is entering or exiting. The help document says that the intersection type that is returned is "OR'd". I am not sure what this means. How can I extract the information from the results? The help description is as follows
"(long) intersectionType type of intersection found. Refer to swRayPtsResults_e . Entry/Exit information (swRayPtsResultsENTER and swRayPtsResultsEXIT) will only be returned when swRayPtsOptsENTRY_EXIT is specified in the options argument in the ModelDoc2::RayIntersections call) If more than one intersection type is found, then the intersectionType will contain an OR'd set of values from the swRayPtsResults_e enumeration.
"