mrs_lib
Various reusable classes, functions and utilities for use in MRS projects
Loading...
Searching...
No Matches
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
7namespace mrs_lib
8{
9
10namespace safety_zone
11{
12
14{
15 Eigen::RowVector2d point;
16 bool parallel;
17 bool intersect;
18
19 explicit Intersection(bool intersect, bool parallel = false, Eigen::RowVector2d point = Eigen::RowVector2d{});
20};
21
22Intersection sectionIntersect(Eigen::RowVector2d start1, Eigen::RowVector2d end1, Eigen::RowVector2d start2, Eigen::RowVector2d end2);
23
24} // namespace safety_zone
25
26} // namespace mrs_lib
27
28#endif
All mrs_lib functions, classes, variables and definitions are contained in this namespace.
Definition attitude_converter.h:24
Definition line_operations.h:14