public function getLats(): array
    {
        $lats = [];

        foreach ($this->points as $point) {
            /** @var Coordinate $point */
            $lats[] = $point->getLat();
        }

        return $lats;
    }
public function getLats(): array
    {
        $lats = [];

        foreach ($this->points as $point) {
            
            $lats[] = $point->getLat();
        }

        return $lats;
    }
public function getLats ( ) : array { $ lats = [ ] ; foreach ( $ this -> points as $ point ) { /** @var Coordinate $point */ $ lats [ ] = $ point -> getLat ( ) ; } return $ lats ; }
Return all polygon point's latitudes.

@return float[]
Return all polygon point s latitudes .