User Tools

Site Tools


api:dk11:delphi:gislayervector.tgis_shape.combine_tgis_shape_tgis_topologycombinetype_boolean

Table of Contents

TGIS_Shape.Combine(TGIS_Shape; TGIS_TopologyCombineType; Boolean) method

DK11 for Delphi | GisLayerVector.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: .NET | Java | ActiveX | Python.

Syntax

// Delphi
public
  function Combine(
    const _shape : TGIS_Shape;
    const _operation : TGIS_TopologyCombineType;
    const _returnnewobj : Boolean
  ) : TGIS_Shape; overload;
// C++ Builder
public:
  TGIS_Shape* Combine(
    TGIS_Shape* const _shape,
    TGIS_TopologyCombineType* const _operation,
    const bool _returnnewobj
  ) /* overload */;

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 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.

2024/12/20 22:19

Page Tools