VTK
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 ()
 
 EdgeTuple (TId v0, TId v1, TED data)
 
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 T
 

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 74 of file vtkStaticEdgeLocatorTemplate.h.

Constructor & Destructor Documentation

◆ EdgeTuple() [1/2]

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

Definition at line 81 of file vtkStaticEdgeLocatorTemplate.h.

◆ EdgeTuple() [2/2]

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

Definition at line 85 of file vtkStaticEdgeLocatorTemplate.h.

Member Function Documentation

◆ operator==()

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

Definition at line 98 of file vtkStaticEdgeLocatorTemplate.h.

◆ IsEdge()

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

Definition at line 103 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 115 of file vtkStaticEdgeLocatorTemplate.h.

Member Data Documentation

◆ V0

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

Definition at line 76 of file vtkStaticEdgeLocatorTemplate.h.

◆ V1

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

Definition at line 77 of file vtkStaticEdgeLocatorTemplate.h.

◆ T

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

Definition at line 78 of file vtkStaticEdgeLocatorTemplate.h.


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