geom.set.raydist
Syntax
- f := geom.set.raydist(g,vpos,vray)
Get the distance from a point to the set along a ray.
Note the algorithm used is optimized under the assumption that many different positions will be calculated using the same ray direction. There is significant overhead each time a new ray direction is used, on the order of the number of polygons in the set. Optimize your FISH functions accordingly.
Returns: Arguments: g - geometric set pointer
vpos - 3d vector position
vray - direction to project
Was this helpful? ... | PFC © 2021, Itasca | Updated: Feb 25, 2024 |