PointHelpers extension

Helpers for Point

on

Properties

normalised Point<double>

Available on Point<double>, provided by the PointHelpers extension

Normalised version of point
no setter
offset Offset

Available on Point<double>, provided by the PointHelpers extension

Convert to Offset
no setter

Methods

dot(Point<double> other) double

Available on Point<double>, provided by the PointHelpers extension

Dot product
pointTowards(Point<double> otherPoint, {double proportion = 0.5}) Point<double>

Available on Point<double>, provided by the PointHelpers extension

Go towards an other point by a proportion
rotate(double angle) Point<double>

Available on Point<double>, provided by the PointHelpers extension

Rotate (about 0,0)