Class UtilityGeometryTraceResult

java.lang.Object
com.esri.arcgisruntime.utilitynetworks.UtilityTraceResult
com.esri.arcgisruntime.utilitynetworks.UtilityGeometryTraceResult

public final class UtilityGeometryTraceResult extends UtilityTraceResult
The trace result comprised of a set of Geometry objects representing the network elements identified by the trace.

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 null.

Since:
100.9.0
  • Method Details

    • getMultipoint

      public Multipoint getMultipoint()
      Gets the Multipoint that comprises 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 null.

      Returns:
      the Multipoint that comprises the trace results, or null if none
      Since:
      100.9.0
    • getPolygon

      public Polygon getPolygon()
      Gets the Polygon that comprises 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 null.

      Returns:
      the Polygon that comprises the trace results, or null if none
      Since:
      100.9.0
    • getPolyline

      public Polyline getPolyline()
      Gets the Polyline that comprises 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 null. The result may be a curve, in which case it should be densified.

      Returns:
      the Polyline that comprises the trace results, or null if none
      Since:
      100.9.0