Click or drag to resize

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
)

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: Int32
The dot product (point1.X * point2.X + poin1.Y * point2.Y) between the two points
See Also