Functions
test_bounding_box.cpp File Reference
#include <geometric_shapes/bodies.h>
#include <geometric_shapes/body_operations.h>
#include <random_numbers/random_numbers.h>
#include <gtest/gtest.h>
Include dependency graph for test_bounding_box.cpp:

Go to the source code of this file.

Functions

shapes::MeshcreateBoxMesh (const Eigen::Vector3d &min, const Eigen::Vector3d &max)
 
int main (int argc, char **argv)
 
 TEST (BoxBoundingBox, Box1)
 
 TEST (BoxBoundingBox, Box2)
 
 TEST (CylinderBoundingBox, Cylinder1)
 
 TEST (CylinderBoundingBox, Cylinder2)
 
 TEST (MergeBoundingBoxes, Merge1)
 
 TEST (MergeBoundingBoxes, OBBApprox1)
 
 TEST (MergeBoundingBoxes, OBBContains1)
 
 TEST (MergeBoundingBoxes, OBBContains2)
 
 TEST (MergeBoundingBoxes, OBBInvalid)
 
 TEST (MeshBoundingBox, Mesh1)
 
 TEST (MeshBoundingBox, Mesh2)
 
 TEST (SphereBoundingBox, Sphere1)
 
 TEST (SphereBoundingBox, Sphere2)
 

Function Documentation

◆ createBoxMesh()

shapes::Mesh* createBoxMesh ( const Eigen::Vector3d min,
const Eigen::Vector3d max 
)

Definition at line 344 of file test_bounding_box.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 661 of file test_bounding_box.cpp.

◆ TEST() [1/13]

TEST ( BoxBoundingBox  ,
Box1   
)

Definition at line 151 of file test_bounding_box.cpp.

◆ TEST() [2/13]

TEST ( BoxBoundingBox  ,
Box2   
)

Definition at line 177 of file test_bounding_box.cpp.

◆ TEST() [3/13]

TEST ( CylinderBoundingBox  ,
Cylinder1   
)

Definition at line 228 of file test_bounding_box.cpp.

◆ TEST() [4/13]

TEST ( CylinderBoundingBox  ,
Cylinder2   
)

Definition at line 254 of file test_bounding_box.cpp.

◆ TEST() [5/13]

TEST ( MergeBoundingBoxes  ,
Merge1   
)

Definition at line 513 of file test_bounding_box.cpp.

◆ TEST() [6/13]

TEST ( MergeBoundingBoxes  ,
OBBApprox1   
)

Definition at line 618 of file test_bounding_box.cpp.

◆ TEST() [7/13]

TEST ( MergeBoundingBoxes  ,
OBBContains1   
)

Definition at line 554 of file test_bounding_box.cpp.

◆ TEST() [8/13]

TEST ( MergeBoundingBoxes  ,
OBBContains2   
)

Definition at line 588 of file test_bounding_box.cpp.

◆ TEST() [9/13]

TEST ( MergeBoundingBoxes  ,
OBBInvalid   
)

Definition at line 530 of file test_bounding_box.cpp.

◆ TEST() [10/13]

TEST ( MeshBoundingBox  ,
Mesh1   
)

Definition at line 431 of file test_bounding_box.cpp.

◆ TEST() [11/13]

TEST ( MeshBoundingBox  ,
Mesh2   
)

Definition at line 459 of file test_bounding_box.cpp.

◆ TEST() [12/13]

TEST ( SphereBoundingBox  ,
Sphere1   
)

\Author Martin Pecka

Definition at line 44 of file test_bounding_box.cpp.

◆ TEST() [13/13]

TEST ( SphereBoundingBox  ,
Sphere2   
)

Definition at line 70 of file test_bounding_box.cpp.



geometric_shapes
Author(s): Ioan Sucan , Gil Jones
autogenerated on Tue Aug 13 2024 02:40:57