Exemplo n.º 1
0
Arquivo: Loop.php Projeto: 9x/Runalyze
 /**
  * @return array
  */
 public function sliceElevation()
 {
     if ($this->Object->hasCorrectedElevations()) {
         return $this->slice(Object::ELEVATIONS_CORRECTED);
     } elseif ($this->Object->hasOriginalElevations()) {
         return $this->slice(Object::ELEVATIONS_ORIGINAL);
     }
     return array();
 }