serviceCurveGeometryMode property

ServiceCurveGeometryMode get serviceCurveGeometryMode

Determines if curve geometries are fetched from and sent to services that support them.

By default, this API fetches curves in geometries and act as a true curve client, which means:

It is your responsibility to ensure data integrity by correctly preserving any curve segments throughout your application when using ServiceCurveGeometryMode.trueCurveClient. If your application edits feature geometries and does not preserve curve segments throughout all editing workflows, set this property to ServiceCurveGeometryMode.densifyCurves, which means:

Ensure that you change this property before any calls to services are made, as it cannot be changed after the first request has begun. Note that some geometry operations do not support curve geometries; see GeometryEngine for details of curve support.

For details of curve support in services, see ArcGIS REST API documentation.

For services that don't support curves, this value has no effect.

This value also has no effect on existing local data sources that may contain curve geometries, such as previously created mobile geodatabases or mobile map packages. For example, synchronizing edits made to a mobile geodatabase with its feature service will not use this value. When the geodatabase is synchronized it will be treated as a true curve client if it was created with true curves preserved. See Geodatabase.isTrueCurveClient for details.

set serviceCurveGeometryMode (ServiceCurveGeometryMode value)