User Tools

Site Tools


Table of Contents

ITGIS_StatisticsVector.Calculate_3 method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_StatisticsVector.Calculate_3 | Methods | Properties

Calculate requested statistics from filtered elements of the layer.

Available also on: Delphi | .NET | Java.


// C#
public void Calculate_3(
  ITGIS_Extent _extent,
  ITGIS_ShapeAbstract _shape,
  WideString _de9im,
  WordBool _fast_statistics,
  WideString _query,
  WordBool _use_selected
' VisualBasic
Public Sub Calculate_3(
  ByVal _extent As ITGIS_Extent,
  ByVal _shape As ITGIS_ShapeAbstract,
  ByVal _de9im As WideString,
  ByVal _fast_statistics As WordBool,
  ByVal _query As WideString,
  ByVal _use_selected As WordBool
// Oxygene
  procedure Calculate_3(
    _extent : ITGIS_Extent;
    _shape : ITGIS_ShapeAbstract;
    _de9im : WideString;
    _fast_statistics : WordBool;
    _query : WideString;
    _use_selected : WordBool


Name Type Description
_extent ITGIS_Extent extent on which statistics will be calculated
_shape ITGIS_ShapeAbstract if not nil, statistics will be calculated on area which matches _de9im matrix with _shape
_de9im WideString DE-9IM matrix of comparison
_fast_statistics WordBool if True, 'Fast Statistics' will be computed
_query WideString query to filter shapes from vector layer to be included in statistics
_use_selected WordBool if True, only selected shapes will be included in statistics


'Fast Statistics' means that statistics class uses resampling for pixel layers greater than 2048 x 2048 cells . In this case results are approximate with high accuracy. Set False to compute fully accurate statistics. 'Fast Statistics' has no effects for vector layers.

2020/05/07 01:05

Page Tools