MTOAnalysisVisibility#

class ansys.stk.core.stkobjects.MTOAnalysisVisibility#

MTO Visibility Computation.

Overview#

are_all_tracks_visible

Return true if all tracks are visible to the object.

are_tracks_visible

Return true if any track in the array is visible to the object.

compute_all_tracks

Return an array of track ids with a bool value indicating if it’s visible to the specified object.

compute_tracks

Return an array of track ids with a bool value indicating if it’s visible to the specified object.

show_any_track

Return true if any track is visible to the object.

show_track

Return true is the track is visible to the object.

entirety

Visibility Entirety.

object_data

If the Object to which range will be computed is an MTO, use this option to specify the track that will be used to compute that range. By default the MTO’s ComputeTrack will be used.

object_interval

Use Extended to use the last point of the ephemeris span of the object for times past the last point. Default is Normal.

object_path

Get or set the object used for the visibility computation.

use_terrain

Indicate whether to use terrain instead of line of sight. Default is Terrain Off.

Import detail#

from ansys.stk.core.stkobjects import MTOAnalysisVisibility

Property detail#

property MTOAnalysisVisibility.entirety: MTOEntirety#

Visibility Entirety.

property MTOAnalysisVisibility.object_data: int#

If the Object to which range will be computed is an MTO, use this option to specify the track that will be used to compute that range. By default the MTO’s ComputeTrack will be used.

property MTOAnalysisVisibility.object_interval: MTOObjectInterval#

Use Extended to use the last point of the ephemeris span of the object for times past the last point. Default is Normal.

property MTOAnalysisVisibility.object_path: str#

Get or set the object used for the visibility computation.

property MTOAnalysisVisibility.use_terrain: bool#

Indicate whether to use terrain instead of line of sight. Default is Terrain Off.

Method detail#

MTOAnalysisVisibility.are_all_tracks_visible(self, time: Any) bool#

Return true if all tracks are visible to the object.

Parameters:

time : Any

Returns:

bool

MTOAnalysisVisibility.are_tracks_visible(self, eval: MTOTrackEvaluationType, track_ids: list, time: Any) bool#

Return true if any track in the array is visible to the object.

Parameters:

eval : MTOTrackEvaluationType

track_ids : list

time : Any

Returns:

bool

MTOAnalysisVisibility.compute_all_tracks(self, mode: MTOVisibilityMode, time: Any) list#

Return an array of track ids with a bool value indicating if it’s visible to the specified object.

Parameters:

mode : MTOVisibilityMode

time : Any

Returns:

list

MTOAnalysisVisibility.compute_tracks(self, mode: MTOVisibilityMode, track_ids: list, time: Any) list#

Return an array of track ids with a bool value indicating if it’s visible to the specified object.

Parameters:

mode : MTOVisibilityMode

track_ids : list

time : Any

Returns:

list

MTOAnalysisVisibility.show_any_track(self, time: Any) bool#

Return true if any track is visible to the object.

Parameters:

time : Any

Returns:

bool

MTOAnalysisVisibility.show_track(self, track_id: int, time: Any) bool#

Return true is the track is visible to the object.

Parameters:

track_id : int

time : Any

Returns:

bool