User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_shape.intersection_tgis_shape_boolean

TGIS_Shape.Intersection(TGIS_Shape, bool) method

DK11 for Java | tatukgis.jdk.TGIS_Shape.Intersection | Overloads | Constructors | Fields | Methods | Properties

Compute an intersection with shape provided.

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

Syntax

// Java
public TGIS_Shape Intersection(
  TGIS_Shape _shape,
  bool _returnnewobj
);
// Oxygene
public
  function Intersection(
    _shape : TGIS_Shape;
    _returnnewobj : Boolean
  ) : TGIS_Shape;

Parameters

Name Type Description
_shape TGIS_Shape shape to compute intersection with
_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.

References

2023/02/24 20:58

Page Tools