scenario_simulator_v2 C++ API
Namespaces | Functions
collision.hpp File Reference
#include <geometry/bounding_box.hpp>
#include <geometry/polygon/polygon.hpp>
#include <geometry_msgs/msg/pose.hpp>
#include <traffic_simulator_msgs/msg/bounding_box.hpp>
#include <vector>
Include dependency graph for collision.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 math
 
 math::geometry
 

Functions

bool math::geometry::checkCollision2D (const geometry_msgs::msg::Pose &pose0, const traffic_simulator_msgs::msg::BoundingBox &bbox0, const geometry_msgs::msg::Pose &pose1, const traffic_simulator_msgs::msg::BoundingBox &bbox1)
 
bool math::geometry::contains (const std::vector< geometry_msgs::msg::Point > &polygon, const geometry_msgs::msg::Point &point)