RINGMesh  Version 5.0.0
A programming library for geological model meshes
test-transrot.cpp File Reference
#include <ringmesh/ringmesh_tests_config.h>
#include <ringmesh/basic/geometry.h>
#include <ringmesh/geomodel/geomodel_api.h>
#include <ringmesh/geomodel/geomodel_builder.h>

Go to the source code of this file.

Functions

void build_geomodel (GeoModel3D &geomodel)
 
void check_vertex (const vec3 &in, const vec3 &result)
 
void test_translate (GeoModel3D &geomodel)
 
void test_rotation (GeoModel3D &geomodel)
 
void check_matrices (const GEO::Matrix< 4, double > &lhs, const GEO::Matrix< 4, double > &rhs)
 
void test_rotation_matrix ()
 
int main ()
 

Function Documentation

◆ build_geomodel()

void build_geomodel ( GeoModel3D &  geomodel)

Definition at line 49 of file test-transrot.cpp.

◆ check_matrices()

void check_matrices ( const GEO::Matrix< 4, double > &  lhs,
const GEO::Matrix< 4, double > &  rhs 
)

Definition at line 170 of file test-transrot.cpp.

◆ check_vertex()

void check_vertex ( const vec3 in,
const vec3 result 
)

Definition at line 127 of file test-transrot.cpp.

◆ main()

int main ( )

Definition at line 279 of file test-transrot.cpp.

◆ test_rotation()

void test_rotation ( GeoModel3D &  geomodel)

Definition at line 152 of file test-transrot.cpp.

◆ test_rotation_matrix()

void test_rotation_matrix ( )

Definition at line 186 of file test-transrot.cpp.

◆ test_translate()

void test_translate ( GeoModel3D &  geomodel)

Definition at line 135 of file test-transrot.cpp.