drawings_of_cliques
Edge Struct Reference

Structure to store the edge containing information about next_, prev_, opposite_ edges and vertices and face incident to it. More...

#include <functions.hpp>

Public Member Functions

 Edge ()
 
 Edge (Edge *next, Edge *prev, Edge *opposite, shared_ptr< Vertex > from, shared_ptr< Vertex > to, shared_ptr< Face > face, int index)
 
bool operator== (const Edge &a)
 
bool operator!= (const Edge &a)
 

Public Attributes

int index_ = 0
 
Edgenext_
 
Edgeprev_
 
Edgeopposite_
 
shared_ptr< Vertexfrom_
 
shared_ptr< Vertexto_
 
shared_ptr< Faceface_
 

Detailed Description

Structure to store the edge containing information about next_, prev_, opposite_ edges and vertices and face incident to it.

Constructor & Destructor Documentation

◆ Edge() [1/2]

Edge::Edge ( )
inline

◆ Edge() [2/2]

Edge::Edge ( Edge next,
Edge prev,
Edge opposite,
shared_ptr< Vertex from,
shared_ptr< Vertex to,
shared_ptr< Face face,
int  index 
)
inline

Member Function Documentation

◆ operator!=()

bool Edge::operator!= ( const Edge a)
inline

◆ operator==()

bool Edge::operator== ( const Edge a)
inline

Member Data Documentation

◆ face_

shared_ptr<Face> Edge::face_

◆ from_

shared_ptr<Vertex> Edge::from_

◆ index_

int Edge::index_ = 0

◆ next_

Edge* Edge::next_

◆ opposite_

Edge* Edge::opposite_

◆ prev_

Edge* Edge::prev_

◆ to_

shared_ptr<Vertex> Edge::to_

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