DistanceToGlobeOverlayDisplayCondition#

class ansys.stk.core.graphics.DistanceToGlobeOverlayDisplayCondition#

Bases: IDisplayCondition

Define an inclusive distance interval that determines when an object, such as a primitive, is rendered based on the distance from the camera to the globe overlay…

Overview#

globe_overlay

Get or set the globe overlay associated with this instance.

minimum_distance

Get or set the minimum distance of the inclusive distance interval.

minimum_distance_squared

Get the squared minimum distance of the inclusive distance interval.

maximum_distance

Get or set the maximum distance of the inclusive distance interval. Use Double.MaxValue to ignore checking the maximum distance.

maximum_distance_squared

Get the squared maximum distance of the inclusive distance interval.

Import detail#

from ansys.stk.core.graphics import DistanceToGlobeOverlayDisplayCondition

Property detail#

property DistanceToGlobeOverlayDisplayCondition.globe_overlay: IGlobeOverlay#

Get or set the globe overlay associated with this instance.

property DistanceToGlobeOverlayDisplayCondition.minimum_distance: float#

Get or set the minimum distance of the inclusive distance interval.

property DistanceToGlobeOverlayDisplayCondition.minimum_distance_squared: float#

Get the squared minimum distance of the inclusive distance interval.

property DistanceToGlobeOverlayDisplayCondition.maximum_distance: float#

Get or set the maximum distance of the inclusive distance interval. Use Double.MaxValue to ignore checking the maximum distance.

property DistanceToGlobeOverlayDisplayCondition.maximum_distance_squared: float#

Get the squared maximum distance of the inclusive distance interval.