PointHelpers extension

Helpers for Point

on

Properties

normalised Point<double>
Normalised version of point
no setter
offset Offset
Convert to Offset
no setter

Methods

dot(Point<double> other) double
Dot product
pointTowards(Point<double> otherPoint, {double proportion = 0.5}) Point<double>
Go towards an other point by a proportion
rotate(double angle) Point<double>
Rotate (about 0,0)