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(
Point2f p1,
Point2f p2
)
Public Shared Function Distance (
p1 As Point2f,
p2 As Point2f
) As Double
public:
static double Distance(
Point2f p1,
Point2f p2
)
static member Distance :
p1 : Point2f *
p2 : Point2f -> float
OpenCvSharp.Point2f.Distance = function(p1, p2);
Parameters
- p1
- Type: OpenCvSharp.Point2f
- p2
- Type: OpenCvSharp.Point2f
Return Value
Type:
Double
See Also