Skip to content

Commit

Permalink
Fix oriented minimum bounding box. fixes qgis#33532
Browse files Browse the repository at this point in the history
  • Loading branch information
lbartoletti committed Feb 6, 2020
1 parent d2639bc commit cb39a99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/geometry/qgsgeometry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ QgsGeometry QgsGeometry::orientedMinimumBoundingBox( double &area, double &angle
height = bounds.height();
}

pt2 = pt1;
pt1 = pt2;
}

QgsGeometry minBounds = QgsGeometry::fromRect( minRect );
Expand Down

0 comments on commit cb39a99

Please sign in to comment.