/** * Load shape * @param int $time * @return float */ private function loadShape($time) { $Shape = new Shape(DB::getInstance(), SessionAccountHandler::getId(), Configuration::General()->runningSport(), Configuration::Vdot()); $Shape->calculateAt($time); return $Shape->value(); }