Merge pull request #165 from Phyks/issue_159
Fix a logical error in bounding circle computation. Fix #159.
This commit is contained in:
commit
cfef81322d
1 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ public class OsmNogoPolygon extends OsmNodeNamed
|
|||
{
|
||||
cxmin = p.x;
|
||||
}
|
||||
else if (p.x > cxmax)
|
||||
if (p.x > cxmax)
|
||||
{
|
||||
cxmax = p.x;
|
||||
}
|
||||
|
@ -82,7 +82,7 @@ public class OsmNogoPolygon extends OsmNodeNamed
|
|||
{
|
||||
cymin = p.y;
|
||||
}
|
||||
else if (p.y > cymax)
|
||||
if (p.y > cymax)
|
||||
{
|
||||
cymax = p.y;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue