PointFDotProduct Method (PointF, PointF) |
Gets the dot product between two points
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public static float DotProduct(
PointF point1,
PointF point2
)
Public Shared Function DotProduct (
point1 As PointF,
point2 As PointF
) As Single
static member DotProduct :
point1 : PointF *
point2 : PointF -> float32
Parameters
- point1
- Type: Eto.DrawingPointF
First point to get the dot product - point2
- Type: Eto.DrawingPointF
Second point to get the dot product
Return Value
Type:
SingleThe dot product (point1.X * point2.X + poin1.Y * point2.Y) between the two points
See Also