LocationLineOfSight class final

An analysis object that evaluates visibility along a line defined by observer and target point objects.

LocationLineOfSight renders a line between an observer location and a target location, each defined using a Point geometry. Visible and obstructed portions of the line are displayed with unique colors (green and red by default).

Inheritance

Constructors

LocationLineOfSight.new({required ArcGISPoint observerLocation, required ArcGISPoint targetLocation})
Creates a LineOfSight analysis object that defines an observer and a target using Point objects.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isVisible bool
Whether or not an Analysis is visible.
getter/setter pairinherited
observerLocation ArcGISPoint
The observer location of the LocationLineOfSight.
getter/setter pair
onTargetVisibilityChanged Stream<LineOfSightTargetVisibility>
Sets the callback to invoke when the LineOfSight target visibility changes.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetLocation ArcGISPoint
The target point location of the LocationLineOfSight.
getter/setter pair
targetVisibility LineOfSightTargetVisibility
The target visibility state.
no setterinherited

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