(Added at v2.0)
Sets the polylines and other parameters for the trimExtend
Search for samples
that use this class.
|Default value. The extension considers both ends of the path. The old ends remain and new points are added to the extended ends. The new points have attributes that are extrapolated from existing adjacent segments.|
|When an extension is performed at an end, do not extrapolate the end segments attributes for the new point. Instead, the attributes will be the same as the current end.|
|When an extension is performed at an end, do not extrapolate the end segment's attributes for the new point. Instead the attributes will be empty.|
|Do not extend the 'from' end of any path.|
|Do not extend the 'to' end of any path.|
|When an extension is performed at an end, relocate the end point to the new position.|
Creates a new TrimExtendParameters object. The constructor takes no parameters.
var trimExtendParams = new esri.tasks.TrimExtendParameters();
A flag used along with the trimExtend operation. See the constants table
for possible values.
The array of polylines to trim or extend. The structure of each geometry in the array is the same as the structure of the JSON polyline objects returned by the ArcGIS REST API.
trimExtendParams.polylines = esri.getGeometries(lateralFL.getSelectedFeatures());
A polyline used as a guide for trimming or extending input polylines. The structure of the polyline is the same as the structure of the JSON polyline object returned by the ArcGIS REST API.