scenario_simulator_v2 C++ API
Namespaces | Functions
distance.hpp File Reference

functions for calculating distance More...

#include <geometry_msgs/msg/pose.hpp>
#include <vector>
Include dependency graph for distance.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

double math::geometry::getDistance (const geometry_msgs::msg::Point &p0, const geometry_msgs::msg::Point &p1)
 
double math::geometry::getDistance (const geometry_msgs::msg::Pose &p0, const geometry_msgs::msg::Point &p1)
 
double math::geometry::getDistance (const geometry_msgs::msg::Point &p0, const geometry_msgs::msg::Pose &p1)
 
double math::geometry::getDistance (const geometry_msgs::msg::Pose &p0, const geometry_msgs::msg::Pose &p1)
 
double math::geometry::getDistance2D (const std::vector< geometry_msgs::msg::Point > &polygon0, const std::vector< geometry_msgs::msg::Point > &polygon1)
 

Detailed Description

functions for calculating distance

Author
Masaya Kataoka (masay.nosp@m.a.ka.nosp@m.taoka.nosp@m.@tie.nosp@m.r4.jp)
Version
0.1
Date
2021-04-01