User Tools

Site Tools


api:dk11:python:tatukgis_pdk.tgis_shape.intersection_tgis_shape_boolean

TGIS_Shape.Intersection(TGIS_Shape, bool) method

DK for Python | tatukgis_pdk.TGIS_Shape.Intersection | Overloads | Constructors | Methods | Properties

Compute an intersection with shape provided.

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

Syntax

# Python
def Intersection(
  self,
  _shape: TGIS_Shape,
  _returnnewobj: bool
) -> TGIS_Shape: 

Parameters

Name Type Description
_shape TGIS_Shape shape to compute intersection with
_returnnewobj bool if True, then result will be returned in a newly created object; if False, then self object will be returned

Result

Type Description
TGIS_Shape If _returnnewobj=True, then returns newly created shape; otherwise returns modified or unmodified self object.

Remarks

Internally it uses Combine method of TGIS_Topology class.

References

2025/01/31 01:23

Page Tools