Click or drag to resize

Rectangle.distanceSq Method

Get the square of the distance between two points.

Namespace:  VelocityDBExtensions.Spatial
Assembly:  VelocityDBExtensions (in VelocityDBExtensions.dll) Version: 11.1.0.0 (11.1.0)
Syntax
public double distanceSq(
	double pX,
	double pY
)

Parameters

pX
Type: System.Double
the x coordinate of point
pY
Type: System.Double
the y coordinate of point

Return Value

Type: Double
the square of the distance between two points.
See Also