GeoElementLineOfSight

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.

Since

200.1.0

Parameters

observerGeoElement

A GeoElement that defines the observer.

targetGeoElement

A GeoElement that defines the target.

Throws

The GeoElement must be one of the following supported types Graphic, Feature, DynamicEntity, or DynamicEntityObservation. The geometry of the observer GeoElement must be a point and must have a value.