DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.Combine | Methods | Properties
Performs a boolean geometry operation between this shape and another shape.
// C# public ITGIS_Shape Combine( ITGIS_Shape _shape, TGIS_TopologyCombineType _operation );
' VisualBasic Public Function Combine( ByVal _shape As ITGIS_Shape, ByVal _operation As TGIS_TopologyCombineType ) As ITGIS_Shape
// Oxygene public function Combine( _shape : ITGIS_Shape; _operation : TGIS_TopologyCombineType ) : ITGIS_Shape;
| Name | Type | Description |
|---|---|---|
| _shape | ITGIS_Shape | Shape to combine with. |
| _operation | TGIS_TopologyCombineType | Operation type from TGIS_TopologyCombineType. |
| Type | Description |
|---|---|
| ITGIS_Shape | Newly created result shape, or nil if the operation produces no result. |
PURPOSE: Execute a runtime-selected topology operation such as union, intersection, difference, or symmetrical difference on vector geometry.
BEHAVIOR: Applies the operation specified by _operation and returns the computed geometry as a new shape instance. The source shapes are not modified by this overload.
USAGE: Create a result shape from two input geometries.
result = shapeA.Combine(shapeB, operation) if result outputLayer.AddShape(result)
CONSTRAINTS: Both shapes must have valid geometry suitable for topology processing.