Houdini 11 VEX VEX functions

This function returns the closest distance between the point Q and a finite line segment between points P0 and P1.

  1. float ptlined(vector P0, vector P1, vector Q)

This function returns the closest distance between the point Q and a finite line segment between points P0 and P1.

Contexts: all