JansenFelipe\OMR\Point::getY PHP Метод

getY() публичный Метод

Position Y
public getY ( ) : float
Результат float
    public function getY()
    {
        return $this->y;
    }

Usage Example

Пример #1
0
 /**
  * Calculates angle between two points
  *
  * @param Point $a
  * @param Point $b
  * @return float
  */
 protected function anglePoints(Point $a, Point $b)
 {
     $diffX = $b->getX() - $a->getX();
     $diffY = $b->getY() - $a->getY();
     return rad2deg(atan($diffY / $diffX));
 }
All Usage Examples Of JansenFelipe\OMR\Point::getY