/** * path.h * Path represents a route from somewhere to somewhere * * Created By Tony Huang @ 2014-5-22 * Copyright (c) 2014 Shanghai SlamTec Co., Ltd. */ #pragma once #include #include #include #include namespace rpos { namespace features { namespace motion_planner { namespace detail { class PathImpl; } class RPOS_CORE_API Path : public rpos::system::ObjectHandle{ public: RPOS_OBJECT_CTORS(Path); Path(const std::vector& points); #ifdef RPOS_HAS_RVALUE_REFS Path(std::vector&& points); #endif ~Path(); public: const std::vector& getPoints() const; Path truncate(unsigned int size); }; } } }