Offset Geometry Activity

Description

Creates an offset version of the input geometry.

Inputs

Geometry

Required

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

The geometries to offset.

Distance

Required

Type: Number

The offset distance for the geometry.

Join Type

Optional

Type: "round" | "bevel" | "miter" | "square" | String

The join type.

Known values: round | bevel | miter | square.

Unit

Optional

Type: String | Number

Measurement unit of the offset distance.

Defaults to the units of the input geometry.

Known values: meters | feet | kilometers | miles | nautical-miles | yards.

Bevel Ratio

Optional

Type: Number

Applicable when Join Type = 'miter'; Bevel Ratio is multiplied by the offset distance and the result determines how far a mitered offset intersection can be located before it is beveled.

Flatten Error

Optional

Type: Number

Applicable when Join Type = 'round'; flattenError determines the maximum distance of the resulting segments compared to the true circular arc.

The algorithm never produces more than around 180 vertices for each round join.

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

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.

See also...

https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Geometry.html