Table of Contents

Struct PolygonStore.AddResult

Namespace
LansMap.Core.Vector

Outcome of a try-add: either a polygon id or a PolygonStore.Rejection.

public readonly struct PolygonStore.AddResult
Inherited Members

Properties

Added

True when the ring was stored and Id is safe to read.

public bool Added { get; }

Property Value

bool

Id

Polygon id of a successful add. Throws if Added is false.

public int Id { get; }

Property Value

int

Refusal

Why the ring was refused; None on success.

public PolygonStore.Rejection Refusal { get; }

Property Value

PolygonStore.Rejection