TTK
Loading...
Searching...
No Matches
Public Attributes | Friends | List of all members
ttk::DiscreteMorseSandwich::Simplex< n > Struct Template Reference

Ad-hoc struct for sorting simplices. More...

#include <DiscreteMorseSandwich.h>

Public Attributes

SimplexId id_ {}
 
std::array< SimplexId, n > vertsOrder_ {}
 

Friends

bool operator< (const Simplex< n > &lhs, const Simplex< n > &rhs)
 

Detailed Description

template<size_t n>
struct ttk::DiscreteMorseSandwich::Simplex< n >

Ad-hoc struct for sorting simplices.

Adapted version of ttk::PersistentSimplexPairs::Simplex

Definition at line 356 of file DiscreteMorseSandwich.h.

Friends And Related Function Documentation

◆ operator<

template<size_t n>
bool operator< ( const Simplex< n > &  lhs,
const Simplex< n > &  rhs 
)
friend

To compare two vertices according to the filtration (lexicographic order)

Definition at line 364 of file DiscreteMorseSandwich.h.

Member Data Documentation

◆ id_

template<size_t n>
SimplexId ttk::DiscreteMorseSandwich::Simplex< n >::id_ {}

Index in the triangulation

Definition at line 358 of file DiscreteMorseSandwich.h.

◆ vertsOrder_

template<size_t n>
std::array<SimplexId, n> ttk::DiscreteMorseSandwich::Simplex< n >::vertsOrder_ {}

Order field value of the simplex vertices, sorted in decreasing order

Definition at line 361 of file DiscreteMorseSandwich.h.


The documentation for this struct was generated from the following file: