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

Returns a point translated in the opposite direction.

Parameters
ParameterDescription
vectDisplacement removed from 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>(4.0, 6.0) - Vector<Double>(1.0, 2.0)