min method

Coordinate min(
  1. Coordinate minCoor
)

Implementation

Coordinate min(Coordinate minCoor)
{
  this.x = Math.min(this.x, minCoor.x);
  this.y = Math.min(this.y, minCoor.y);
  return this;
}