Table of Contents

Class IsoLineLayer

Namespace
ThinkGeo.Core
Assembly
ThinkGeo.Core.dll
public abstract class IsoLineLayer : Layer
Inheritance
IsoLineLayer
Derived
Inherited Members

Constructors

IsoLineLayer()

protected IsoLineLayer()

IsoLineLayer(IEnumerable<double>)

protected IsoLineLayer(IEnumerable<double> isoLineLevels)

Parameters

isoLineLevels IEnumerable<double>

IsoLineLayer(IEnumerable<double>, double, double)

protected IsoLineLayer(IEnumerable<double> isoLineLevels, double lowerScale, double upperScale)

Parameters

isoLineLevels IEnumerable<double>
lowerScale double
upperScale double

IsoLineLayer(IEnumerable<double>, double, double, IsoLineType)

protected IsoLineLayer(IEnumerable<double> isoLineLevels, double lowerScale, double upperScale, IsoLineType isoLineType)

Parameters

isoLineLevels IEnumerable<double>
lowerScale double
upperScale double
isoLineType IsoLineType

Properties

CustomStyles

public Collection<Style> CustomStyles { get; }

Property Value

Collection<Style>

DataValueColumnName

public string DataValueColumnName { get; set; }

Property Value

string

IsoLineLevels

public Collection<double> IsoLineLevels { get; set; }

Property Value

Collection<double>

IsoLineType

public IsoLineType IsoLineType { get; set; }

Property Value

IsoLineType

LowerScale

public double LowerScale { get; set; }

Property Value

double

NoDataValue

public double NoDataValue { get; set; }

Property Value

double

UpperScale

public double UpperScale { get; set; }

Property Value

double

Methods

DrawCore(GeoCanvas, Collection<SimpleCandidate>)

protected override void DrawCore(GeoCanvas canvas, Collection<SimpleCandidate> labelsInAllLayers)

Parameters

canvas GeoCanvas
labelsInAllLayers Collection<SimpleCandidate>

GetFeaturesForDrawingCore(GeoCanvas, Collection<SimpleCandidate>)

protected abstract Collection<Feature> GetFeaturesForDrawingCore(GeoCanvas canvas, Collection<SimpleCandidate> labelsInAllLayers)

Parameters

canvas GeoCanvas
labelsInAllLayers Collection<SimpleCandidate>

Returns

Collection<Feature>

GetIsoFeatures(GridCell[,], IEnumerable<double>, string, IsoLineType)

This method returns features generated from the GridCell matrix.

public static Collection<Feature> GetIsoFeatures(GridCell[,] gridMatrix, IEnumerable<double> isoLineLevels, string dataValueColumnName, IsoLineType isoLineType)

Parameters

gridMatrix GridCell[,]

This parameter represents the GridCell matrix where the features are generate from

isoLineLevels IEnumerable<double>

This parameter represents a collection of IsoLineLevel

dataValueColumnName string

This parameter represents the ColumnName of the DataValueColumn

isoLineType IsoLineType

This parameter represents the type of the IsoLine

Returns

Collection<Feature>

Features generated from the GridCell matrix

GetIsoFeatures(GridCell[,], IEnumerable<double>, string, IsoLineType, double)

This method returns features generated from the GridCell matrix.

public static Collection<Feature> GetIsoFeatures(GridCell[,] gridMatrix, IEnumerable<double> isoLineLevels, string dataValueColumnName, IsoLineType isoLineType, double noDataValue)

Parameters

gridMatrix GridCell[,]

This parameter represents the GridCell matrix where the features are generate from

isoLineLevels IEnumerable<double>

This parameter represents a collection of IsoLineLevel

dataValueColumnName string

This parameter represents the ColumnName of the DataValueColumn

isoLineType IsoLineType

This parameter represents the type of the IsoLine

noDataValue double

This parameter represents the no data value for IsoLine

Returns

Collection<Feature>

Features generated from the GridCell matrix

GetIsoFeatures(GridFeatureSource, IEnumerable<double>, string, IsoLineType)

public static Collection<Feature> GetIsoFeatures(GridFeatureSource gridFeatureSource, IEnumerable<double> isoLineLevels, string dataValueColumnName, IsoLineType isoLineType)

Parameters

gridFeatureSource GridFeatureSource
isoLineLevels IEnumerable<double>
dataValueColumnName string
isoLineType IsoLineType

Returns

Collection<Feature>

GetIsoLineLevels(Dictionary<PointShape, double>, int)

public static Collection<double> GetIsoLineLevels(Dictionary<PointShape, double> dataPoints, int isoLineLevelCount)

Parameters

dataPoints Dictionary<PointShape, double>
isoLineLevelCount int

Returns

Collection<double>

GetIsoLineLevels(IEnumerable<double>, int)

public static Collection<double> GetIsoLineLevels(IEnumerable<double> dataValues, int isoLineLevelCount)

Parameters

dataValues IEnumerable<double>
isoLineLevelCount int

Returns

Collection<double>

GetIsoLineLevels(GridCell[,], int)

This method returns a collection of double that represents the levels of IsoLines

public static Collection<double> GetIsoLineLevels(GridCell[,] gridMatrix, int isoLineLevelCount)

Parameters

gridMatrix GridCell[,]

This parameter represents the GridCell matrix where the IsoLines are generated from

isoLineLevelCount int

This parameter represents the count of IsoLine level

Returns

Collection<double>

This method returns a collection of double that represents the levels of IsoLines

OpenCore()

protected override void OpenCore()