Click or drag to resize

DtUtilsDistancePtSegSqr2D(RcVec3f, RcVec3f, RcVec3f, Single) Method


Namespace: NeoAxis.DotRecast.Detour
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public static float DistancePtSegSqr2D(
	RcVec3f pt,
	RcVec3f p,
	RcVec3f q,
	out float t
)

Parameters

pt  RcVec3f
 
p  RcVec3f
 
q  RcVec3f
 
t  Single
 

Return Value

Single
See Also