Returns the distance between the specified two points
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic static double Distance(
Point2d p1,
Point2d p2
)
Public Shared Function Distance (
p1 As Point2d,
p2 As Point2d
) As Double
public:
static double Distance(
Point2d p1,
Point2d p2
)
static member Distance :
p1 : Point2d *
p2 : Point2d -> float
OpenCvSharp.Point2d.Distance = function(p1, p2);
Parameters
- p1
- Type: OpenCvSharpPoint2d
- p2
- Type: OpenCvSharpPoint2d
Return Value
Type:
Double
See Also