DensifyParameters

AMD: require(["esri/tasks/support/DensifyParameters"], (DensifyParameters) => { /* code goes here */ });
ESM: import DensifyParameters from "@arcgis/core/tasks/support/DensifyParameters";
Class: esri/tasks/support/DensifyParameters
Inheritance: DensifyParameters Accessor
Since: ArcGIS API for JavaScript 4.0
Deprecated since version 4.20. Use DensifyParameters instead.

Input parameters for the densify() method on the GeometryService.

See also:

Constructors

new DensifyParameters(properties)
Parameter:
properties Object
optional

See the properties for a list of all the properties that may be passed into the constructor.

Property Overview

Any properties can be set, retrieved or listened to. See the Working with Properties topic.
Show inherited properties Hide inherited properties
Name Type Summary Class
Stringmore details

The name of the class.

more detailsAccessor
Booleanmore details

If true, Geographic Coordinate System spatial references are used or densify geodesic will be performed.

more detailsDensifyParameters
Geometry[]more details

The array of geometries to be densified.

more detailsDensifyParameters
Stringmore details

The length unit of maxSegmentLength.

more detailsDensifyParameters
Numbermore details

All segments longer than maxSegmentLength are replaced with sequences of lines no longer than maxSegmentLength.

more detailsDensifyParameters

Property Details

declaredClass Stringreadonly inherited
Since: ArcGIS API for JavaScript 4.7

The name of the class. The declared class name is formatted as esri.folder.className.

geodesic Boolean

If true, Geographic Coordinate System spatial references are used or densify geodesic will be performed.

geometries Geometry[]

The array of geometries to be densified.

lengthUnit String

The length unit of maxSegmentLength. For a list of valid units, see esriSRUnitType Constants and esriSRUnit2Type Constants.

Possible Values:"feet"|"kilometers"|"meters"|"miles"|"nautical-miles"|"yards"

maxSegmentLength Number

All segments longer than maxSegmentLength are replaced with sequences of lines no longer than maxSegmentLength.

Method Overview

Name Return Type Summary Class
Objectmore details

Converts an instance of this class to its ArcGIS portal JSON representation.

more detailsDensifyParameters

Method Details

toJSON(){Object}static

Converts an instance of this class to its ArcGIS portal JSON representation. See the Using fromJSON() topic in the Guide for more information.

Returns:
Type Description
Object The ArcGIS portal JSON representation of an instance of this class.

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