1
0
Fork 0
Commit graph

676 commits

Author SHA1 Message Date
Frederic Bouvier
781c8eda1b MSVC 7.1 project files and use simgear to create directories 2009-01-27 08:16:13 +01:00
Frederic Bouvier
ae87159979 MSVC 7.1 project files and use simgear to create directories 2009-01-27 08:16:13 +01:00
unknown
f1da2794f5 MSVC 7.1 project files and use simgear to create directories 2009-01-27 08:16:13 +01:00
curt
a99cf1d758 Updates to disk layout scripts. 2008-12-02 14:53:08 +00:00
Ralf Gerlich
3e38283da3 Fixed "missing tile" issue in tgChopNormalPolygon and tgChopBigSimplePolygon 2008-10-21 16:45:44 +02:00
Ralf Gerlich
deb55d36cb Revert "Workaround for point-in-polygon-calculation: Make "sure" that the point is sufficiently far away from the polygon border so that JRSTriangle can actually detect it is inside of the respective triangle."
This reverts commit 6ef69feb81995139b386046c9ec5d8972a5880c5.
2008-09-11 12:31:15 +02:00
Ralf Gerlich
c9cd0b1758 Revert "Sign bug in calc_point_inside()"
This reverts commit 4797373664b97ca48caa5f0eeaa448225545aa1c.
2008-09-11 12:31:15 +02:00
Ralf Gerlich
aa03c7c2f5 Revert "Minor style fixup of calc_points_inside()."
This reverts commit 28c2bb1971894be175a51232e0502882683fc3e8.
2008-09-11 12:31:15 +02:00
Ralf Gerlich
fe3f38c662 Moved Point3DOrdering to SimGear. 2008-09-11 12:30:40 +02:00
Ralf Gerlich
521f9e2fc9 Removed remaining "using"-declarations from header-files. 2008-08-08 12:48:08 +02:00
Ralf Gerlich
e4ac5911ae Made sure that any #include-instruction comes before the first "using"-declaration, so that we can spot buggy header-files more easily. 2008-08-08 12:31:02 +02:00
Ralf Gerlich
4a35fedf64 Adapt to changes in simgear/compiler.h (removal of STL_* and SG_USING_STD() macros). 2008-08-08 12:17:43 +02:00
Ralf Gerlich
e6d15f9a83 Minor style fixup of calc_points_inside(). 2008-08-06 17:16:24 +02:00
Ralf Gerlich
4d1fafa2b6 Sign bug in calc_point_inside() 2008-08-06 15:21:59 +02:00
Ralf Gerlich
8e0e2b6cef Workaround for point-in-polygon-calculation: Make "sure" that the point is sufficiently far away from the polygon border so that JRSTriangle can actually detect it is inside of the respective triangle. 2008-08-06 12:29:27 +02:00
Ralf Gerlich
e813c093fc Adapt to current SimGear version (<iostream> include changes by fredb) 2008-06-17 11:06:35 +02:00
Ralf Gerlich
4a96ed8af2 Revert "Fixed taxiway drawing order. genapts wants them from top to bottom, not from bottom to top, as it was previously fed."
This reverts commit 5a6697b4e0b6e59a727868a912bff4c1fd8c91da.

