User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shape.centroid_void

Table of Contents



ITGIS_Shape.Centroid method

DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.Centroid | Methods | Properties

Calculates the geometric centroid of the shape.

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

Syntax

// C#
public ITGIS_Point Centroid();
' VisualBasic
Public Function Centroid() As ITGIS_Point
// Oxygene
public
  function Centroid : ITGIS_Point;

Result

Type Description
ITGIS_Point Centroid point in the shape's coordinate system.

Remarks

PURPOSE: Compute the geometric center of a vector shape for labeling, symbol placement, spatial analysis, or feature summarization.

BEHAVIOR: Implementation-specific.

CONSTRAINTS: Implementation-specific.

References

2026/10/31 22:56

Page Tools