Skip To Content ArcGIS for Developers Sign In Dashboard

UtilityGeometryTraceResult Class

class Esri::ArcGISRuntime::UtilityGeometryTraceResult

The trace result comprised of a set of Geometry objects representing the network elements identified by the trace. More...

Header: #include <UtilityGeometryTraceResult>
Since: Esri::ArcGISRuntime 100.9
Inherits: Esri::ArcGISRuntime::UtilityTraceResult

This class was introduced in Esri::ArcGISRuntime 100.9.

Public Functions

virtual ~UtilityGeometryTraceResult() override
Esri::ArcGISRuntime::Multipoint multipoint() const
Esri::ArcGISRuntime::Polygon polygon() const
Esri::ArcGISRuntime::Polyline polyline() const

Detailed Description

The UtilityGeometryTraceResult exposes the geometry result with a property for each potential geometry type: Multipoint, Polyline, and Polygon. The geometry for these properties is the union of all geometries of that type returned by the trace. If the result does not include a certain geometry type, the corresponding property will be Geometry::isEmpty.

Member Function Documentation

[override virtual] UtilityGeometryTraceResult::~UtilityGeometryTraceResult()

Destructor.

Esri::ArcGISRuntime::Multipoint UtilityGeometryTraceResult::multipoint() const

Returns the Multipoint that comprise the trace results.

The Multipoint is the union of all point geometries returned by the trace. If the result does not include points, this property will be Geometry::isEmpty.

Esri::ArcGISRuntime::Polygon UtilityGeometryTraceResult::polygon() const

Returns the Polygon that comprise the trace results.

The Polygon is the union of all polygon geometries returned by the trace. If the result does not include polygons, this property will be Geometry::isEmpty.

Esri::ArcGISRuntime::Polyline UtilityGeometryTraceResult::polyline() const

Returns the Polyline that comprise the trace results.

The Polyline is the union of all line geometries returned by the trace. If the result does not include lines, this property will be Geometry::isEmpty. The result may be a curve, in which case it should be densified.


Feedback on this topic?