`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? ... | 3DEC © 2019, Itasca | Updated: Nov 12, 2022 |