mrs_lib
Various reusable classes, functions and utilities for use in MRS projects
line_operations.h
1 // clang: TomasFormat
2 #ifndef MRS_LIB_LINE_OPERATIONS_H
3 #define MRS_LIB_LINE_OPERATIONS_H
4 
5 #include <eigen3/Eigen/Eigen>
6 
7 namespace mrs_lib
8 {
10 {
11  Eigen::RowVector2d point;
12  bool parallel;
13  bool intersect;
14 
15  explicit Intersection(bool intersect, bool parallel = false, Eigen::RowVector2d point = Eigen::RowVector2d{});
16 };
17 
18 Intersection sectionIntersect(Eigen::RowVector2d start1, Eigen::RowVector2d end1, Eigen::RowVector2d start2, Eigen::RowVector2d end2);
19 
20 } // namespace mrs_lib
21 
22 #endif
mrs_lib
All mrs_lib functions, classes, variables and definitions are contained in this namespace.
Definition: attitude_converter.h:29
mrs_lib::Intersection
Definition: line_operations.h:9