Class for expressing a Cartesian point (pair of coordinates).
Coordinate for X axis.
Coordinate for Y axis.
Adds two points. Each coordinate gets added with corresponding coordinate of other point (x gets added with x, y with y).
One of the points to add.
Other point to add.
Sum of coordinates.
Calculates a delta (difference) between two points.
Beggining point (one that will be subtracted).
End point (one from which start will be substracted).
Delta (difference) between two points.
Calculates the Euclidean distance between two points.
One of the points.
Other point.
Euclidean distance between the points.
Multiplies each of the coordinates of the point by factor. Result is new point where x * factor, y * factor.
Point to be multiplied.
Factor to multiply by.
Multiplication result.
Generated using TypeDoc
Class for expressing a Cartesian point (pair of coordinates).