VTK  9.1.0
Public Member Functions | Public Attributes | List of all members
EdgeTuple< TId, TED > Struct Template Reference

Definition of an edge tuple. More...

#include <vtkStaticEdgeLocatorTemplate.h>

Public Member Functions

 EdgeTuple ()=default
 
 EdgeTuple (TId v0, TId v1, TED data)
 
void Define (TId v0, TId v1)
 
bool operator== (const EdgeTuple &et) const
 
bool operator!= (const EdgeTuple &et) const
 
bool IsEdge (TId v0, TId v1) const
 
bool operator< (const EdgeTuple &tup) const
 

Public Attributes

TId V0
 
TId V1
 
TED Data
 

Detailed Description

template<typename TId, typename TED>
struct EdgeTuple< TId, TED >

Definition of an edge tuple.

Note that the TId template type may be specified to manage memory resources, and provide increased speeds (e.g., sort) by using smaller types (32-int versus 64-bit vtkIdType). It is required that V0 < V1; the tuple constructor enforces this.

Definition at line 76 of file vtkStaticEdgeLocatorTemplate.h.

Constructor & Destructor Documentation

◆ EdgeTuple() [1/2]

template<typename TId , typename TED >
EdgeTuple< TId, TED >::EdgeTuple ( )
default

◆ EdgeTuple() [2/2]

template<typename TId , typename TED >
EdgeTuple< TId, TED >::EdgeTuple ( TId  v0,
TId  v1,
TED  data 
)
inline

Definition at line 87 of file vtkStaticEdgeLocatorTemplate.h.

Member Function Documentation

◆ Define()

template<typename TId , typename TED >
void EdgeTuple< TId, TED >::Define ( TId  v0,
TId  v1 
)
inline

Definition at line 98 of file vtkStaticEdgeLocatorTemplate.h.

◆ operator==()

template<typename TId , typename TED >
bool EdgeTuple< TId, TED >::operator== ( const EdgeTuple< TId, TED > &  et) const
inline

Definition at line 112 of file vtkStaticEdgeLocatorTemplate.h.

◆ operator!=()

template<typename TId , typename TED >
bool EdgeTuple< TId, TED >::operator!= ( const EdgeTuple< TId, TED > &  et) const
inline

Definition at line 117 of file vtkStaticEdgeLocatorTemplate.h.

◆ IsEdge()

template<typename TId , typename TED >
bool EdgeTuple< TId, TED >::IsEdge ( TId  v0,
TId  v1 
) const
inline

Definition at line 122 of file vtkStaticEdgeLocatorTemplate.h.

◆ operator<()

template<typename TId , typename TED >
bool EdgeTuple< TId, TED >::operator< ( const EdgeTuple< TId, TED > &  tup) const
inline

Definition at line 134 of file vtkStaticEdgeLocatorTemplate.h.

Member Data Documentation

◆ V0

template<typename TId , typename TED >
TId EdgeTuple< TId, TED >::V0

Definition at line 78 of file vtkStaticEdgeLocatorTemplate.h.

◆ V1

template<typename TId , typename TED >
TId EdgeTuple< TId, TED >::V1

Definition at line 79 of file vtkStaticEdgeLocatorTemplate.h.

◆ Data

template<typename TId , typename TED >
TED EdgeTuple< TId, TED >::Data

Definition at line 80 of file vtkStaticEdgeLocatorTemplate.h.


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