Click or drag to resize

DtUtilsDistancePtSegSqr2D(RcVec3f, SpanSingle, Int32, Int32, 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,
	Span<float> verts,
	int p,
	int q,
	out float t
)

Parameters

pt  RcVec3f
 
verts  SpanSingle
 
p  Int32
 
q  Int32
 
t  Single
 

Return Value

Single
See Also