Go to the documentation of this file.
5 #include <Eigen/Geometry>
27 using std::pair<Point, Point>::pair;
29 void flip() {std::swap(first, second);};
30 Eigen::Vector2d
diff()
const {
return second - first;}
33 const auto d =
diff();
34 return Eigen::Vector2d{
d[1], -
d[0]}/
d.norm();
48 using Ptr = std::unique_ptr<Node>;
55 Node(std::vector<Segment> segs);
64 template<
class Callback>
67 template<
class Callback>
68 void traverse(
const Callback &cb,
int depth=0)
const;
85 void dump(std::ostream &os)
const;
lsm_localization
Author(s): Ivan Dryanovski
, Ilija Hadzic
autogenerated on Fri Dec 23 2022 03:09:11