This repository has been archived by the owner on Oct 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 407
cdbfbc81 be0e 65e5 f296 37b0576c6933
haplokuon edited this page May 6, 2023
·
1 revision
netDxf 3.0.0 Library
Calculates the minimum distance between a point and a line.
Namespace: netDxf
Assembly: netDxf (in netDxf.dll) Version: 3.0.0
C#
public static double PointLineDistance(
Vector3 p,
Vector3 origin,
Vector3 dir
)
VB
Public Shared Function PointLineDistance (
p As Vector3,
origin As Vector3,
dir As Vector3
) As Double
C++
public:
static double PointLineDistance(
Vector3 p,
Vector3 origin,
Vector3 dir
)
F#
static member PointLineDistance :
p : Vector3 *
origin : Vector3 *
dir : Vector3 -> float
Double
The minimum distance between the point and the line.
MathHelper Class
PointLineDistance Overload
netDxf Namespace