xmsmesh  1.0
xms::MeEdge Struct Reference

#include <MeWeightMatcher.h>

Public Member Functions

 MeEdge (int a_f0, int a_f1, int a_weight)
 
bool operator== (const MeEdge &a_rhs) const
 

Public Attributes

int m_f0
 Index of one of the adjacent faces.
 
int m_f1
 Index of one of the adjacent faces.
 
int m_weight
 The weight assigned to the edge.
 

Detailed Description

Representation of an edge or pseudo edge between two faces with a weight. The two faces may be adjacent by sharing a common interior edge of the mesh or they may be adjacent to a common boundary vertex of the mesh but separated by at least one other face in between them that also shares that boundary edge.

Definition at line 36 of file MeWeightMatcher.h.

Constructor & Destructor Documentation

◆ MeEdge()

xms::MeEdge::MeEdge ( int  a_f0,
int  a_f1,
int  a_weight 
)
inline

Constructor.

Parameters
[in]a_f0Index of one of the adjacent faces.
[in]a_f1Index of one of the adjacent faces.
[in]a_weightThe weight assigned to the edge.

Definition at line 42 of file MeWeightMatcher.h.

Member Function Documentation

◆ operator==()

bool xms::MeEdge::operator== ( const MeEdge a_rhs) const
inline

Equals operator for test assertions.

Parameters
[in]a_rhsThe ege to compare against.
Returns
true if the edges are equal.

Definition at line 52 of file MeWeightMatcher.h.

References m_f0, m_f1, and m_weight.


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