copyFrom method

void copyFrom(
  1. Point<T> point
)

Copies the coordinates from another Point into this Point.

Implementation

void copyFrom(math.Point<T> point) {
  x = point.x;
  y = point.y;
}