RINGMesh
Version 5.0.0
A programming library for geological model meshes
|
#include <ringmesh/ringmesh_tests_config.h>
#include <vector>
#include <geogram/basic/vecg.h>
#include <ringmesh/basic/geometry.h>
Go to the source code of this file.
Functions | |
void | verdict (bool condition, std::string test_name) |
template<index_t DIMENSION> | |
bool | are_almost_equal (const vecn< DIMENSION > &vec0, const vecn< DIMENSION > &vec1) |
void | test_line_plane_intersection () |
void | test_segment_plane_intersection () |
void | test_segment_triangle_intersection () |
void | test_circle_plane_intersection () |
void | test_disk_segment_intersection () |
void | test_circle_triangle_intersection () |
void | test_plane_plane_intersection () |
void | test_line_line_intersection () |
void | test_segment_segment_intersection () |
void | test_segment_line_intersection () |
void | test_line_sphere_intersection () |
void | test_segment_sphere_intersection () |
int | main () |
bool are_almost_equal | ( | const vecn< DIMENSION > & | vec0, |
const vecn< DIMENSION > & | vec1 | ||
) |
Definition at line 63 of file test-geometry-intersection.cpp.
int main | ( | ) |
Definition at line 618 of file test-geometry-intersection.cpp.
void test_circle_plane_intersection | ( | ) |
Definition at line 232 of file test-geometry-intersection.cpp.
void test_circle_triangle_intersection | ( | ) |
Definition at line 313 of file test-geometry-intersection.cpp.
void test_disk_segment_intersection | ( | ) |
Definition at line 279 of file test-geometry-intersection.cpp.
void test_line_line_intersection | ( | ) |
Definition at line 388 of file test-geometry-intersection.cpp.
void test_line_plane_intersection | ( | ) |
Definition at line 69 of file test-geometry-intersection.cpp.
void test_line_sphere_intersection | ( | ) |
Definition at line 524 of file test-geometry-intersection.cpp.
void test_plane_plane_intersection | ( | ) |
Definition at line 352 of file test-geometry-intersection.cpp.
void test_segment_line_intersection | ( | ) |
Definition at line 471 of file test-geometry-intersection.cpp.
void test_segment_plane_intersection | ( | ) |
Definition at line 111 of file test-geometry-intersection.cpp.
void test_segment_segment_intersection | ( | ) |
Definition at line 421 of file test-geometry-intersection.cpp.
void test_segment_sphere_intersection | ( | ) |
Definition at line 565 of file test-geometry-intersection.cpp.
void test_segment_triangle_intersection | ( | ) |
Definition at line 161 of file test-geometry-intersection.cpp.
void verdict | ( | bool | condition, |
std::string | test_name | ||
) |
Definition at line 50 of file test-geometry-intersection.cpp.