-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* more microoptimizations * one more microoptimization * fix infinite loops, simplify hole elimination Co-Authored-By: Juha Laukala <[email protected]> * minor cleanup in findHoleBridge Co-authored-by: Juha Laukala <[email protected]>
- Loading branch information
1 parent
9124df4
commit 4811a2b
Showing
5 changed files
with
68 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// This file is auto-generated, manual changes will be lost if the code is regenerated. | ||
|
||
#include "geometries.hpp" | ||
|
||
namespace mapbox { | ||
namespace fixtures { | ||
|
||
static const Fixture<short> filtered_bridge_jhl("filtered_bridge_jhl", 25, 1e-14, 0.000001, { | ||
{{22,14},{17,12},{5,12},{0,12},{0,0},{22,0}}, | ||
{{9,4},{10,4},{10,3},{9,3}}, | ||
{{6,9},{7,9},{7,8},{6,8}}, | ||
{{7,10},{17,10},{17,5},{8,5}}, | ||
{{13,4},{14,4},{14,3},{13,3}}, | ||
}); | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// This file is auto-generated, manual changes will be lost if the code is regenerated. | ||
|
||
#include "geometries.hpp" | ||
|
||
namespace mapbox { | ||
namespace fixtures { | ||
|
||
static const Fixture<double> infinite_loop_jhl("infinite_loop_jhl", 0, 1e-14, Infinity, { | ||
{{-1,2},{0,0},{2,-1}}, | ||
{{2,-1},{0,1e-28},{-1,2}}, | ||
}); | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// This file is auto-generated, manual changes will be lost if the code is regenerated. | ||
|
||
#include "geometries.hpp" | ||
|
||
namespace mapbox { | ||
namespace fixtures { | ||
|
||
static const Fixture<double> issue142("issue142", 4, 0.12754968037146489, 8.53067013, { | ||
{{5.62675358811389,31.94879819160804},{-16.369709114391867,28.341954255099814},{-10.786562672455382,-1.2779295357476745},{10.819423740334923,2.069348113719755}}, | ||
{{3.220439475288522,4.197526331591453},{5.024815373142793,1.1716264034331543},{10.819423740334923,2.069348113719755},{5.62675358811389,31.94879819160804},{-16.369709114391867,28.341954255099814},{-10.786562672455382,-1.2779295357476745},{-6.833718161055838,-0.6655405509524673},{-8.602352370111433,2.142874784407777},{-5.34630560403934,6.768689248602321},{-1.4053749889060216,7.453573097663546}}, | ||
}); | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// This file is auto-generated, manual changes will be lost if the code is regenerated. | ||
|
||
#include "geometries.hpp" | ||
|
||
namespace mapbox { | ||
namespace fixtures { | ||
|
||
static const Fixture<short> issue149("issue149", 2, 1e-14, 0.000001, { | ||
{{1888,5504},{1872,5504},{1872,5536},{1856,5536},{1856,5520},{1840,5520},{1840,5504},{1856,5504},{1856,5520},{1872,5520},{1872,5504},{1888,5504}}, | ||
{{1856,5520},{1856,5536},{1872,5536},{1872,5520}}, | ||
}); | ||
|
||
} | ||
} |