GeoElementLineOfSight class final
An analysis object that evaluates visibility along a line defined by observer and target GeoElement objects.
GeoElementLineOfSight renders a line between an observer GeoElement and a target GeoElement (each using Point geometry). Visible and obstructed portions of the line are displayed with unique colors (green and red by default). The observer and/or target GeoElements may be moving, in which case visibility will be dynamically updated. Supported GeoElement types are Graphic, Feature, and DynamicEntity.
- Inheritance
-
- Object
- Analysis
- LineOfSight
- GeoElementLineOfSight
Constructors
- GeoElementLineOfSight.new({required GeoElement observerGeoElement, required GeoElement targetGeoElement})
-
Creates a LineOfSight analysis object that defines an observer and a
target using point GeoElement 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
- observerGeoElement → GeoElement
-
The observer GeoElement of the GeoElementLineOfSight.
no setter
- observerOffsetX ↔ double
-
The location offset applied to the observer GeoElement in the X
direction.
getter/setter pair
- observerOffsetY ↔ double
-
The location offset applied to the observer GeoElement in the Y
direction.
getter/setter pair
- observerOffsetZ ↔ double
-
The location offset applied to the observer GeoElement in the Z
direction.
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
- targetGeoElement → GeoElement
-
The target GeoElement of the GeoElementLineOfSight.
no setter
- targetOffsetX ↔ double
-
The location offset applied to the target GeoElement in the X direction.
getter/setter pair
- targetOffsetY ↔ double
-
The location offset applied to the target GeoElement in the Y direction.
getter/setter pair
- targetOffsetZ ↔ double
-
The location offset applied to the target GeoElement in the Z direction.
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