curt
59a35fbe8a
Cleaned up some debugging output.
...
Added adjacent triangle area weighting for calculating vertices of nodes.
Check for super small or degenerate triangles which could blow up our face
normal calculations.
2000-11-22 20:41:22 +00:00
curt
80062e205e
Oops, fixed a typo in match.cxx.
2000-11-20 21:28:08 +00:00
curt
41733cf6cc
This code does a lot of malloc()'ing of space, and in some cases blindly
...
expects the results to be zero'd out, even though this may not be gauranteed.
So I (Curt Olson, curt@flightgear.org ) have added some code here
to explicitely zero out the space after it is malloc()'ed.
2000-11-20 17:01:13 +00:00
curt
e189a03b47
Added a test program for the triangulator.
2000-11-20 16:56:03 +00:00
curt
71ec8159a5
Added a print_tri_data() routine to dump complete triangulator data
...
structure to screen.
Added a zero_triangulateio() routine to zero a struct before use.
2000-11-20 16:55:23 +00:00
curt
b524989da4
Debugging tweak.
2000-11-20 16:53:52 +00:00
curt
4d530656ed
Cleanups relating to how we prepair the data to pass to the Shewchuk
...
triangulator.
2000-11-20 16:53:32 +00:00
curt
5e5f43e0eb
Fixed a bug with corner matching when an airport hole sits on top of a corner.
...
Then fixed a follow up bug in corner handling that was introduced by the
first fix.
2000-11-20 16:44:29 +00:00
curt
f90cffd10d
In the process of trying to track down bugs in the construct process I
...
redid slightly how the land cover squares are calculated.
2000-11-20 16:43:30 +00:00
curt
97a83fb03c
Fixed a bug that occured when an airport was located on a tile corner. The
...
first tile to build that corner gets to define the shared point, but since
it was clipped out by the airport hole, the value defaulted to randomness.
This was then propogated on to adjacent tiles. I now calculate the corner
value in advance so the code is not dependent on finding the corner in the
resulting point set.
2000-11-16 16:09:05 +00:00
curt
231af62823
Cleaned up a bit of debugging trash.
2000-11-15 23:10:11 +00:00
curt
1388ea146f
Changes to try to track down some "point in a contour" bugs. The terrain
...
was stressing this code more that airports (which was where the code was
developed.)
2000-11-15 22:36:40 +00:00
curt
6767777246
Avoid a warning.
2000-11-15 20:23:54 +00:00
curt
fdd4bd6864
Tweak area names and orders.
2000-11-15 20:23:32 +00:00
curt
d280af2cea
Change method of calculating a triangle center point.
2000-11-15 20:23:10 +00:00
curt
e7930a49fe
Fix a comment.
2000-11-15 20:22:40 +00:00
curt
8d99adeda2
Up max node count to 4000
...
Temporarily disable land cover for testing purposes.
2000-11-15 20:22:22 +00:00
curt
84e7866b35
Minor tweaks to clipping rules.
2000-11-15 20:21:47 +00:00
curt
5982e567fd
Initial revision.
2000-11-13 19:15:09 +00:00
curt
9162b789f5
Landcover/landuse changes by david megginson to group like chunks together into a single polygon.
...
Additional degeneracy and bad polygon screening.
Updates to ShapeDecode to handle NOAA landuse/cover shape files.
2000-11-13 15:19:39 +00:00
curt
48b8c986bb
Moved simple split over to Lib/Polygon.
2000-11-10 19:39:57 +00:00
curt
0e3238d24a
Initial revision.
2000-11-08 15:28:46 +00:00
curt
687af305b8
Cygwin changes.
...
Attempt to use new point inside poly routine.
2000-11-06 18:02:46 +00:00
curt
5619a6b473
Updates from David Megginson to support the USGS global land use/cover raster
...
data.
2000-11-02 21:21:49 +00:00
curt
25034ea180
Tweaks to track some minor naming changes in simgear.
2000-10-13 16:33:27 +00:00
curt
1f57a4bd06
Changed builddir -> srcdir for out of source tree builds.
2000-09-20 21:45:25 +00:00
curt
79d86a25ac
Many changes to support airport modeling approach.
2000-09-20 21:44:59 +00:00
curt
08166715b3
Command line interface tweaks.
2000-09-20 21:44:16 +00:00
curt
6282096168
Added a check for the proper version of simgear.
2000-09-20 21:43:27 +00:00
curt
683325ae42
Switched how textures were applied a bit (rotated by 90 degrees) since this
...
is a more sensible alignment.
2000-09-13 01:28:04 +00:00
curt
c1c1b59fae
Updated runway texture layout in designator block.
2000-09-11 00:36:59 +00:00
curt
5606d93796
Fixed "rest" texture application.
2000-09-11 00:35:59 +00:00
curt
c9930e784e
Whups, write out the AirportArea that has been segmented so it fits the
...
airport to go in the hole.
2000-08-30 14:04:34 +00:00
curt
3802a0385f
Updates ...
2000-08-29 21:16:54 +00:00
curt
ef22db9c3a
More tweaks as I work through the airport database.
2000-08-27 16:22:26 +00:00
curt
a72efe39c6
More updates and tweaks to make the genairport tools more robust.
2000-08-27 04:47:12 +00:00
curt
373ed3990d
Ironing out bugs ...
2000-08-26 01:23:58 +00:00
curt
b6fc19c0bc
Handle too-short visual runways for now by converting them to simple runways.
2000-08-26 01:19:13 +00:00
curt
e2ab3bff48
Ahh, there is a runway type "G" ...
2000-08-26 01:02:30 +00:00
curt
de4f235115
Tweaked to handle concrete textures as well as turf and dirt runways.
2000-08-26 00:52:07 +00:00
curt
4a68b387df
Does proper runway designators now.
2000-08-25 21:55:30 +00:00
curt
11a577a079
Added non-precision and visual runway markings as well.
2000-08-24 22:15:25 +00:00
curt
05dd9aa7b3
Added more precision runway sections.
2000-08-24 16:09:49 +00:00
curt
33ea616de8
Added debugging output ... on the hunt of a T intersection problem.
2000-08-24 13:15:15 +00:00
curt
18d67137a3
Added a total_size() method ... for rough debugging.
2000-08-24 04:39:04 +00:00
curt
de2a9a21a8
A bit more debugging ...
2000-08-24 04:38:39 +00:00
curt
c2c4feb872
More work on runway markings.
2000-08-24 03:49:05 +00:00
curt
29910a6fe3
Initial revision.
2000-08-23 22:07:30 +00:00
curt
3d4c9c9c25
Started work on precision runway markings.
2000-08-23 22:07:14 +00:00
curt
d70c4eca1c
Added code to chop up extra long line segments.
2000-08-22 22:06:47 +00:00