User Tools

Site Tools


api:dk11:delphi:giscontour.tgis_contourgenerator

TGIS_ContourGenerator class

DK11 for Delphi | GisContour.TGIS_ContourGenerator | Classes | Constructors | Methods | Properties | Events

Implementation of the contour (isohypse) generation algorithm for grid/DEM layers.

Available also on: .NET | Java | ActiveX | Python.

Syntax

// Delphi
type
  TGIS_ContourGenerator = class( TGIS_BaseObjectDisposable )
  end;
// C++ Builder
class PASCALIMPLEMENTATION TGIS_ContourGenerator : public TGIS_BaseObjectDisposable
{
};

Inheritance

Constructors

Inherited Overrides Protected
Name Visibility Description
Create public Creates an instance.

Methods

Inherited Overrides Protected
Name Visibility Description
CalculateInterval(TGIS_LayerPixel) public Calculates ContourInterval for default 20 levels and sets ContourBase to the lowest value of the source layer.
CalculateInterval(TGIS_LayerPixel; Integer) public Calculates ContourInterval for the given number of levels and sets ContourBase to the lowest value of the source layer.
Generate(TGIS_LayerPixel; TGIS_LayerVector; String) public Creates vector contours from a raster grid layer.
Generate(TGIS_LayerPixel; TGIS_LayerVector; String; String) public Creates vector contours from a raster grid layer.

Properties

Inherited Protected
Name Visibility Description
ContourBase public The "base" relative to which contour intervals are applied.
ContourInterval public The elevation interval between generated contours.
CustomNoData public If True the NoDataValue will be used as nodata value; default is False
FixedLevelCount public The number of elements in FixedLevels property.
FixedLevels public The list of fixed levels at which contours should be generated.
MinSize public Minimum dimension in meters for generated features; Minimum length for polylines, minimum area for polygons.
Mode public Type of contour generator output; default is Polylines.
NoDataValue public The value to use as a NoData value.
Smoothen public If True then the generated contours will be smoothened.
SmoothFactor public Smooth factor.

Events

Inherited Protected
Name Visibility Description
BusyEvent published

References

2023/02/24 20:31

Page Tools