ReadShapeFlags

Description

[Flags]
enum Tinman.Terrain.Shapes.ReadShapeFlags

Enumeration of flags which can be specified when loading shapes.

Public / Constants

None

public constant None → (0:int32)

No shape read flags.

Geo

public constant Geo → (1:int32)

Shape geo-reference data (if present) is going to be read.

If this flag is not set, IShapeInfo.Georef may return CoordinateSystem.Local instead of the actual geo-reference data.

Meta

public constant Meta → (2:int32)

Shape metadata (if present) is going to be read.

If this flag is not set, IShapeInfo.Metadata may return JsonValue.Null instead of the actual geo-reference data.

Value

public constant Value → (4:int32)

Additional per-vertex shape values (if present) will be read.

If this flag is not set, IShape.ValueAt may return Maths.NanD instead of the actual shape value.

See also

ShapeValue

Default

public constant Default → (7:int32)

Default shape read flags.

HintMergePolygons

public constant HintMergePolygons → (8:int32)

Hints the shape reader that compatible polygon shape data shall be merged.

Compatible polygon shape data is not merged by default, because intersecting polygon contours might cause unwanted side-effects.

HintRemoveMirroredEdges

public constant HintRemoveMirroredEdges → (16:int32)

Hints the shape reader to remove mirrored edges that belong to polygon contours.

All

public constant All → (31:int32)

All shape read flags.