Method b3PointToSegmentDistance
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
b3PointToSegmentDistance(Vector3, Vector3, Vector3)
Computes the closest point on the segment from a to b.
public static extern Vector3 b3PointToSegmentDistance(Vector3 a, Vector3 b, Vector3 q)Parameters
Returns
- Vector3
-
The closest point on the segment.