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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |