inline void debugThrow(const std::string& string) {
    debugThrow(std::runtime_error(string));
}
inline void debugThrowIf(const std::string& string, bool condition) {
    if (condition) {
        debugThrow(std::runtime_error(string));
    }
}
std::unique_ptr<Path> TrapezoidalPath::subPath(float startTime,
                                               float endTime) const {
    debugThrow("This function is not implemented");
    return nullptr;
}