TTK
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ttk::dcg::Cell Struct Reference

#include <DiscreteGradient.h>

Inheritance diagram for ttk::dcg::Cell:
ttk::dcg::CellExt

Public Member Functions

 Cell ()=default
 
 Cell (const int dim, const SimplexId id)
 
bool operator== (const Cell &other) const
 
std::string to_string () const
 

Public Attributes

int dim_ {-1}
 
SimplexId id_ {-1}
 

Detailed Description

Basic concept of cell, so it must be able to identify any cell of any dimension.

Definition at line 37 of file DiscreteGradient.h.

Constructor & Destructor Documentation

◆ Cell() [1/2]

ttk::dcg::Cell::Cell ( )
explicitdefault

◆ Cell() [2/2]

ttk::dcg::Cell::Cell ( const int  dim,
const SimplexId  id 
)
inlineexplicit

Definition at line 40 of file DiscreteGradient.h.

Member Function Documentation

◆ operator==()

bool ttk::dcg::Cell::operator== ( const Cell other) const
inline

Definition at line 43 of file DiscreteGradient.h.

◆ to_string()

std::string ttk::dcg::Cell::to_string ( ) const
inline

Definition at line 48 of file DiscreteGradient.h.

Member Data Documentation

◆ dim_

int ttk::dcg::Cell::dim_ {-1}

Definition at line 53 of file DiscreteGradient.h.

◆ id_

SimplexId ttk::dcg::Cell::id_ {-1}

Definition at line 54 of file DiscreteGradient.h.


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