Click or drag to resize
DigitalRuneGeometryHelperGetClosestPoints Method (Line, Line, Vector3F, Vector3F)
Gets the closest points of two lines.

Namespace: DigitalRune.Geometry
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public static bool GetClosestPoints(
	Line line0,
	Line line1,
	out Vector3F point0,
	out Vector3F point1
)

Parameters

line0
Type: DigitalRune.Geometry.ShapesLine
The first line.
line1
Type: DigitalRune.Geometry.ShapesLine
The second line.
point0
Type: DigitalRune.Mathematics.AlgebraVector3F
The point on line0 that is closest to line1.
point1
Type: DigitalRune.Mathematics.AlgebraVector3F
The point on line1 that is closest to line0.

Return Value

Type: Boolean
if the lines are touching (point0 and point1 are identical); otherwise .
See Also