GeoElementLineOfSight

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.

Since

200.1.0

See also

Constructors

Link copied to clipboard
constructor(observerGeoElement: GeoElement, targetGeoElement: GeoElement)

Creates a LineOfSight analysis object that defines an observer and a target using point GeoElement objects. The LineOfSight analysis result is a line rendered between the observer and target elements with distinct colors representing visible and obstructed segments. Supported GeoElement types are Graphic, Feature, and DynamicEntity.

Properties

Link copied to clipboard

The observer GeoElement of the GeoElementLineOfSight. The observer GeoElement must have point geometry. Supported GeoElement types are Graphic, Feature, and DynamicEntity.

Link copied to clipboard

The location offset applied to the observer GeoElement in the X direction. The observer location is determined by the location of the GeoElement plus any defined offsets (in X, Y, or Z). The offset position of the observer relative to the GeoElement is always maintained, even when the GeoElement moves.

Link copied to clipboard

The location offset applied to the observer GeoElement in the Y direction. The observer location is determined by the location of the GeoElement plus any defined offsets (in X, Y, or Z). The offset position of the observer relative to the GeoElement is always maintained, even when the GeoElement moves.

Link copied to clipboard

The location offset applied to the observer GeoElement in the Z direction. The observer location is determined by the location of the GeoElement plus any defined offsets (in X, Y, or Z). The offset position of the observer relative to the GeoElement is always maintained, even when the GeoElement moves.

Link copied to clipboard

The target GeoElement of the GeoElementLineOfSight. The target GeoElement must have point geometry. Supported GeoElement types are Graphic, Feature, and DynamicEntity.

Link copied to clipboard

The location offset applied to the target GeoElement in the X direction. The target location is determined by the location of the GeoElement plus any defined offsets (in X, Y, or Z). The offset position of the target relative to the GeoElement is always maintained, even when the GeoElement moves.

Link copied to clipboard

The location offset applied to the target GeoElement in the Y direction. The target location is determined by the location of the GeoElement plus any defined offsets (in X, Y, or Z). The offset position of the target relative to the GeoElement is always maintained, even when the GeoElement moves.

Link copied to clipboard

The location offset applied to the target GeoElement in the Z direction. The target location is determined by the location of the GeoElement plus any defined offsets (in X, Y, or Z). The offset position of the target relative to the GeoElement is always maintained, even when the GeoElement moves.

Inherited properties

Link copied to clipboard

Whether or not an Analysis is visible. Visibility can be controlled for individual Analyses as well as for the AnalysisOverlay that contains them. Will return false if an error occurs.

Link copied to clipboard

The target visibility state. Use LineOfSight.targetVisibilityChanged to handle changes in target visibility.