The basic geometry elements of a DF level are :
| VERTEX | a point in a 2 dimensions projection (X and Z) |
| WALL | a line joining 2 vertices |
| SECTOR | a collection of walls generally closed, can contain "gaps" or other sectors |
As the game works with a two dimensions projection, the third (Y) dimension is coded at the sector level by a floor altitude and a ceiling altitude.
Note that this imply that floors and ceilings of a sector are always FLAT.
Sectors can however be layered on top of one another to give a "full 3D" feeling.
Each sector is coded with its walls and vertices, and is completely self contained
The relation between sectors is done at the wall level by the adjoin/mirror/walk mechanism.