Peter Sadrozinski
0fa30fdcab
- fix airport hole contour gaps when crossing tile boundary
...
- disable FindSlivers (in genapt) - it creates more errors than it fixes
2012-11-20 21:33:17 -05:00
Peter Sadrozinski
3f072c42f8
genapt850 optomizations - use hashes for SGGeod, SGVec3f and SGVec2f lists
2012-11-18 12:59:03 -05:00
Christian Schmitt
c9f79718fa
genapts linearfeatures: Remove more Point3D occurences
2012-11-18 17:11:56 +01:00
Christian Schmitt
05091265a5
Add edge lights to old 810-type taxiways
2012-11-18 14:24:05 +01:00
Peter Sadrozinski
b013ad6b7b
Fix some gaps in and around airports
...
- these gaps were caused by a late clipper stage that optomizes the
resulting polygon after clipping - including removal of nodes
whose edges have the same slope. I was unable to disable this
optomization without breaking clipper - it would just hang.
So all clipper operations now save the subject nodes before, and
reinsert after the op.
- cleaned up some debug - genapts is so fast now, that we can just
print out the summaries.
2012-11-17 11:26:13 -05:00
Peter Sadrozinski
d2bc41428c
fix the other FindIntermediateNodes error. This seems to have fixed
...
the hole in the runway at LIMA as well - I think it's ok for master
2012-11-15 08:25:48 +01:00
Peter Sadrozinski
79c9b17595
- fix taxiway texturing
...
- fix tgPolygon::FindIntermediateNodes
we were messing up on east west segment nodes, so we had bad t-junctions
2012-11-14 09:21:55 +01:00
Peter Sadrozinski
f6a08f3095
handle closed poly case where clip results in no contours
...
when dumping accumylator, dump each stage in its own layer
2012-11-11 23:21:18 +01:00
Peter Sadrozinski
76ee23a294
Adding new construct style debug to genapt850.
...
format is
--debug-runways=icao:rwy#,rw#...
--debug-pavements=icao:rwy#,rw#...
--debug-features=icao:feat#,feat#...
I think it may be time to stop running each airport in its own process and run in seperate threads.
The passing of parameters is geting confusing, and the reason for it seams to have disapeared with the
removal of triangleJRS
2012-11-11 23:21:18 +01:00
Christian Schmitt
620f941609
Port apt_surface and elevation to SGGeod
2012-11-11 23:21:17 +01:00
Peter Sadrozinski
780e836e8b
Fix for helipad texturing
...
Fix for helipad base and clearing when we have borders
Remove extra debug statements
2012-11-11 23:21:17 +01:00
Christian Schmitt
fae73f38b5
apt_math: Rename the length variable to make its purpose clearer
2012-11-11 23:21:17 +01:00
Christian Schmitt
e9c3f3065c
Change runway object routine. Do elevation calculation and model write out in one loop
2012-11-11 23:21:17 +01:00
Christian Schmitt
707e939337
More cleanup on the runway and helipad side. Remove point3d occurences from helipad light code.
2012-11-11 23:21:17 +01:00
Peter Sadrozinski
608057596b
genapts port complete - time to debug
2012-11-11 23:21:17 +01:00
Christian Schmitt
bf7d86732d
Remove the newmat dependency and bring in TNT templates as a substitute
2012-11-05 12:14:15 +01:00
Christian Schmitt
e77e5d43d5
Fix a bug in the water runway calculation: The area was made twice as long as needed.
2012-11-01 11:02:24 +01:00
Christian Schmitt
a5d1035717
Runway objects: do not add empty light objects that lead to a SG warning
2012-10-28 12:59:28 +01:00
Christian Schmitt
9587d6d292
Implement RAIL approach light system
2012-10-25 14:25:40 +02:00
Christian Schmitt
8896dbcba8
Implement omnidirectional REIL
2012-10-25 14:20:31 +02:00
Christian Schmitt
3155bbff0f
Remove about 50% of the main light routine by using a loop
2012-10-25 13:42:14 +02:00
Christian Schmitt
cd436fcae9
Convert Calvert lights. This is the last part of the SGGeod/metric conversion.
...
Also remove now-unneeded includes and old functions
2012-10-24 15:40:00 +02:00
Christian Schmitt
2d9aa0bfa8
Convert gen_malsx to SGGeod
2012-10-24 15:40:00 +02:00
Christian Schmitt
368d290edc
Convert gen_ssalx to SGGeod and metric system
2012-10-24 15:40:00 +02:00
Christian Schmitt
4dd1d5c2b1
Convert gen_alsf light function to SGGeod
2012-10-24 15:39:59 +02:00
Christian Schmitt
f86782119c
Runway lights: correct the TDZ numbers and do some more cleanup
2012-10-24 15:32:13 +02:00
Christian Schmitt
1c8dbead04
Convert threshold lights to SGGeod and simplify the routine
2012-10-24 10:44:53 +02:00
Christian Schmitt
5e796d2dd5
Runway lights: convert ODALS to SGGeod
2012-10-24 10:40:32 +02:00
Peter Sadrozinski
fc304804ab
Use the Accumulator in the Polygon Library, instead of passing one around.
...
The accumulator in the polygon library has the bounding box hit test, so it's faster
My test run decreased 16 seconds from 71 to 54.
2012-10-21 15:40:34 -04:00
Peter Sadrozinski
68640c4479
Convert OffsetPointBegin and OffsetPointEnd to SGGeod
...
Convert beznode locations to SGGeod
Optimize the distance calculations in linearfeature and closedpoly
2012-10-21 14:37:04 -04:00
Peter Sadrozinski
78a19db02d
Convert OffsetPointMiddle to use GSGeod and SGVec3 in linear features
2012-10-20 14:51:50 -04:00
Peter Sadrozinski
ec750c6732
Start LinearFeature SGGeod conversion
2012-10-19 20:34:38 -04:00
Peter Sadrozinski
8698ab4e69
Use SGGeod as reference point in TGTexParams
2012-10-19 17:56:10 -04:00
Peter Sadrozinski
d629fa8215
remove unused texparams.hxx - it's in the Polygon Library, now
2012-10-19 17:56:10 -04:00
Christian Schmitt
7d7d4e41a6
Convert runway edge lights to SGGeod
2012-10-19 10:26:00 +02:00
Christian Schmitt
165f7e2481
Convert REIL lights function
2012-10-18 16:45:00 +02:00
Christian Schmitt
3b13084218
Convert runway touchdown zone lights to SGGeod
2012-10-18 16:45:00 +02:00
Christian Schmitt
365a89f20b
Convert runway center line lights to SGGeod
2012-10-18 16:45:00 +02:00
Christian Schmitt
e4e7d8bffd
Convert remaining runway functions to SGGeod
2012-10-18 14:53:01 +02:00
Christian Schmitt
8d4495d470
Use a SGGeod bounding box instead of SGVec3 for geodetic coordinates
2012-10-18 08:40:28 +02:00
Christian Schmitt
b6a4dacf33
Convert runway light vector calculation to SGVec3 and SGQuat
2012-10-17 14:24:47 +02:00
Christian Schmitt
306b125044
Use a SGGeod bounding box for the scheduler
2012-10-17 14:13:13 +02:00
Christian Schmitt
8a12f010f5
Convert apt_math functions and runway polygon creation to SGGeod/SGVec3
2012-10-17 14:12:17 +02:00
Christian Schmitt
bda3ee3a91
Convert helipad routine to Vec3
2012-10-17 13:25:06 +02:00
Christian Schmitt
4d3f1efd30
Convert Rectangle function to SGGeod
2012-10-17 12:55:35 +02:00
Christian Schmitt
f3f6cd50f1
Convert airport normal calculation to SGVec3
2012-10-17 12:38:12 +02:00
Christian Schmitt
3e80fdb649
Convert linearfeatures normal calculation to SGVec3
2012-10-17 12:37:56 +02:00
Christian Schmitt
b5c9eb5154
Convert airport objects to SGGeod and SGVec3
2012-10-17 12:35:03 +02:00
Christian Schmitt
a1a331db7c
Remove old libs and tools that have better counterparts in GDAL/GRASS nowdays. genapts810 has to go as well
2012-10-17 11:07:48 +02:00
Christian Schmitt
8a092947da
Time to remove old PAPI/VASI code from the runway lights routine
2012-10-17 09:41:23 +02:00