IsolineFieldSnapshot¶
Namespace: ThinkGeo.Core
The interpolated isoline surface read back from the GPU as numbers - the bridge from the per-pixel drawing to geometry: build a GridCell[,] from it and the existing IsoLineLayer.GetIsoFeatures turns it into features, with no second interpolation. The desktop GPU map (GpuBasemap.GetIsolineFieldAsync) and the Blazor map (VectorTileOverlay.GetIsolineFieldAsync) both return one.
public sealed class IsolineFieldSnapshot
Inheritance object → IsolineFieldSnapshot
Properties¶
Values¶
The samples in the data's OWN units, row-major, IsolineFieldSnapshot.Width per row. Row 0 is NORTH; NaN is no data.
public Single[] Values { get; }
Property Value¶
Width¶
Samples per row.
public int Width { get; }
Property Value¶
Height¶
Number of rows.
public int Height { get; }
Property Value¶
Extent¶
The ground the field covers, in web mercator.
public RectangleShape Extent { get; }
Property Value¶
Constructors¶
IsolineFieldSnapshot(Single[], int, int, RectangleShape)¶
Wraps a field the renderer read back. The maps build these; an application gets one from GetIsolineFieldAsync.
public IsolineFieldSnapshot(Single[] values, int width, int height, RectangleShape extent)
Parameters¶
values Single[]
width int
height int
extent RectangleShape