UtilNumericsCalculateDistance2D Method
Calculates the distance between two points in two dimensions in the coordinate system.
Namespace: DevCase.Core.Math.CommonAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static double CalculateDistance2D(
PointF pointA,
PointF pointB
)
Public Shared Function CalculateDistance2D (
pointA As PointF,
pointB As PointF
) As Double
Dim pointA As PointF
Dim pointB As PointF
Dim returnValue As Double
returnValue = UtilNumerics.CalculateDistance2D(pointA,
pointB)
public:
static double CalculateDistance2D(
PointF pointA,
PointF pointB
)
static member CalculateDistance2D :
pointA : PointF *
pointB : PointF -> float
No code example is currently available or this language may not be supported.
- pointA PointF
-
The first point.
- pointB PointF
-
The second point.
Double
The resulting distance.
This is a code example.
No code example is currently available or this language may not be supported.
Dim distance As Double = CalculateDistance2D(New PointF(1, 1), New PointF(2, 2))
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.