Struct PolygonStore.AddResult
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
Id
Polygon id of a successful add. Throws if Added is false.
public int Id { get; }
Property Value
Refusal
Why the ring was refused; None on success.
public PolygonStore.Rejection Refusal { get; }