RINGMesh
Version 5.0.0
A programming library for geological model meshes
|
#include <algorithm>
#include <vector>
Go to the source code of this file.
Namespaces | |
RINGMesh | |
Classes to build GeoModel from various inputs. | |
Functions | |
template<typename T , typename container > | |
index_t | RINGMesh::find (const container &in, const T &value) |
Returns the position of the first entity matching. More... | |
template<typename T , typename container > | |
index_t | RINGMesh::find_sorted (const container &in, const T &value) |
Returns the position of the first entity matching. More... | |
template<typename T , typename container > | |
bool | RINGMesh::contains (const container &in, const T &value) |
template<typename T , typename container > | |
bool | RINGMesh::contains_sorted (const container &in, const T &value) |
template<typename T1 , typename T2 > | |
void | RINGMesh::indirect_sort (std::vector< T1 > &input, std::vector< T2 > &output) |
Bubble sorting of input and output vectors according to values of input. More... | |
template<typename CONTAINER , typename CMP > | |
void | RINGMesh::sort_unique (CONTAINER &container, const CMP &cmp) |
Sorts a container and suppresses all duplicated entities. More... | |
template<typename CONTAINER > | |
void | RINGMesh::sort_unique (CONTAINER &container) |
Sorts a container and suppresses all duplicated entities. More... | |