.. _program_listing_file_src_ridge_impl_ridge.h: Program Listing for File ridge.h ================================ |exhale_lsh| :ref:`Return to documentation for file ` (``src/ridge_impl/ridge.h``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #pragma once #include // for vector #include "misc/types.h" #include "tal/vector3.h" // for Vector3 namespace sota { class Ridge { public: Ridge(Vector3 start, Vector3 end); Ridge(const Ridge& other) = default; Ridge(Ridge&& other) = default; Ridge& operator=(const Ridge& other) = default; Ridge& operator=(Ridge&& other) = default; void set_points(std::vector points); const std::vector get_points() const; Vector3 start() const { return _start; } Vector3 end() const { return _end; } private: std::vector _points; Vector3 _start; Vector3 _end; }; } // namespace sota