Click or drag to resize
LineSegment2IGetClosestPoint Method
Computes the closest point on the line to the passed point

Namespace: Slash.Math.Geometry.Lines
Assembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntax
public Vector2I GetClosestPoint(
	Vector2I point
)

Parameters

point
Type: Slash.Math.Algebra.VectorsVector2I
Point to find the closest point on the line segment for

Return Value

Type: Vector2I
Closest point on the line segment to the passed point
See Also