Collision Checker
collision::trajectory_queries::deprecated Namespace Reference

Functions

std::size_t ccd_trajectory_test_collision_chull (const ShapeGroup &sg, const RectangleOBB &pos1, const RectangleOBB &pos2, bool &res)
 Checks if the convex hull of the Boolean union of two given OBB boxes collides with any of the ShapeGroup objects. More...
 
std::size_t ccd_trajectory_test_collision_obb_sum (const ShapeGroup &sg, const RectangleOBB &pos1, const RectangleOBB &pos2, bool &res)
 Checks if the over-approximative OBB box (OBB sum hull) for the two given OBB boxes collides with any of the ShapeGroup objects. More...
 
std::size_t ccd_trajectory_test_polygon_enclosure_chull (const ShapeGroup &sg, const RectangleOBB &pos1, const RectangleOBB &pos2, bool &res)
 Checks if the convex hull of the Boolean union of two given OBB boxes is enclosed within the ShapeGroup polygons. More...
 
std::size_t ccd_trajectory_test_polygon_enclosure_obb_sum (const ShapeGroup &sg, const RectangleOBB &pos1, const RectangleOBB &pos2, bool &res)
 Checks if the over-approximative OBB box (OBB sum hull) for the two given OBB boxes boxes is enclosed within the ShapeGroup polygons. More...
 

Function Documentation

◆ ccd_trajectory_test_collision_chull()

std::size_t collision::trajectory_queries::deprecated::ccd_trajectory_test_collision_chull ( const ShapeGroup sg,
const RectangleOBB pos1,
const RectangleOBB pos2,
bool &  res 
)

Checks if the convex hull of the Boolean union of two given OBB boxes collides with any of the ShapeGroup objects.

Returns 0 if no error has occured.

Parameters
[in]sgShapeGroup with static obstacles
[in]pos1OBB rectangle 1
[in]pos2OBB rectangle 2
[out]resBoolean collision result

Definition at line 607 of file trajectory_queries.cc.

◆ ccd_trajectory_test_collision_obb_sum()

std::size_t collision::trajectory_queries::deprecated::ccd_trajectory_test_collision_obb_sum ( const ShapeGroup sg,
const RectangleOBB pos1,
const RectangleOBB pos2,
bool &  res 
)

Checks if the over-approximative OBB box (OBB sum hull) for the two given OBB boxes collides with any of the ShapeGroup objects.

Returns 0 if no error has occured.

Parameters
[in]sgShapeGroup with static obstacles
[in]pos1OBB rectangle 1
[in]pos2OBB rectangle 2
[out]resBoolean collision result

Definition at line 632 of file trajectory_queries.cc.

◆ ccd_trajectory_test_polygon_enclosure_chull()

std::size_t collision::trajectory_queries::deprecated::ccd_trajectory_test_polygon_enclosure_chull ( const ShapeGroup sg,
const RectangleOBB pos1,
const RectangleOBB pos2,
bool &  res 
)

Checks if the convex hull of the Boolean union of two given OBB boxes is enclosed within the ShapeGroup polygons.

Returns 0 if no error has occured.

Parameters
[in]sgShapeGroup with static obstacles
[in]pos1OBB rectangle 1
[in]pos2OBB rectangle 2
[out]resBoolean collision result

Definition at line 658 of file trajectory_queries.cc.

◆ ccd_trajectory_test_polygon_enclosure_obb_sum()

std::size_t collision::trajectory_queries::deprecated::ccd_trajectory_test_polygon_enclosure_obb_sum ( const ShapeGroup sg,
const RectangleOBB pos1,
const RectangleOBB pos2,
bool &  res 
)

Checks if the over-approximative OBB box (OBB sum hull) for the two given OBB boxes boxes is enclosed within the ShapeGroup polygons.

Returns 0 if no error has occured.

Parameters
[in]sgShapeGroup with static obstacles
[in]pos1OBB rectangle 1
[in]pos2OBB rectangle 2
[out]resBoolean collision result

Definition at line 682 of file trajectory_queries.cc.