Return the distance between a rectangle and a point. If the rectangle contains the point, the distance is zero.
Namespace:
VelocityDBExtensions.Spatial
Assembly:
VelocityDBExtensions (in VelocityDBExtensions.dll) Version: 8.2.1.0 (8.2.1)
Syntaxpublic double distance(
double pX,
double pY
)
Public Function distance (
pX As Double,
pY As Double
) As Double
public:
double distance(
double pX,
double pY
)
member distance :
pX : float *
pY : float -> float
Parameters
- pX
- Type: SystemDouble
X coordinate of point - pY
- Type: SystemDouble
Y coordinate of point
Return Value
Type:
Doublereturn distance beween this rectangle and the passed point.
See Also