Click or drag to resize

PointD2DDistanceSquared Method

Calculates the squared distance between two points.

Namespace: Altaxo.Geometry
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static double DistanceSquared(
	PointD2D p1,
	PointD2D p2
)

Parameters

p1  PointD2D
First point.
p2  PointD2D
Second point.

Return Value

Double
The distance between points p1 and p2.
See Also