Tracing a Ray
Method Introduced:
The method
wfcModel.WModel.ComputeRayIntersections returns a list of intersections between a ray and a model as a
Selections object. The method finds intersections in both directions from the start point of the ray, and assigns each intersection a depth—the distance from the ray start point in the direction defined. The intersections in the reverse direction have a negative depth. The intersections are ordered from the negative depth to the positive depth. The input arguments are:
• ApertureRadius—Specifies the aperture value in pixels. If you give a value less than –1.0, the value is taken from the Creo configuration file option pick_aperture_radius. If that option is not set, the function uses the default value of 7.0.
• Ray—Specifies the ray. A ray is specified in terms of a start location and direction vector as a Ray object.