|
ed
|
Functions | |
| void | calculateArea (ConvexHull &c) |
| calculateArea calculate the area of the ConvexHull in xy-plane. More... | |
| void | calculateEdgesAndNormals (ConvexHull &chull) |
| bool | collide (const ConvexHull &c1, const geo::Vector3 &pos1, const ConvexHull &c2, const geo::Vector3 &pos2, float xy_padding, float z_padding) |
| collide Check of two ConvexHull collide with padding in xy and in z. More... | |
| void | create (const std::vector< geo::Vec2f > &points, float z_min, float z_max, ConvexHull &chull, geo::Pose3D &pose) |
| create fill a ConvexHull and put its origin in the middle of the Convexhull More... | |
| void | createAbsolute (const std::vector< geo::Vec2f > &points, float z_min, float z_max, ConvexHull &chull) |
| createAbsolute fill a ConvexHull with its origin in map frame. More... | |
| void ed::convex_hull::calculateArea | ( | ConvexHull & | c | ) |
calculateArea calculate the area of the ConvexHull in xy-plane.
| c | ConvexHull |
Definition at line 221 of file convex_hull_calc.cpp.
| void ed::convex_hull::calculateEdgesAndNormals | ( | ConvexHull & | chull | ) |
Definition at line 111 of file convex_hull_calc.cpp.
| bool ed::convex_hull::collide | ( | const ConvexHull & | c1, |
| const geo::Vector3 & | pos1, | ||
| const ConvexHull & | c2, | ||
| const geo::Vector3 & | pos2, | ||
| float | xy_padding, | ||
| float | z_padding | ||
| ) |
collide Check of two ConvexHull collide with padding in xy and in z.
| c1 | ConvexHull 1 |
| pos1 | position of ConvexHull 1 |
| c2 | ConvexHull 2 |
| pos2 | position of ConvexHull 2 |
| xy_padding | padding in xy-plane |
| z_padding | padding in z-plane |
Definition at line 144 of file convex_hull_calc.cpp.
| void ed::convex_hull::create | ( | const std::vector< geo::Vec2f > & | points, |
| float | z_min, | ||
| float | z_max, | ||
| ConvexHull & | chull, | ||
| geo::Pose3D & | pose | ||
| ) |
create fill a ConvexHull and put its origin in the middle of the Convexhull
| points | points describing the shape. Points should be in map frame. |
| z_min | min height |
| z_max | max height |
| c | filled ConvexHull |
| pose | new pose of the convexhull |
Definition at line 21 of file convex_hull_calc.cpp.
| void ed::convex_hull::createAbsolute | ( | const std::vector< geo::Vec2f > & | points, |
| float | z_min, | ||
| float | z_max, | ||
| ConvexHull & | chull | ||
| ) |
createAbsolute fill a ConvexHull with its origin in map frame.
| points | points describing the shape. Points should be in map frame. |
| z_min | min height |
| z_max | max height |
| c | filled ConvexHull |
Definition at line 83 of file convex_hull_calc.cpp.
1.8.17