User Tools

Site Tools


ixe:irpl:math_utility:distancepointline

DistancePointLine

DistancePointLine(<-point <-startLine <-endLine) ->dist

Description

Returns the shortest distance between a point and a line. The point, startLine, and endLine are treated as Vector3.

Examples

DistancePointLine(V3(1 0 1) V3(0 0 0) V3(2 0 2)) ->dist
trace(<-dist)
ixe/irpl/math_utility/distancepointline.txt · Last modified: 2025/01/20 09:57 by 127.0.0.1