LocationDistanceMeasurement class final
An analysis object that evaluates direct, vertical, and horizontal distances between two points defined by start and end point locations.
LocationDistanceMeasurement measures the distance between a start and an end location (each using Point geometry). Three distances components are calculated:
- Direct distance - the direct distance between the start and end location
- Horizontal distance - the horizontal component of the direct distance
- Vertical distance - the vertical component of the direct distance
Constructors
- LocationDistanceMeasurement.new({required ArcGISPoint startLocation, required ArcGISPoint endLocation})
-
Creates a LocationDistanceMeasurement analysis object that defines a
start and an end location using ArcGISPoint objects.
factory
Properties
- directDistance → Distance?
-
The direct distance component of the LocationDistanceMeasurement.
no setter
- endLocation ↔ ArcGISPoint
-
The end location of the LocationDistanceMeasurement.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- horizontalDistance → Distance?
-
The horizontal distance component of the LocationDistanceMeasurement.
no setter
- isVisible ↔ bool
-
Whether or not an Analysis is visible.
getter/setter pairinherited
-
onMeasurementChanged
→ Stream<
({Distance directDistance, Distance horizontalDistance, Distance verticalDistance})> -
Sets the callback to invoke when any of the LocationDistanceMeasurement
distance components change.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startLocation ↔ ArcGISPoint
-
The start location of the LocationDistanceMeasurement.
getter/setter pair
- unitSystem ↔ UnitSystem
-
The Unit System of the LocationDistanceMeasurement.
getter/setter pair
- verticalDistance → Distance?
-
The vertical distance component of the LocationDistanceMeasurement.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited