RectangledistanceSq Method |
Get the square of the distance between two points.
Namespace:
VelocityDBExtensions.Spatial
Assembly:
VelocityDBExtensions (in VelocityDBExtensions.dll) Version: 8.2.1.0 (8.2.1)
Syntaxpublic 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