setEmpty method

GPoint setEmpty()

Sets the x and y values of this point to zero.

Returns the updated GPoint instance.

Implementation

GPoint setEmpty() {
  x = y = 0.0;
  return this;
}