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
execute(geometry, transformation){Geometry}
-
Executes an affine transformation on the geometry.
Parametersgeometry GeometryThe geometry to be transformed.
transformation TransformationThe transformation to apply to the
geometry
.ReturnsType Description Geometry Returns the transformed geometry.
-
Executes an affine transformation on multiple geometries.
ParametersThe geometries to be transformed.
transformation TransformationThe transformation to apply to the
geometries
.Returns