User Tools

Site Tools


api:dk11:python:tatukgis.pdk.tgis_topology.combine_tgis_shape_tgis_shape_tgis_topologycombinetype_boolean

TGIS_Topology.Combine(TGIS_Shape, TGIS_Shape, TGIS_TopologyCombineType, bool) method

DK11 for Python | tatukgis.pdk.TGIS_Topology.Combine | Overloads | Constructors | Methods | Properties | Events

Compute a new shape from the two shapes provided, based on a given operation.

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

Syntax

# Python
def Combine(
  self,
  _shpA: TGIS_Shape,
  _shpB: TGIS_Shape,
  _operation: TGIS_TopologyCombineType,
  _fixshape: bool
) -> TGIS_Shape: 

Parameters

Name Type Description
_shpA TGIS_Shape first shape
_shpB TGIS_Shape second shape
_operation TGIS_TopologyCombineType operation code; what kind of operation should be perform between (_shpA) and (_shpB)
_fixshape bool if True, then checks and eventually fixes the input shapes for common topological problems, like self-crossings, overlapped parts etc.

Result

Type Description
TGIS_Shape returns new shape combined out of two others based on given type of operation

Remarks

See TGIS_Shape.Combine for example.

References

2023/08/09 01:59

Page Tools