Addition operator - adds scalar to the specified point.

Namespace:  AForge
Assembly:  AForge (in AForge.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public static IntPoint operator +(
	IntPoint point,
	int valueToAdd
)

Parameters

point
Type: AForge..::.IntPoint
Point to increase coordinates of.
valueToAdd
Type: System..::.Int32
Value to add to coordinates of the specified point.

Return Value

Returns new point which coordinates equal to coordinates of the specified point increased by specified value.

See Also