Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
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 101 of file NearestRectangleFinder.h.

Constructor & Destructor Documentation

◆ PairRectDist() [1/2]

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

Definition at line 102 of file NearestRectangleFinder.h.

◆ PairRectDist() [2/2]

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

Definition at line 104 of file NearestRectangleFinder.h.

Friends And Related Symbol Documentation

◆ operator<<

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

Definition at line 109 of file NearestRectangleFinder.h.

Member Data Documentation

◆ m_distance

double ogdf::NearestRectangleFinder::PairRectDist::m_distance

Definition at line 115 of file NearestRectangleFinder.h.

◆ m_index

int ogdf::NearestRectangleFinder::PairRectDist::m_index

Definition at line 114 of file NearestRectangleFinder.h.


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