Point2dDotProduct Method (Point2d, Point2d)
|
Calculates the dot product of two 2D vectors.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic static double DotProduct(
Point2d p1,
Point2d p2
)
Public Shared Function DotProduct (
p1 As Point2d,
p2 As Point2d
) As Double
public:
static double DotProduct(
Point2d p1,
Point2d p2
)
static member DotProduct :
p1 : Point2d *
p2 : Point2d -> float
OpenCvSharp.Point2d.DotProduct = function(p1, p2);
Parameters
- p1
- Type: OpenCvSharpPoint2d
- p2
- Type: OpenCvSharpPoint2d
Return Value
Type:
Double
See Also