Click or drag to resize

Rectangledistance Method

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: 11.1.0.0 (11.1.0)
Syntax
public double distance(
	double pX,
	double pY
)

Parameters

pX
Type: SystemDouble
X coordinate of point
pY
Type: SystemDouble
Y coordinate of point

Return Value

Type: Double
return distance beween this rectangle and the passed point.
See Also