|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
39 namespace energybased {
48 output <<
"width: " <<
A.width <<
" height: " <<
A.height
49 <<
" old dlc_position: " <<
A.old_down_left_corner_position
50 <<
" new dlc_position: " <<
A.new_down_left_corner_position
51 <<
" coponenet_index: " <<
A.component_index;
53 output <<
" is tipped_over";
77 void set_rectangle(
double w,
double h,
double old_dlc_x_pos,
double old_dlc_y_pos,
The namespace for all OGDF objects.
friend std::istream & operator>>(std::istream &input, Rectangle &A)
Inputstream for Rectangle.
DPoint old_down_left_corner_position
down left corner of the tight surround.
double height
height of the surround.
DPoint new_down_left_corner_position
new calculated down left corner of ...
double get_height() const
void set_height(double h)
Declaration of classes GenericPoint, GenericPolyline, GenericLine, GenericSegment,...
friend std::ostream & operator<<(std::ostream &output, const Rectangle &A)
Outputstream for Rectangle.
void set_component_index(int comp_index)
bool is_tipped_over() const
DPoint get_new_dlc_position() const
void set_rectangle(double w, double h, double old_dlc_x_pos, double old_dlc_y_pos, int comp_index)
void set_old_dlc_position(DPoint dlc_pos)
void set_new_dlc_position(DPoint dlc_pos)
Helping data structure for packing rectangles; The width, height and the position of the down left co...
double width
width of the surround.
int get_component_index() const
int component_index
the index of the related connected component
DPoint get_old_dlc_position() const
bool tipped_over
indicates if this rectangle has been tipped over in the packing step