User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_vectortogridabstract

TGIS_VectorToGridAbstract class

DK for Java | tatukgis.jdk.TGIS_VectorToGridAbstract | Classes | Constructors | Methods | Properties | Events

Abstract base class for generating grid layers from vector samples.

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

Syntax

// Java
public class TGIS_VectorToGridAbstract extends TGIS_BaseObjectDisposable {
};
// Oxygene
type
  TGIS_VectorToGridAbstract = public class( TGIS_BaseObjectDisposable )
  end;

Inheritance

→ TGIS_BaseObjectDisposable

Constructors

Inherited Overrides Protected
Name Visibility Description
TGIS_VectorToGridAbstract() public Creates a vector-to-grid interpolation instance with default settings.

Methods

Inherited Overrides Protected
Name Visibility Description
Generate public Populates a grid layer with values computed from vector sample points.

Properties

Inherited Protected
Name Visibility Description
Coordinate public Defines which coordinate is taken as interpolation value if the interpolation is not based on an attribute field; default is Z.
DefaultValue public If UseDefaultValue is true, then this value will be set for each grid cell for which the interpolated value cannot be computed.
UseDefaultValue public If true, then each grid cell for which the interpolated value cannot be computed will be set to DefaultValue.

Events

Inherited Protected
Name Visibility Description
BusyEvent public

Remarks

PURPOSE: Provides shared infrastructure for interpolation algorithms that convert vector data into aTGIS_LayerPixelsurface.

BEHAVIOR: Reads sample values from either a numeric attribute field or from Z/M-based coordinates, applies algorithm-specific processing in descendants, and can report progress throughBusyEvent.

USAGE: Configure the value source and default-value handling, then callGenerate.

interpolator.Coordinate = Z
interpolator.UseDefaultValue = True
interpolator.DefaultValue = 0
interpolator.Generate(srcLayer, srcExtent, fieldName, dstLayer,
  dstExtent)

CONSTRAINTS: Source and destination layers must be valid. If a field name is provided, it must identify a numeric source field.

2026/09/20 23:59

Page Tools