Click or drag to resize

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
)

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