File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -135,8 +135,8 @@ QgsRect QgsRect::intersect( QgsRect * rect ) const
135
135
136
136
intersection.setXMinimum ( xmin > rect->xMin () ? xmin : rect->xMin () );
137
137
intersection.setXMaximum ( xmax < rect->xMax () ? xmax : rect->xMax () );
138
- intersection.setYmin ( ymin > rect->yMin () ? ymin : rect->yMin () );
139
- intersection.setYmax ( ymax < rect->yMax () ? ymax : rect->yMax () );
138
+ intersection.setYMinimum ( ymin > rect->yMin () ? ymin : rect->yMin () );
139
+ intersection.setYMaximum ( ymax < rect->yMax () ? ymax : rect->yMax () );
140
140
return intersection;
141
141
}
142
142
@@ -292,8 +292,8 @@ void QgsRect::unionRect( const QgsRect& r )
292
292
{
293
293
if ( r.xMin () < xMin () ) setXMinimum ( r.xMin () );
294
294
if ( r.xMax () > xMax () ) setXMaximum ( r.xMax () );
295
- if ( r.yMin () < yMin () ) setYmin ( r.yMin () );
296
- if ( r.yMax () > yMax () ) setYmax ( r.yMax () );
295
+ if ( r.yMin () < yMin () ) setYMinimum ( r.yMin () );
296
+ if ( r.yMax () > yMax () ) setYMaximum ( r.yMax () );
297
297
}
298
298
299
299
bool QgsRect::isFinite () const
Original file line number Diff line number Diff line change @@ -53,10 +53,10 @@ class CORE_EXPORT QgsRect
53
53
void setXMinimum ( double x );
54
54
// ! Set the maximum x value
55
55
void setXMaximum ( double x );
56
+ // ! Set the minimum y value
57
+ void setYMinimum ( double y );
56
58
// ! Set the maximum y value
57
- void setYmin ( double y );
58
- // ! Set the maximum y value
59
- void setYmax ( double y );
59
+ void setYMaximum ( double y );
60
60
// ! Set a rectangle so that min corner is at max
61
61
// and max corner is at min. It is NOT normalized.
62
62
void setMinimal ();
You can’t perform that action at this time.
0 commit comments