DK11 for Delphi | GisLayerVector.TGIS_Shape.Difference | Overloads | Constructors | Fields | Methods | Properties
Compute a difference with shape provided.
// Delphi public function Difference( const _shape : TGIS_Shape; const _returnnewobj : Boolean ) : TGIS_Shape; overload;
// C++ Builder public: TGIS_Shape* Difference( TGIS_Shape* const _shape, const bool _returnnewobj ) /* overload */;
Name | Type | Description |
---|---|---|
_shape | TGIS_Shape | shape to compute difference with |
_returnnewobj | Boolean | if True, then result will be returned in a newly created object; if False, then self object will be returned |
Type | Description |
---|---|
TGIS_Shape | If _returnnewobj=True, then returns newly created shape. Otherwise returns modified or unmodified self object. |
Internally it uses Combine method of TGIS_Topology class. See Combine for similar example.