User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_statisticsabstract.calculate_2_itgis_extent_itgis_shapeabstract_widestring_wordbool

Table of Contents

ITGIS_StatisticsAbstract.Calculate_2 method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_StatisticsAbstract.Calculate_2 | Methods | Properties

Calculate requested statistics from filtered elements of the layer.

Available also on: Delphi | .NET | Java.

Syntax

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

Parameters

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

Remarks

'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:04

Page Tools