STK Graphics PrimitivesSend comments on this topic.
IAgStkGraphicsDistanceToPrimitiveDisplayConditionFactory Interface

Description

Defines an inclusive distance interval that determines when an object, such as a screen overlay, is rendered based on the distance 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.

Public Methods

Public Method InitializeInitializes 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 InitializeWithDistancesInitializes 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 from the camera to the Primitive, is within the interval.

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.