Point2DDistanceSquaredTo Method |
Returns the square of 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 DistanceSquaredTo(
Point2D that
)
Parameters
- that
- Type: Algs4NetPoint2D
that the other point
Return Value
Type:
Doublethe square of the Euclidean distance between this point and that point
See Also