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

functions for calculating distance More...

#include <boost/assign/list_of.hpp>
#include <boost/geometry.hpp>
#include <boost/geometry/geometries/point_xy.hpp>
#include <boost/geometry/geometries/polygon.hpp>
#include <cmath>
#include <geometry/distance.hpp>
Include dependency graph for distance.cpp:

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