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