Not genapts was at fault but the new TaxiDraw version (CVS HEAD). Robin Peel confirmed that the objects in apt.dat are listed top-down, i.e. the topmost element comes first.
2008-04-14 09:18:07 +02:00
Ralf Gerlich
101cae53ad Fixed taxiway drawing order. genapts wants them from top to bottom, not from bottom to top, as it was previously fed. 2008-03-29 13:04:37 +01:00
Ralf Gerlich
53efe44bfd Implemented reading point layers to poly2ogr (was used for debugging calc_point_inside()-stuff) 2008-03-29 13:04:25 +01:00
Ralf Gerlich
f01a1daa7b Fixed criterion for removal of small degenerate polygons. 2008-02-08 22:24:53 +01:00
Ralf Gerlich
e29bdcfe59 Removed test printouts. 2008-02-08 13:52:12 +01:00
Ralf Gerlich
74d80cdcd7 Fixed calc_point_inside().
Very small sliver contours were irritating the contour tree builder, so that contours ended up as children of nodes in which they were not contained.
2008-02-08 13:52:11 +01:00
Ralf Gerlich
cd90019bbf Intermediate fix for calc_point_inside 2008-02-08 13:52:10 +01:00
Ralf Gerlich
fe7f626265 Fixed file overflow in TerraFit 2008-01-14 22:30:07 +01:00
Ralf Gerlich
2a00d8092b Got rid of the last gts-dependency-leftovers. The gts-checks have been commented out for quite some time already and ArrayFit hasn't been used for years. 2008-01-10 20:31:18 +01:00
Ralf Gerlich
f7e8317f44 Made calc_points_inside() much more robust. 2008-01-09 14:37:54 +01:00
Ralf Gerlich
2b93966193 Got rid of the unused parts of the old calc_points_inside()-code. 2008-01-09 14:15:48 +01:00
Ralf Gerlich
f4b4a7dc3c Revert "Do not load shared data of own tile."
The original commit did not solve the problem, as also neighbouring tiles were used multiple times due to an inconsistency in the tile grid calculations.
2008-01-08 03:07:31 -08:00
Ralf Gerlich
4f0ee5178f Stow the logfile away if a tile failed in fgfs-tools-client. 2008-01-08 12:03:50 +01:00
Ralf Gerlich
8c09d9a48c Avoid use of sg_bucket_span(). 2008-01-08 12:03:50 +01:00
Ralf Gerlich
bb5882e977 Added printing of the nudge value in fgfs-construct. 2008-01-08 02:46:30 -08:00
Ralf Gerlich
327d8d1139 Added --nudge option to fgfs-construct 2008-01-05 20:47:15 +01:00
Ralf Gerlich
a8f76d3efc Fixed another special case in the calc_point_inside() algorithm 2008-01-05 20:19:33 +01:00
Ralf Gerlich
56fb5065b1 Do not load shared data of own tile.
When we want to rebuild a tile we do not want it to read the output of the previous build of the same tile.
2008-01-05 19:51:02 +01:00
Ralf Gerlich
a8e451c2c2 Typo fix in terrafit, which led to bad artefacts in the fitted elevation data. 2008-01-04 11:38:31 +01:00
Ralf Gerlich
05b9e47aba Replaced the fopen("MASTER_ON","r") in fgfs-tools-server by a simple access()-call. We only need to know whether it's there, not what's in there. 2008-01-03 10:08:34 -08:00
Ralf Gerlich
d8539d5412 calc_point_inside():
- Fixed one-off bug.
	- Take care of the border-case where the line exactly overlaps a node.
2008-01-03 15:56:10 +01:00
Ralf Gerlich
c5410c336d Now using a much simpler method for finding a point in a polygon (taken from GRASS GIS) 2008-01-03 13:39:44 +01:00
Ralf Gerlich
4ff56cacf3 Merge commit 'hypersphere-rgerlich/master' 2008-01-03 13:25:03 +01:00
Ralf Gerlich
8fd6c9d6fa Revert "Minor nudging of polygons to avoid gpc failures"
This reverts commit ebc5d20e5a74320a6a9a4fc94f3e289279e63df7.
2008-01-03 13:21:49 +01:00
Ralf Gerlich
2bc393827c Revert "Moved the point nudging for fgfs-construct from the generic polygon routines to the clipper."
This reverts commit 53159ed658bc206e96ef90e67f5bc6e3f5e439fc.
2008-01-03 13:21:22 +01:00
Ralf Gerlich
1a4b3a1d98 Fixed filedescriptor overflow in fgfs-tools-client which led the client to think that the MASTER_ON file did not exist. 2008-01-03 00:22:13 -08:00
Ralf Gerlich
0a32b5f3bc Avoid SIGSEGV in fgfs-tools-client when the results file is not found. 2008-01-02 23:55:13 -08:00
Ralf Gerlich
cf04dd3135 Fixed select()-call in fgfs-tools-{client,server} which occasionally led to lockup. 2008-01-02 11:23:39 -08:00
Ralf Gerlich
14403c2d8d Made ogr-decode and genapts use their own poly_counter-files in their own directories. 2008-01-01 16:27:46 +01:00
Ralf Gerlich
09c7327a80 Moved the point nudging for fgfs-construct from the generic polygon routines to the clipper. 2007-12-21 19:21:09 +01:00
Ralf Gerlich
b48ba44594 Merge branch 'master' into make_client 2007-12-20 19:08:09 +01:00
Ralf Gerlich
ac8c3d2ac8 Merge branch 'poly2ogr' 2007-12-20 19:07:37 +01:00
Ralf Gerlich
cbade0853d Minor nudging of polygons to avoid gpc failures 2007-12-20 19:07:01 +01:00
Ralf Gerlich
21824171fd Revert "Fixed output bug in terrafit"
This reverts commit b7f834290624ab7df7d3df00e81a9fea4933a7fc.
2007-12-20 18:59:37 +01:00