User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_shape.combine_tgis_shape_tgis_topologycombinetype_boolean

Table of Contents

TGIS_Shape.Combine(TGIS_Shape, TGIS_TopologyCombineType, bool) method

DK11 for .NET | TatukGIS.NDK.TGIS_Shape.Combine | Overloads | Constructors | Fields | Methods | Properties

Compute a new shape from self and shape provided, based on a given operation.

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

Syntax

// C#
public TGIS_Shape Combine(
  TGIS_Shape _shape,
  TGIS_TopologyCombineType _operation,
  bool _returnnewobj
);
' VisualBasic
Public Function Combine(
  ByVal _shape As TGIS_Shape,
  ByVal _operation As TGIS_TopologyCombineType,
  ByVal _returnnewobj As Boolean
) As TGIS_Shape
// Oxygene
public
  function Combine(
    _shape : TGIS_Shape;
    _operation : TGIS_TopologyCombineType;
    _returnnewobj : Boolean
  ) : TGIS_Shape;

Parameters

Name Type Description
_shape TGIS_Shape shape to combine with
_operation TGIS_TopologyCombineType operation code; what kind of operation should be perform between (current shape) and (_shape)
_returnnewobj bool
Boolean
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.

2022/11/16 01:35

Page Tools