DensifyParameters

require(["esri/tasks/support/DensifyParameters"], function(DensifyParameters) { /* code goes here */ });
Class: esri/tasks/support/DensifyParameters
Inheritance: DensifyParameters Accessor
Since: ArcGIS API for JavaScript 4.0

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.
NameTypeSummaryClass
String

The name of the class.

more details
more detailsAccessor
Boolean

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

more details
more detailsDensifyParameters
Geometry[]

The array of geometries to be densified.

more details
more detailsDensifyParameters
String

The length unit of maxSegmentLength.

more details
more detailsDensifyParameters
Number

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

more details
more detailsDensifyParameters

Property Details

declaredClassStringreadonly inherited
Since: ArcGIS API for JavaScript 4.7

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

geodesicBoolean

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

geometriesGeometry[]

The array of geometries to be densified.

lengthUnitString

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

maxSegmentLengthNumber

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

Method Overview

NameReturn TypeSummaryClass
Object

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

more details
more detailsDensifyParameters

Method Details

toJSON(){Object}

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

Returns:
TypeDescription
ObjectThe ArcGIS portal JSON representation of an instance of this class.

API Reference search results

NameTypeModule
Loading...