User Tools

Site Tools


4rpl:commands:distancepointline

This is an old revision of the document!


Index
Math Utility

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)

Index

4rpl/commands/distancepointline.1662298006.txt.gz · Last modified: 2022/09/04 09:26 by Karsten75