TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

enum CoverageFlags in Tinman.Terrain.Heightmaps

Enumeration of possible flags for testing heightmap samples against zero or full coverage.

[Flags]
enum CoverageFlags  

See also:

IHeightmap.HasRegion

Items

None = 0

The tested region contains no heightmap samples at all.

NotEmpty = 0x01

The tested region contains at least one heightmap sample with a Coverage greater than zero.

Remarks:

If only the NotEmpty flag is set, it means that all samples in the tested region have a Coverage of MaxValue30 (because the NotSolid flag is not set).

NotSolid = 0x02

The tested region contains at least one heightmap sample with a Coverage less than MaxValue30.

Remarks:

If only the NotSolid flag is set, it means that all samples in the tested region have a Coverage of 0 (because the NotEmpty flag is not set).

Some = 0x03

The tested region contains heightmap samples that have a Coverage greater than 0 and less than MaxValue30.

Remarks:

When this flag is set, no other combinations are possible any more. So this value can be used to early exit in algorithms.