coordinates_generator
Vertex Struct Reference

Class to store vertex, containing information about edge to_ going into it More...

#include <functions.hpp>

Public Member Functions

 Vertex ()
 
 Vertex (double x, double y)
 
 Vertex (Edge *to)
 
bool operator== (const Vertex &a)
 
bool operator!= (const Vertex &a)
 
bool operator== (Vertex *a)
 
bool operator!= (Vertex *a)
 
bool operator== (const Vertex *a)
 
bool operator!= (const Vertex *a)
 

Public Attributes

Edgeto_
 
int index_ = 0
 
double x_
 
double y_
 
pair< double, double > shift_first = make_pair(0, 0)
 
pair< double, double > shift_second = make_pair(0, 0)
 

Detailed Description

Class to store vertex, containing information about edge to_ going into it

Constructor & Destructor Documentation

◆ Vertex() [1/3]

Vertex::Vertex ( )
inline

◆ Vertex() [2/3]

Vertex::Vertex ( double  x,
double  y 
)
inline

◆ Vertex() [3/3]

Vertex::Vertex ( Edge to)
inline

Member Function Documentation

◆ operator!=() [1/3]

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

◆ operator!=() [2/3]

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

◆ operator!=() [3/3]

bool Vertex::operator!= ( Vertex a)
inline

◆ operator==() [1/3]

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

◆ operator==() [2/3]

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

◆ operator==() [3/3]

bool Vertex::operator== ( Vertex a)
inline

Member Data Documentation

◆ index_

int Vertex::index_ = 0

◆ shift_first

pair<double, double> Vertex::shift_first = make_pair(0, 0)

◆ shift_second

pair<double, double> Vertex::shift_second = make_pair(0, 0)

◆ to_

Edge* Vertex::to_

◆ x_

double Vertex::x_

◆ y_

double Vertex::y_

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