Ejemplo n.º 1
0
 /**
  * Create new PointConverted as a subtraction of the current one and the given
  * @param IPointConverted $point
  * @param IFieldConfiguration $config
  * @return PointConverted
  */
 public function subtract(IPointConverted $point, IFieldConfiguration $config)
 {
     return new PointConverted($this->latitude - $point->getLatitude(), $this->longitude - $point->getLongitude(), $config);
 }