Method b3LineDistance
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
b3LineDistance(Vector3, Vector3, Vector3, Vector3)
Computes the closest points on two infinite lines.
public static extern b3SegmentDistanceResult b3LineDistance(Vector3 p1, Vector3 d1, Vector3 p2, Vector3 d2)Parameters
p1Vector3-
A point on the first line.
d1Vector3-
The direction of the first line.
p2Vector3-
A point on the second line.
d2Vector3-
The direction of the second line.
Returns
- b3SegmentDistanceResult
-
The closest points and their parametric coordinates.