VehicleTargetPointingCollection#
- class ansys.stk.core.stkobjects.VehicleTargetPointingCollection#
List of Attitude Targets.
Overview#
Given an index, returns an element in the collection. |
|
Remove an element from the collection using specified index. |
|
Remove all elements from the collection. |
|
Add a new element to the collection. |
|
Return true if the collection contains the specified target. |
|
Remove the element using the object path. |
|
Add the specified LLA position to the collection of targets. Latitude param uses Latitude Dimension, Longitude param uses Longitude Dimension. Alt param uses Distance Dimension. |
Return the number of elements in a collection. |
|
Return an enumerator that can iterate through the collection. |
|
Return an array of available targets. |
Import detail#
from ansys.stk.core.stkobjects import VehicleTargetPointingCollection
Property detail#
- property VehicleTargetPointingCollection._new_enum: EnumeratorProxy#
Return an enumerator that can iterate through the collection.
Method detail#
- VehicleTargetPointingCollection.item(self, index: int) VehicleTargetPointingElement #
Given an index, returns an element in the collection.
- Parameters:
index :
int
- Returns:
VehicleTargetPointingElement
- VehicleTargetPointingCollection.remove_at(self, index: int) None #
Remove an element from the collection using specified index.
- VehicleTargetPointingCollection.remove_all(self) None #
Remove all elements from the collection.
- Returns:
- VehicleTargetPointingCollection.add(self, short_path: str) VehicleTargetPointingElement #
Add a new element to the collection.
- Parameters:
short_path :
str
- Returns:
VehicleTargetPointingElement
- VehicleTargetPointingCollection.contains(self, path: str) bool #
Return true if the collection contains the specified target.
- VehicleTargetPointingCollection.remove(self, path: str) None #
Remove the element using the object path.
- VehicleTargetPointingCollection.add_position_as_target(self, latitude: float, longitude: float, altitude: float) VehicleTargetPointingElement #
Add the specified LLA position to the collection of targets. Latitude param uses Latitude Dimension, Longitude param uses Longitude Dimension. Alt param uses Distance Dimension.