AGI STK Graphics 11 Send comments on this topic.
IAgStkGraphicsDistanceToPrimitiveDisplayConditionFactory Interface

Description

Defines an inclusive distance interval, in meters, that determines when an object, such as a screen overlay, is rendered based on the distance, in meters, from the camera to the Primitive. This is different from Distance Display Condition because it is based on the camera's distance to a specified Primitive, rather than the camera's distance to the object that uses this display condition.

Object Model

Public Methods

Public Method Initialize Initializes a default distance to primitive display condition. With this constructor, an object is always rendered regardless of the camera's distance to the Primitive.
Public Method InitializeWithDistances Initializes a distance to primitive display condition with the inclusive distance interval [minimumDistance, maximumDistance]. When this display condition is assigned to an object, such as a screen overlay, the object is only rendered when the distance, in meters, from the camera to the Primitive, is within the interval.

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1