Example #1
0
File: Loop.php Project: 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();
 }