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
)
Public Function Distance (
r As Rectangle
) As Double
public:
double Distance(
Rectangle r
)
member Distance :
r : Rectangle -> float
Parameters
- r
- Type: VelocityDBExtensions.SpatialRectangle
Rectangle to find the distance to
Return Value
Type:
Doublereturn distance between this rectangle and the passed rectangle
See Also