]> rtime.felk.cvut.cz Git - hubacji1/bcar.git/blobdiff - incl/bcar.hh
Add operator<< for line
[hubacji1/bcar.git] / incl / bcar.hh
index 64610552aa61c6ba6f1ed42cceecc75869df9598..3cef171b475cb1bd381c0aee62445b2f3044879e 100644 (file)
@@ -113,6 +113,8 @@ public:
        bool intersects_with(Point const& c, double const r);
 
        double len() const;
+
+       friend std::ostream& operator<<(std::ostream& out, Line const& li);
 };
 
 /*! Store coordinates `x`, `y`, and heading `h`. */