MEPP2 Project
Classes | Namespaces | Typedefs | Functions
utils_are_meshes_identical.inl File Reference
#include <fstream>
#include <sstream>
#include <iostream>
#include <vector>
#include <deque>
#include <set>
#include <utility>
#include <algorithm>
#include <cmath>
#include <numeric>
Include dependency graph for utils_are_meshes_identical.inl:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  are_meshes_identical::Point
 
class  are_meshes_identical::Vertex
 
class  are_meshes_identical::Face
 
class  are_meshes_identical::Mesh
 

Namespaces

 are_meshes_identical
 

Typedefs

typedef std::set< std::pair< FloatT, FloatT > > are_meshes_identical::ErrorContainer
 

Functions

std::string are_meshes_identical::get_next_line (std::ifstream &file)
 
FloatT are_meshes_identical::relative_distance (FloatT a, FloatT b)
 
FloatT are_meshes_identical::absolute_distance (FloatT a, FloatT b)
 
bool are_meshes_identical::arevectorequal (const std::vector< FloatT > &v1, const std::vector< FloatT > &v2, FloatT attr_threshold, bool relative_threshold, ErrorContainer *errors_log)
 
std::ostream & are_meshes_identical::operator<< (std::ostream &os, const Point &p)
 
std::ostream & are_meshes_identical::operator<< (std::ostream &os, const Vertex &v)
 
std::ostream & are_meshes_identical::operator<< (std::ostream &os, const Face &p)
 
bool are_meshes_equal (std::string filename_a, std::string filename_b, bool verbose, FloatT geom_threshold, FloatT attr_threshold, bool relative_thresholds)
 
bool are_meshes_equal (std::string filename_a, std::string filename_b, bool verbose, FloatT threshold, bool relative_threshold)
 
bool are_meshes_equal (std::string filename_a, std::string filename_b, bool verbose)
 

Function Documentation

◆ are_meshes_equal() [1/3]

bool are_meshes_equal ( std::string  filename_a,
std::string  filename_b,
bool  verbose 
)
inline

Definition at line 925 of file utils_are_meshes_identical.inl.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ are_meshes_equal() [2/3]

bool are_meshes_equal ( std::string  filename_a,
std::string  filename_b,
bool  verbose,
FloatT  geom_threshold,
FloatT  attr_threshold,
bool  relative_thresholds 
)
inline

Definition at line 781 of file utils_are_meshes_identical.inl.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ are_meshes_equal() [3/3]

bool are_meshes_equal ( std::string  filename_a,
std::string  filename_b,
bool  verbose,
FloatT  threshold,
bool  relative_threshold 
)
inline

Definition at line 908 of file utils_are_meshes_identical.inl.

Here is the call graph for this function: