scenario_simulator_v2 C++ API
Functions
test_bounding_box.cpp File Reference
#include <gtest/gtest.h>
#include <geometry/bounding_box.hpp>
#include <geometry/quaternion/euler_to_quaternion.hpp>
#include <scenario_simulator_exception/exception.hpp>
#include "expect_eq_macros.hpp"
#include "test_utils.hpp"
Include dependency graph for test_bounding_box.cpp:

Functions

 TEST (BoundingBox, getPointsFromBboxDefault)
 
 TEST (BoundingBox, getPointsFromBboxCustom)
 
 TEST (BoundingBox, toPolygon2D_zeroPose)
 
 TEST (BoundingBox, toPolygon2D_onlyTranslation)
 
 TEST (BoundingBox, toPolygon2D_fullPose)
 
 TEST (BoundingBox, getPolygonDistanceWithCollision)
 
 TEST (BoundingBox, getPolygonDistanceTouch)
 
 TEST (BoundingBox, getPolygonDistanceWithoutCollision)
 
int main (int argc, char **argv)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

◆ TEST() [1/8]

TEST ( BoundingBox  ,
getPointsFromBboxCustom   
)

◆ TEST() [2/8]

TEST ( BoundingBox  ,
getPointsFromBboxDefault   
)

◆ TEST() [3/8]

TEST ( BoundingBox  ,
getPolygonDistanceTouch   
)

◆ TEST() [4/8]

TEST ( BoundingBox  ,
getPolygonDistanceWithCollision   
)

◆ TEST() [5/8]

TEST ( BoundingBox  ,
getPolygonDistanceWithoutCollision   
)

◆ TEST() [6/8]

TEST ( BoundingBox  ,
toPolygon2D_fullPose   
)
Note
Test obtaining polygon from bounding box with full transformation applied (translation + rotation).

◆ TEST() [7/8]

TEST ( BoundingBox  ,
toPolygon2D_onlyTranslation   
)
Note
Test obtaining polygon from bounding box with only translation applied.

◆ TEST() [8/8]

TEST ( BoundingBox  ,
toPolygon2D_zeroPose   
)
Note
Test obtaining polygon from bounding box with no transformation applied.