Show / Hide Table of Contents

Property HasCurves

HasCurves

Gets a value indicating whether the geometry has any curves.

Declaration
public bool HasCurves { get; }
Property Value
Type Description
Boolean

A value indicating whether the geometry has any curves.

Remarks

The ArcGIS Platform supports polygon and polyline geometries that contain curve segments (where IsCurve is true, sometimes known as true curves or nonlinear segments). Curves may be present in certain types of data - for example Mobile Map Packages (MMPK) or geometry JSON. When connecting to ArcGIS feature services that SupportsTrueCurve, ArcGIS Runtime retrieves densified versions of curve feature geometries by default.

If a polygon or polyline geometry contains curve segments, this property returns true. Prior to v100.12, it was not possible to access curve segments, and only LineSegment instances would be returned when iterating through the segments in a Polygon or Polyline object, irrespective of this property.

From v100.12, you can use curve segments when using a MultipartBuilder<T> to create or edit polygon and polyline geometries, and also get curve segments when iterating through the segments of existing Multipart geometries when this property returns true. You can also choose to return true curves from feature services by using ServiceCurveGeometryMode.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.0 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 100.15
In This Article
Back to top Copyright © 2022 Esri.