LocationLineOfSight

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

Since

200.1.0

See also

Constructors

Link copied to clipboard
constructor(observerLocation: Point, targetLocation: Point)

Creates a LineOfSight analysis object that defines an observer and a target using Point objects. The LineOfSight analysis result is a line rendered between the observer and target locations with distinct colors representing visible and obstructed segments.

Properties

Link copied to clipboard

The observer location of the LocationLineOfSight. The point coordinates (x,y,z) define the observer location in 3D space.

Link copied to clipboard

The target point location of the LocationLineOfSight. The point coordinates (x,y,z) define the target location in 3D space.

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.