|
| 1 | +/* eslint-disable @typescript-eslint/no-unused-vars */ |
| 2 | +import { |
| 3 | + ApronBoundaryNode, |
| 4 | + AsrnNode, |
| 5 | + HoldingPositionNode, |
| 6 | + ParkingBoundaryNode, |
| 7 | + ParkingStandArea, |
| 8 | + RunwayBoundaryNode, |
| 9 | + RunwayExitLineNode, |
| 10 | + RunwayIntersectionNode, |
| 11 | + StandNode, |
| 12 | + TaxiwayLinkNode, |
| 13 | + TaxiwayNode, |
| 14 | +} from "./features" |
| 15 | + |
1 | 16 | export enum FeatureType {
|
2 | 17 | RunwayElement = 0,
|
3 | 18 | RunwayIntersection = 1,
|
@@ -43,10 +58,8 @@ export enum FeatureType {
|
43 | 58 | // RunwayCenterlinePoint = 37,
|
44 | 59 | // Not provided
|
45 | 60 | // ArrestingSystemLocation = 38,
|
46 |
| - // Not provided yet |
47 |
| - // AsrnEdge = 39 |
48 |
| - // Not provided yet |
49 |
| - // AsrnNode = 40 |
| 61 | + AsrnEdge = 39, |
| 62 | + AsrnNode = 40, |
50 | 63 | }
|
51 | 64 |
|
52 | 65 | export enum SurfaceType {
|
@@ -265,3 +278,70 @@ export enum LineStructureType {
|
265 | 278 | NotApplicable = -32765,
|
266 | 279 | Unknown = -32767,
|
267 | 280 | }
|
| 281 | + |
| 282 | +/** |
| 283 | + * Descriptions of each NodeType can be found in the associated interface |
| 284 | + * |
| 285 | + * See {@link AsrnNode} |
| 286 | + */ |
| 287 | +export enum NodeType { |
| 288 | + Taxiway, |
| 289 | + HoldingPosition, |
| 290 | + RunwayBoundary, |
| 291 | + RunwayExitLine, |
| 292 | + RunwayIntersection, |
| 293 | + ParkingBoundary, |
| 294 | + ApronBoundary, |
| 295 | + TaxiwayLink, |
| 296 | + Deicing, |
| 297 | + Stand, |
| 298 | +} |
| 299 | + |
| 300 | +export enum EdgeType { |
| 301 | + /** |
| 302 | + * An edge running along a taxiway, or connecting two taxiways while crossing a runway |
| 303 | + * |
| 304 | + * Can connect to {@link TaxiwayNode}s, {@link HoldingPositionNode}s, {@link RunwayBoundaryNode}s, {@link ApronBoundaryNode}s, or {@link TaxiwayLinkNode}s (in any order or combination) |
| 305 | + */ |
| 306 | + Taxiway, |
| 307 | + /** |
| 308 | + * An edge running along the center of a runway |
| 309 | + * |
| 310 | + * Can connect {@link RunwayExitLineNode}s and {@link RunwayIntersectionNode}s (in any order or combination) |
| 311 | + */ |
| 312 | + Runway, |
| 313 | + /** |
| 314 | + * An edge running from the centerline of a runway to a taxiway |
| 315 | + * |
| 316 | + * Will connect a {@link RunwayExitLineNode} to a {@link RunwayBoundaryNode} |
| 317 | + */ |
| 318 | + RunwayExit, |
| 319 | + /** |
| 320 | + * Forms the portion of a stand entry occuring outside of the {@link ParkingStandArea} |
| 321 | + * |
| 322 | + * Will connect a {@link TaxiwayNode} to a {@link ParkingBoundaryNode} |
| 323 | + */ |
| 324 | + TaxiwayLink, |
| 325 | + /** |
| 326 | + * Not yet implemented |
| 327 | + */ |
| 328 | + Deicing = 5, |
| 329 | + /** |
| 330 | + * An edge running along an apron taxiline |
| 331 | + * |
| 332 | + * Can connect {@link ApronBoundaryNode}s and {@link TaxiwayNode}s |
| 333 | + */ |
| 334 | + Apron, |
| 335 | + /** |
| 336 | + * An edge running along a {@link ParkingStandArea} to form the main body of a stand line |
| 337 | + * |
| 338 | + * Will connect a {@link StandNode} to a {@link ParkingBoundaryNode} |
| 339 | + */ |
| 340 | + Stand, |
| 341 | +} |
| 342 | + |
| 343 | +export enum EdgeDerivation { |
| 344 | + FullyAbstract, |
| 345 | + PartiallyAbstract, |
| 346 | + FullyDerived, |
| 347 | +} |
0 commit comments