Cut Geometry Activity

Description

Splits the input Polyline or Polygon where it crosses a cutting Polyline.

Usage

You may need to cut a geometry into multiple parts. You can get a polyline from the user using the Display Form activity and the Geometry Picker form element then use the polyline to cut a geometry using the Cut Geometry activity.

Inputs

Geometry

Required

Type: esri.Geometry (3.x, 4.x)*

The geometry (a Polyline or Polygon) to be cut.

Cutter

Required

Type: esri.Polyline (3.x, 4.x)*

The polyline which cuts the geometry.

* VertiGIS Studio Workflow uses different versions of Esri's ArcGIS API for JavaScript depending on the type of host application. See Underlying Technologies for information.

Outputs

geometry

Type: esri.Geometry[] (3.x, 4.x)*

The result array of geometries created by cutting the input geometry with the cutter. The result array will have zero, one, two, or three entries.

For Polylines, all left cuts are grouped together in the first Geometry. Right cuts and coincident cuts are grouped in the second Geometry and each undefined cut, along with any uncut parts, are output as separate Polylines.

For Polygons, all left cuts are grouped in the first Polygon, all right cuts are grouped in the second Polygon, and each undefined cut, along with any left-over parts after cutting, are output as a separate Polygon.

If no cuts are returned then the array will be empty.

An undefined cut will only be produced if a left cut or right cut was produced and there was a part left over after cutting, or a cut is bounded to the left and right of the cutter.

* VertiGIS Studio Workflow uses different versions of Esri's ArcGIS API for JavaScript depending on the type of host application. See Underlying Technologies for information.

Properties

For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.

Connectivity Requirements

This activity works when the device has intermittent connectivity to the network.

Version Information

Supported from: Geocortex Viewer for HTML5 2.9, ArcGIS Web AppBuilder 2.4.