Click or drag to resize

DistanceToGlobeOverlayDisplayCondition Class

Defines an inclusive distance interval, in meters, that determines when an object, such as a primitive, is rendered based on the distance, in meters, from the camera to the GlobeOverlay. This is different from DistanceDisplayCondition because it is based on the camera's distance to a specified GlobeOverlay, rather than the camera's distance to the object that uses this display condition.
Inheritance Hierarchy
SystemObject
  AGI.Foundation.GraphicsDisplayCondition
    AGI.Foundation.GraphicsDistanceToGlobeOverlayDisplayCondition

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public sealed class DistanceToGlobeOverlayDisplayCondition : DisplayCondition

The DistanceToGlobeOverlayDisplayCondition type exposes the following members.

Constructors
  NameDescription
Public methodDistanceToGlobeOverlayDisplayCondition
Initializes a default distance to globe overlay display condition. With this constructor, an object is always rendered regardless of the camera's distance to the GlobeOverlay.
Public methodDistanceToGlobeOverlayDisplayCondition(GlobeOverlay, Double, Double)
Initializes a distance display condition with the GlobeOverlay and the inclusive distance interval [minimumDistance, maximumDistance]. When this display condition is assigned to an object, such as a primitive, the object is only rendered when the distance, in meters, from the camera to the GlobeOverlay is within the interval.
Top
Properties
  NameDescription
Public propertyGlobeOverlay
Gets or sets the globe overlay associated with this instance.
Public propertyMaximumDistance
Gets or sets the maximum distance, in meters, of the inclusive distance interval. Use Double.MaxValue to ignore checking the maximum distance.
Public propertyMaximumDistanceSquared
Gets the squared maximum distance, in meters, of the inclusive distance interval.
Public propertyMinimumDistance
Gets or sets the minimum distance, in meters, of the inclusive distance interval.
Public propertyMinimumDistanceSquared
Gets the squared minimum distance, in meters, of the inclusive distance interval.
Top
Methods
  NameDescription
Public methodDispose (Inherited from DisplayCondition.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also