DistanceDisplayCondition#
- class ansys.stk.core.graphics.DistanceDisplayCondition#
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 object.
Overview#
Get or set the minimum distance of the inclusive distance interval. |
|
Get or set the maximum distance of the inclusive distance interval. Use Double.MaxValue to ignore checking the maximum distance. |
|
Get the squared minimum distance of the inclusive distance interval. |
|
Get the squared maximum distance of the inclusive distance interval. |
Import detail#
from ansys.stk.core.graphics import DistanceDisplayCondition
Property detail#
- property DistanceDisplayCondition.minimum_distance: float#
Get or set the minimum distance of the inclusive distance interval.
- property DistanceDisplayCondition.maximum_distance: float#
Get or set the maximum distance of the inclusive distance interval. Use Double.MaxValue to ignore checking the maximum distance.