Atoms Crowd  7.0.0
AtomsUtils::Edge< T > Class Template Reference

Edge class. More...

#include <Edge.h>

Public Member Functions

 Edge ()
 Constructor.
 
 Edge (const T &v0, const T &v1, unsigned int id=0)
 Constructor. More...
 
 Edge (const T &v0, const T &v1, const unsigned int p0Id, const unsigned int p1Id)
 
 ~Edge ()
 Destructor.
 
bool operator== (const Edge< T > &other) const
 Equality operator.
 

Public Attributes

p0
 Vertex 0.
 
p1
 Vertex 1.
 
unsigned int id
 Edge id.
 
unsigned int p0Id
 Vertex 0 id.
 
unsigned int p1Id
 Vertex 1 id.
 

Detailed Description

template<class T>
class AtomsUtils::Edge< T >

Edge class.

Constructor & Destructor Documentation

◆ Edge()

template<class T >
AtomsUtils::Edge< T >::Edge ( const T &  v0,
const T &  v1,
unsigned int  id = 0 
)

Constructor.

Parameters
v0Vertex 0
v1Vertex 1
idEdge id

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