RINGMesh
Version 5.0.0
A programming library for geological model meshes
|
#include <ringmesh/ringmesh_tests_config.h>
#include <vector>
#include <ringmesh/basic/geometry.h>
#include <ringmesh/basic/matrix.h>
#include <ringmesh/mesh/aabb.h>
#include <ringmesh/mesh/geogram_mesh.h>
#include <ringmesh/mesh/mesh.h>
#include <ringmesh/mesh/mesh_builder.h>
Go to the source code of this file.
Functions | |
template<index_t DIMENSION> | |
vecn< DIMENSION > | create_vertex (double i, double j) |
template<> | |
vecn< 2 > | create_vertex (double i, double j) |
template<> | |
vecn< 3 > | create_vertex (double i, double j) |
template<index_t DIMENSION> | |
void | add_vertices (LineMeshBuilder< DIMENSION > *builder, index_t size) |
template<index_t DIMENSION> | |
void | add_vertices (SurfaceMeshBuilder< DIMENSION > *builder, index_t size) |
template<index_t DIMENSION> | |
void | add_vertices (VolumeMeshBuilder< DIMENSION > *builder, index_t size) |
template<index_t DIMENSION> | |
void | add_edges (LineMeshBuilder< DIMENSION > *builder, index_t size) |
template<index_t DIMENSION> | |
void | add_triangles (SurfaceMeshBuilder< DIMENSION > *builder, index_t size) |
template<index_t DIMENSION> | |
void | add_hexs (VolumeMeshBuilder< DIMENSION > *builder, index_t size) |
template<index_t DIMENSION> | |
void | check_tree (const SurfaceAABBTree< DIMENSION > &tree, index_t size) |
template<index_t DIMENSION> | |
void | create_5_tets_from_hex (VolumeMeshBuilder< DIMENSION > &builder, const GeogramVolumeMesh< DIMENSION > &mesh_hex, index_t hex) |
template<index_t DIMENSION> | |
void | decompose_in_tet (const GeogramVolumeMesh< DIMENSION > &hex_mesh, GeogramVolumeMesh< DIMENSION > &tet_mesh, index_t size) |
template<index_t DIMENSION> | |
void | test_SurfaceAABB () |
template<index_t DIMENSION> | |
void | test_locate_cell_on_3D_mesh (const GeogramVolumeMesh< DIMENSION > &mesh) |
template<index_t DIMENSION> | |
void | test_VolumeAABB () |
template<index_t DIMENSION> | |
void | test_locate_edge_on_1D_mesh (const GeogramLineMesh< DIMENSION > &mesh) |
template<index_t DIMENSION> | |
void | test_LineAABB () |
int | main () |
void add_edges | ( | LineMeshBuilder< DIMENSION > * | builder, |
index_t | size | ||
) |
Definition at line 110 of file test-aabb.cpp.
void add_hexs | ( | VolumeMeshBuilder< DIMENSION > * | builder, |
index_t | size | ||
) |
Definition at line 148 of file test-aabb.cpp.
void add_triangles | ( | SurfaceMeshBuilder< DIMENSION > * | builder, |
index_t | size | ||
) |
Definition at line 121 of file test-aabb.cpp.
void add_vertices | ( | LineMeshBuilder< DIMENSION > * | builder, |
index_t | size | ||
) |
Definition at line 69 of file test-aabb.cpp.
void add_vertices | ( | SurfaceMeshBuilder< DIMENSION > * | builder, |
index_t | size | ||
) |
Definition at line 79 of file test-aabb.cpp.
void add_vertices | ( | VolumeMeshBuilder< DIMENSION > * | builder, |
index_t | size | ||
) |
Definition at line 93 of file test-aabb.cpp.
void check_tree | ( | const SurfaceAABBTree< DIMENSION > & | tree, |
index_t | size | ||
) |
Definition at line 183 of file test-aabb.cpp.
void create_5_tets_from_hex | ( | VolumeMeshBuilder< DIMENSION > & | builder, |
const GeogramVolumeMesh< DIMENSION > & | mesh_hex, | ||
index_t | hex | ||
) |
Definition at line 244 of file test-aabb.cpp.
Definition at line 57 of file test-aabb.cpp.
Definition at line 57 of file test-aabb.cpp.
Definition at line 63 of file test-aabb.cpp.
void decompose_in_tet | ( | const GeogramVolumeMesh< DIMENSION > & | hex_mesh, |
GeogramVolumeMesh< DIMENSION > & | tet_mesh, | ||
index_t | size | ||
) |
Definition at line 301 of file test-aabb.cpp.
int main | ( | ) |
Definition at line 394 of file test-aabb.cpp.
void test_LineAABB | ( | ) |
Definition at line 381 of file test-aabb.cpp.
void test_locate_cell_on_3D_mesh | ( | const GeogramVolumeMesh< DIMENSION > & | mesh | ) |
Definition at line 332 of file test-aabb.cpp.
void test_locate_edge_on_1D_mesh | ( | const GeogramLineMesh< DIMENSION > & | mesh | ) |
Definition at line 364 of file test-aabb.cpp.
void test_SurfaceAABB | ( | ) |
Definition at line 316 of file test-aabb.cpp.
void test_VolumeAABB | ( | ) |
Definition at line 347 of file test-aabb.cpp.