Helping data structure for packing rectangles; The width, height and the position of the down left corner of the tight surroundig rectangle is represented for each connected component of the graph.
More...
#include <ogdf/energybased/fmmm/maar_packing/Rectangle.h>
Helping data structure for packing rectangles; The width, height and the position of the down left corner of the tight surroundig rectangle is represented for each connected component of the graph.
Definition at line 45 of file Rectangle.h.
◆ Rectangle()
| ogdf::energybased::fmmm::Rectangle::Rectangle |
( |
| ) |
|
|
inline |
◆ get_component_index()
| int ogdf::energybased::fmmm::Rectangle::get_component_index |
( |
| ) |
const |
|
inline |
◆ get_height()
| double ogdf::energybased::fmmm::Rectangle::get_height |
( |
| ) |
const |
|
inline |
◆ get_new_dlc_position()
| DPoint ogdf::energybased::fmmm::Rectangle::get_new_dlc_position |
( |
| ) |
const |
|
inline |
◆ get_old_dlc_position()
| DPoint ogdf::energybased::fmmm::Rectangle::get_old_dlc_position |
( |
| ) |
const |
|
inline |
◆ get_width()
| double ogdf::energybased::fmmm::Rectangle::get_width |
( |
| ) |
const |
|
inline |
◆ is_tipped_over()
| bool ogdf::energybased::fmmm::Rectangle::is_tipped_over |
( |
| ) |
const |
|
inline |
◆ set_component_index()
| void ogdf::energybased::fmmm::Rectangle::set_component_index |
( |
int |
comp_index | ) |
|
|
inline |
◆ set_height()
| void ogdf::energybased::fmmm::Rectangle::set_height |
( |
double |
h | ) |
|
|
inline |
◆ set_new_dlc_position()
| void ogdf::energybased::fmmm::Rectangle::set_new_dlc_position |
( |
DPoint |
dlc_pos | ) |
|
|
inline |
◆ set_old_dlc_position()
| void ogdf::energybased::fmmm::Rectangle::set_old_dlc_position |
( |
DPoint |
dlc_pos | ) |
|
|
inline |
◆ set_rectangle()
| void ogdf::energybased::fmmm::Rectangle::set_rectangle |
( |
double |
w, |
|
|
double |
h, |
|
|
double |
old_dlc_x_pos, |
|
|
double |
old_dlc_y_pos, |
|
|
int |
comp_index |
|
) |
| |
|
inline |
◆ set_width()
| void ogdf::energybased::fmmm::Rectangle::set_width |
( |
double |
w | ) |
|
|
inline |
◆ tipp_over()
| void ogdf::energybased::fmmm::Rectangle::tipp_over |
( |
| ) |
|
|
inline |
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & |
output, |
|
|
const Rectangle & |
A |
|
) |
| |
|
friend |
◆ operator>>
| std::istream & operator>> |
( |
std::istream & |
input, |
|
|
Rectangle & |
A |
|
) |
| |
|
friend |
◆ component_index
| int ogdf::energybased::fmmm::Rectangle::component_index |
|
private |
the index of the related connected component
Definition at line 116 of file Rectangle.h.
◆ height
| double ogdf::energybased::fmmm::Rectangle::height |
|
private |
height of the surround.
rect.
Definition at line 115 of file Rectangle.h.
◆ new_down_left_corner_position
| DPoint ogdf::energybased::fmmm::Rectangle::new_down_left_corner_position |
|
private |
new calculated down left corner of ...
Definition at line 113 of file Rectangle.h.
◆ old_down_left_corner_position
| DPoint ogdf::energybased::fmmm::Rectangle::old_down_left_corner_position |
|
private |
down left corner of the tight surround.
rect.
Definition at line 112 of file Rectangle.h.
◆ tipped_over
| bool ogdf::energybased::fmmm::Rectangle::tipped_over |
|
private |
indicates if this rectangle has been tipped over in the packing step
Definition at line 117 of file Rectangle.h.
◆ width
| double ogdf::energybased::fmmm::Rectangle::width |
|
private |
width of the surround.
rect.
Definition at line 114 of file Rectangle.h.
The documentation for this class was generated from the following file: