38 namespace energybased {
49 output <<
"width: "<< A.
width<<
" height: "<<A.
height<<
" old dlc_position: " 53 output<<
" is tipped_over";
81 old_dlc_y_pos,
int comp_index)
bool leq(const Rectangle &A, const Rectangle &B) const
DPoint get_new_dlc_position() const
NUMBER m_y
The y-coordinate.
void set_new_dlc_position(DPoint dlc_pos)
bool less(const Rectangle &A, const Rectangle &B) const
int get_component_index() const
double get_height() const
NUMBER m_x
The x-coordinate.
Needed for sorting algorithms in ogdf/List and ogdf/Array.
void set_height(double h)
bool leq(const Rectangle &A, const Rectangle &B) const
DPoint get_old_dlc_position() const
friend istream & operator>>(istream &input, Rectangle &A)
Inputstream for Rectangle.
RectangleComparerHeight()
bool equal(const Rectangle &A, const Rectangle &B) const
bool equal(const Rectangle &A, const Rectangle &B) const
bool less(const Rectangle &A, const Rectangle &B) const
bool is_tipped_over() const
~RectangleComparerWidth()
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 DPoint, DPolyline, DLine, DRect, DIntersectableRect, DScaler.
int component_index
the index of the related connected component
friend ostream & operator<<(ostream &output, const Rectangle &A)
Outputstream for Rectangle.
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)
~RectangleComparerHeight()