RectangleDistance Method (Point) |
Return the distance between this rectangle and the passed 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(
Point p
)
Public Function Distance (
p As Point
) As Double
public:
double Distance(
Point p
)
member Distance :
p : Point -> float
Parameters
- p
- Type: VelocityDBExtensions.SpatialPoint
Point to find the distance to
Return Value
Type:
Doublereturn distance beween this rectangle and the passed point.
See Also