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.

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

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

Supported Environments

Environments capable of running this activity

Server

 

Client

Geocortex Web

Geocortex Mobile

Geocortex Viewer for HTML5

Web AppBuilder

Offline Support

This activity works when the device is offline.

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

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.15