Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

VRageMath.MyMath.DistanceSquaredFromLineSegment

Malware edited this page Dec 25, 2018 · 17 revisions

IndexMyMath

Summary

public float DistanceSquaredFromLineSegment(Vector3 v, Vector3 w, Vector3 p)

Return minimum distance between line segment v-w and point p.

Returns

float

Parameters

Clone this wiki locally