AzimuthElevationMask Class |
Namespace: AGI.Foundation.Terrain
The AzimuthElevationMask type exposes the following members.
Name | Description | |
---|---|---|
![]() | AzimuthElevationMask() | Initializes a new instance. |
![]() | AzimuthElevationMask(Cartographic) |
Initializes a new instance centered at the specified planetodetic position.
|
![]() | AzimuthElevationMask(CentralBody, Cartographic) |
Initializes a new instance centered at the specified planetodetic position on the
specified central body.
|
Name | Description | |
---|---|---|
![]() | CentralBody |
Gets or sets the central body to which this mask is relative.
|
![]() | Count | Gets the number of elements actually contained in the Collection<T>. (Inherited from Collection<ElevationMask>.) |
![]() | Item | Gets or sets the element at the specified index. (Inherited from Collection<ElevationMask>.) |
![]() | Items | Gets a IList<T> wrapper around the Collection<T>. (Inherited from Collection<ElevationMask>.) |
![]() | Position |
Gets or sets the planetodetic position of the observer for the mask.
|
Name | Description | |
---|---|---|
![]() | Add | Adds an object to the end of the Collection<T>. (Inherited from Collection<ElevationMask>.) |
![]() | Clear | Removes all elements from the Collection<T>. (Inherited from Collection<ElevationMask>.) |
![]() | ClearItems | Removes all elements from the Collection<T>. (Inherited from Collection<ElevationMask>.) |
![]() | Contains | Determines whether an element is in the Collection<T>. (Inherited from Collection<ElevationMask>.) |
![]() | CopyTo | Copies the entire Collection<T> to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from Collection<ElevationMask>.) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetEnumerator | Returns an enumerator that iterates through the Collection<T>. (Inherited from Collection<ElevationMask>.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetMaximumObscuredElevation(Double, Double) |
Computes the maximum elevation angle that is obscured as of a specified distance
along an azimuth ray.
|
![]() ![]() | GetMaximumObscuredElevation(ElevationMask, ElevationMask, Double, Double) |
Computes the maximum elevation angle that is obscured as of a specified distance
along an azimuth ray between two ElevationMask instances.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IndexOf | Searches for the specified object and returns the zero-based index of the first occurrence within the entire Collection<T>. (Inherited from Collection<ElevationMask>.) |
![]() | Insert | Inserts an element into the Collection<T> at the specified index. (Inherited from Collection<ElevationMask>.) |
![]() | InsertItem | Inserts an element into the Collection<T> at the specified index. (Inherited from Collection<ElevationMask>.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Remove | Removes the first occurrence of a specific object from the Collection<T>. (Inherited from Collection<ElevationMask>.) |
![]() | RemoveAt | Removes the element at the specified index of the Collection<T>. (Inherited from Collection<ElevationMask>.) |
![]() | RemoveItem | Removes the element at the specified index of the Collection<T>. (Inherited from Collection<ElevationMask>.) |
![]() | SetItem | Replaces the element at the specified index. (Inherited from Collection<ElevationMask>.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
An Azimuth-Elevation Mask describes how the horizon looks to a stationary object. It holds the maximum obscured elevation angle in each sampled direction from the stationary object. It can also keep track of the maximum elevation angle as a function of the linear distance from the origin of the mask. For example, if the stationary object is in a canyon, objects also inside the canyon are visible at a very low elevation angle. However, objects past the canyon walls are only visible if they are at a much steeper elevation angle such that they are above the walls.
AzimuthElevationMask is a collection of ElevationMask instances. Each ElevationMask corresponds to a particular direction. The direction is described by the Azimuth property as an azimuth angle measured from North toward East. The maximum obscured elevation angle in that direction is described by the Elevation property. Each ElevationMask instance is also a collection of ElevationRise instances, each of which describes a change in the maximum obscured elevation angle along the ray. The ElevationRise also records the linear distance from the origin of the mask to the obscured point along the given azimuth and elevation angles.
Use TerrainAzimuthElevationMask to compute an AzimuthElevationMask from terrain data. Use the GetMaximumObscuredElevation(Double, Double) method to query the maximum obscured elevation angle as a function of azimuth and distance. Alternately, you can use DelayedTerrainAzimuthElevationMask to produce an IAzimuthElevationMask which computes its values on demand, which is useful in cases where only a small swath of the mask needs to be computed for analysis.
NOTE: All of the ElevationMask instances in this collection must be sorted by azimuth in increasing order and the azimuths must not wind. The collection must have at least 2 items.