klyn.math.geometry.Point.operator+
method
public operator+(notnull vect as Vector<NUMBER>) as Point<NUMBER>
Description

Returns a translated point.

Parameters
ParameterDescription
vectDisplacement applied to this point.
Returns

A new point translated by vect.

Throws
  • NullException if vect is null at runtime; statically null arguments are rejected with TypeError.
Example
p = Point<Double>(1.0, 2.0) + Vector<Double>(3.0, 4.0)