Example #1
0
 /**
  * Indicates whether some other Point is equal to this one
  *
  * @param PointInterface $point other Point
  * @return bool true if this Point is the equal to some other Point; false otherwise
  */
 public function equals(PointInterface $point) : bool
 {
     return $this->x() === $point->x() && $this->y() === $point->y();
 }