Click or drag to resize
LineSegment2IGetSquareDistance Method
Returns the squared distance of this segment to the passed point

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

Parameters

point
Type: Slash.Math.Algebra.VectorsVector2I
Point which distance to the segment should be checked

Return Value

Type: Single
Squared distance to the passed point
See Also