coordinates_generator
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, vector< shared_ptr< Vertex > > vertices, shared_ptr< Face > face, int index)
 
bool operator== (const Edge &a)
 
bool operator!= (const Edge &a)
 

Public Attributes

int index_ = 0
 
Edgenext_
 
Edgeprev_
 
Edgeopposite_
 
vector< shared_ptr< Vertex > > vertices_
 
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,
vector< shared_ptr< Vertex > >  vertices,
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_

◆ index_

int Edge::index_ = 0

◆ next_

Edge* Edge::next_

◆ opposite_

Edge* Edge::opposite_

◆ prev_

Edge* Edge::prev_

◆ vertices_

vector<shared_ptr<Vertex> > Edge::vertices_

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