affineTransformOperator

AMD: require(["esri/geometry/operators/affineTransformOperator"], (affineTransformOperator) => { /* code goes here */ });
ESM: import * as affineTransformOperator from "@arcgis/core/geometry/operators/affineTransformOperator.js";
Object: esri/geometry/operators/affineTransformOperator
Since: ArcGIS Maps SDK for JavaScript 4.31
beta

Applies an affine transformation to 2D geometries via the Transformation class.

Method Overview

Name Return Type Summary Object

Executes an affine transformation on the geometry.

affineTransformOperator

Executes an affine transformation on multiple geometries.

affineTransformOperator

Method Details

execute

Method
execute(geometry, transformation){Geometry}

Executes an affine transformation on the geometry.

Parameters
geometry Geometry

The geometry to be transformed.

transformation Transformation

The transformation to apply to the geometry.

Returns
Type Description
Geometry Returns the transformed geometry.

executeMany

Method
executeMany(geometries, transformation){Geometry[]}

Executes an affine transformation on multiple geometries.

Parameters
geometries Geometry[]

The geometries to be transformed.

transformation Transformation

The transformation to apply to the geometries.

Returns
Type Description
Geometry[] Returns the transformed geometries.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

The developer dashboard has moved

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close