Click or drag to resize

RectangleDistance Method (Rectangle)

Return the distance between this rectangle and the passed rectangle. If the rectangles overlap, the distance is zero.

Namespace:  VelocityDBExtensions.Spatial
Assembly:  VelocityDBExtensions (in VelocityDBExtensions.dll) Version: 11.1.0.0 (11.1.0)
Syntax
public double Distance(
	Rectangle r
)

Parameters

r
Type: VelocityDBExtensions.SpatialRectangle
Rectangle to find the distance to

Return Value

Type: Double
return distance between this rectangle and the passed rectangle
See Also