Open
Graph Drawing
Framework

 v. 2022.02 (Dogwood)
 

ogdf::NearestRectangleFinder::PairRectDist Struct Reference

Represents a rectangle (given by its index) and a distance value. More...

#include <ogdf/basic/NearestRectangleFinder.h>

Public Member Functions

 PairRectDist ()
 
 PairRectDist (int index, double distance)
 

Public Attributes

double m_distance
 
int m_index
 

Friends

std::ostream & operator<< (std::ostream &os, const PairRectDist &p)
 

Detailed Description

Represents a rectangle (given by its index) and a distance value.

Definition at line 106 of file NearestRectangleFinder.h.

Constructor & Destructor Documentation

◆ PairRectDist() [1/2]

ogdf::NearestRectangleFinder::PairRectDist::PairRectDist ( )
inline

Definition at line 108 of file NearestRectangleFinder.h.

◆ PairRectDist() [2/2]

ogdf::NearestRectangleFinder::PairRectDist::PairRectDist ( int  index,
double  distance 
)
inline

Definition at line 110 of file NearestRectangleFinder.h.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const PairRectDist p 
)
friend

Definition at line 115 of file NearestRectangleFinder.h.

Member Data Documentation

◆ m_distance

double ogdf::NearestRectangleFinder::PairRectDist::m_distance

Definition at line 121 of file NearestRectangleFinder.h.

◆ m_index

int ogdf::NearestRectangleFinder::PairRectDist::m_index

Definition at line 120 of file NearestRectangleFinder.h.


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