RectangledistanceSq 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
)
Public Function distanceSq (
pX As Double,
pY As Double
) As Double
public:
double distanceSq(
double pX,
double pY
)
member distanceSq :
pX : float *
pY : float -> float
Parameters
- pX
- Type: SystemDouble
the x coordinate of point - pY
- Type: SystemDouble
the y coordinate of point
Return Value
Type:
Doublethe square of the distance between two points.
See Also