TypeLib Xojo support Plugin |

# Point.Operator_Add Method

A + operator to be able to add two points together.

Operator_Add(
rval as EinhugurGeometry.Point) as EinhugurGeometry.Point

#### Parameters

rval
  The point to add.

#### Returns

EinhugurGeometry.Point

#### Remarks

Addition works as follows: (1,2) + (3,5) = (4,7)

Dim p1 as EinhugurGeometry.Point
Dim p2 as EinhugurGeometry.Point
Dim p3 as EinhugurGeometry.Point
p1 = new EinhugurGeometry.Point(2,4)
p2 = new EinhugurGeometry.Point(6,9)
p3 = p1 + p2

#### See Also

Point Class