Clarification on RTC_GEOMETRY_TYPE_FLAT_LINEAR_CURVE "u" value.

Clarification on RTC_GEOMETRY_TYPE_FLAT_LINEAR_CURVE "u" value.


The documentation says "The intersection with the curve segment stores the parametric hit location
along the curve segment as u-coordinate (range 0 to +1)."

As linear curves are represented as cylindrical segments, then a ray will intersect the cylinder in two places. Is the point represented by "u"  the closest point of the "ray" to the line? Or is the projection of the 'first' intersection of the ray with the cylinder onto the line?

2 posts / 0 new

Best Reply

It is the u-value of the closest point on the line to the ray.

Leave a Comment

Please sign in to add a comment. Not a member? Join today