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