39namespace 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";
Declaration of classes GenericPoint, GenericPolyline, GenericLine, GenericSegment,...
Helping data structure for packing rectangles; The width, height and the position of the down left co...
DPoint new_down_left_corner_position
new calculated down left corner of ...
bool is_tipped_over() const
friend std::ostream & operator<<(std::ostream &output, const Rectangle &A)
Outputstream for Rectangle.
void set_component_index(int comp_index)
friend std::istream & operator>>(std::istream &input, Rectangle &A)
Inputstream for Rectangle.
DPoint get_old_dlc_position() const
int component_index
the index of the related connected component
DPoint old_down_left_corner_position
down left corner of the tight surround.
void set_new_dlc_position(DPoint dlc_pos)
bool tipped_over
indicates if this rectangle has been tipped over in the packing step
double width
width of the surround.
double get_height() const
int get_component_index() const
DPoint get_new_dlc_position() const
double height
height of the surround.
void set_old_dlc_position(DPoint dlc_pos)
void set_height(double h)
void set_rectangle(double w, double h, double old_dlc_x_pos, double old_dlc_y_pos, int comp_index)
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
The namespace for all OGDF objects.