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.
// 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;
| Name | Type | Description |
|---|---|---|
| _extent | ITGIS_Extent | Clipping extent used as an axis-aligned bounding rectangle. |
| Type | Description |
|---|---|
| ITGIS_Shape | A new clipped shape, or nil if the shape does not intersect the extent. The caller owns the returned shape. |
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.