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 CollectionT. (Inherited from CollectionElevationMask.) | |
Item | Gets or sets the element at the specified index. (Inherited from CollectionElevationMask.) | |
Items | Gets a IListT wrapper around the CollectionT. (Inherited from CollectionElevationMask.) | |
Position |
Gets or sets the planetodetic position of the observer for the mask.
|
Name | Description | |
---|---|---|
Add | Adds an object to the end of the CollectionT. (Inherited from CollectionElevationMask.) | |
Clear | Removes all elements from the CollectionT. (Inherited from CollectionElevationMask.) | |
ClearItems | Removes all elements from the CollectionT. (Inherited from CollectionElevationMask.) | |
Contains | Determines whether an element is in the CollectionT. (Inherited from CollectionElevationMask.) | |
CopyTo | Copies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from CollectionElevationMask.) | |
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 CollectionT. (Inherited from CollectionElevationMask.) | |
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 CollectionT. (Inherited from CollectionElevationMask.) | |
Insert | Inserts an element into the CollectionT at the specified index. (Inherited from CollectionElevationMask.) | |
InsertItem | Inserts an element into the CollectionT at the specified index. (Inherited from CollectionElevationMask.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Remove | Removes the first occurrence of a specific object from the CollectionT. (Inherited from CollectionElevationMask.) | |
RemoveAt | Removes the element at the specified index of the CollectionT. (Inherited from CollectionElevationMask.) | |
RemoveItem | Removes the element at the specified index of the CollectionT. (Inherited from CollectionElevationMask.) | |
SetItem | Replaces the element at the specified index. (Inherited from CollectionElevationMask.) | |
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.