Returns the Euclidean distance between this point and that point.
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic double DistanceTo(
Point2D that
)
Parameters
- that
- Type: Algs4NetPoint2D
the other point
Return Value
Type:
Doublethe Euclidean distance between this point and that point
See Also