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>
Public Member Functions | |
Rectangle () | |
int | get_component_index () const |
double | get_height () const |
DPoint | get_new_dlc_position () const |
DPoint | get_old_dlc_position () const |
double | get_width () const |
bool | is_tipped_over () const |
void | set_component_index (int comp_index) |
void | set_height (double h) |
void | set_new_dlc_position (DPoint dlc_pos) |
void | set_old_dlc_position (DPoint dlc_pos) |
void | set_rectangle (double w, double h, double old_dlc_x_pos, double old_dlc_y_pos, int comp_index) |
void | set_width (double w) |
void | tipp_over () |
Private Attributes | |
int | component_index |
the index of the related connected component | |
double | height |
height of the surround. | |
DPoint | new_down_left_corner_position |
new calculated down left corner of ... | |
DPoint | old_down_left_corner_position |
down left corner of the tight surround. | |
bool | tipped_over |
indicates if this rectangle has been tipped over in the packing step | |
double | width |
width of the surround. | |
Friends | |
std::ostream & | operator<< (std::ostream &output, const Rectangle &A) |
Outputstream for Rectangle. | |
std::istream & | operator>> (std::istream &input, Rectangle &A) |
Inputstream for Rectangle. | |
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.
|
inline |
Definition at line 65 of file Rectangle.h.
|
inline |
Definition at line 107 of file Rectangle.h.
|
inline |
Definition at line 105 of file Rectangle.h.
|
inline |
Definition at line 101 of file Rectangle.h.
|
inline |
Definition at line 99 of file Rectangle.h.
|
inline |
Definition at line 103 of file Rectangle.h.
|
inline |
Definition at line 109 of file Rectangle.h.
Definition at line 95 of file Rectangle.h.
Definition at line 93 of file Rectangle.h.
Definition at line 89 of file Rectangle.h.
Definition at line 87 of file Rectangle.h.
|
inline |
Definition at line 77 of file Rectangle.h.
Definition at line 91 of file Rectangle.h.
|
inline |
Definition at line 97 of file Rectangle.h.
Outputstream for Rectangle.
Definition at line 47 of file Rectangle.h.
Inputstream for Rectangle.
Definition at line 59 of file Rectangle.h.
|
private |
the index of the related connected component
Definition at line 116 of file Rectangle.h.
|
private |
|
private |
new calculated down left corner of ...
Definition at line 113 of file Rectangle.h.
|
private |
|
private |
indicates if this rectangle has been tipped over in the packing step
Definition at line 117 of file Rectangle.h.
|
private |