Offset Geometry Activity

Description

Creates an offset version of the input geometry.

Offline Support

This activity works when the device is offline.

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.

* Geocortex Workflow uses different versions of Esri's ArcGIS API for JavaScript depending on the type of application. Web AppBuilder 2D apps and Geocortex HTML5 viewers use version 3.x of the JavaScript API. Web AppBuilder 3D apps use version 4.x.

Outputs

geometry

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

The offset geometry.

* Geocortex Workflow uses different versions of Esri's ArcGIS API for JavaScript depending on the type of application. Web AppBuilder 2D apps and Geocortex HTML5 viewers use version 3.x of the JavaScript API. Web AppBuilder 3D apps use version 4.x.

Properties

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

Version Information

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

See Also...

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

© 2018 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.9