User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shape.getintersection_itgis_extent

Table of Contents

ITGIS_Shape.GetIntersection method

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

Returns the portion of the shape that intersects the specified extent as a precise normalized result.

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

Syntax

// C#
public ITGIS_Shape GetIntersection(
  ITGIS_Extent _extent
);
' VisualBasic
Public Function GetIntersection(
  ByVal _extent As ITGIS_Extent
) As ITGIS_Shape
// Oxygene
public
  function GetIntersection(
    _extent : ITGIS_Extent
  ) : ITGIS_Shape;

Parameters

Name Type Description
_extent ITGIS_Extent Clipping extent used as an axis-aligned bounding rectangle.

Result

Type Description
ITGIS_Shape A new clipped shape, or nil if the shape does not intersect the extent. The caller owns the returned shape.

Remarks

PURPOSE: Clips vector geometry to a rectangular map extent for analysis or other workflows that require normalized output.

BEHAVIOR: Equivalent to GetIntersection(_extent, False), producing a precise clipped geometry rather than a draft result.

CONSTRAINTS: The caller must release the returned shape. Returns nil when the shape lies completely outside the extent.

2026/07/05 01:25

Page Tools