VehicleWaypointsCollection#
- class ansys.stk.core.stkobjects.VehicleWaypointsCollection#
Collection of waypoints for a Great Arc vehicle.
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. |
|
Determine whether the collection contains the waypoint at the specified time. |
|
Determine whether the collection contains the specified waypoint and returns an index of existing waypoint. The index < 0 indicates the way point is not in the collection. |
|
Return a two-dimensional array that contains the way points. Each sub-array represents a waypoint. The order of the elements is Time, Latitude, Longitude, Altitude,Speed,Acceleration,TurnRadius. |
Import detail#
from ansys.stk.core.stkobjects import VehicleWaypointsCollection
Property detail#
- property VehicleWaypointsCollection._new_enum: EnumeratorProxy#
Return an enumerator that can iterate through the collection.
Method detail#
- VehicleWaypointsCollection.item(self, index: int) VehicleWaypointsElement #
Given an index, returns an element in the collection.
- Parameters:
index :
int
- Returns:
VehicleWaypointsElement
- VehicleWaypointsCollection.remove_at(self, index: int) None #
Remove an element from the collection using specified index.
- VehicleWaypointsCollection.remove_all(self) None #
Remove all elements from the collection.
- Returns:
- VehicleWaypointsCollection.add(self) VehicleWaypointsElement #
Add a new element to the collection.
- Returns:
VehicleWaypointsElement
- VehicleWaypointsCollection.contains(self, time: Any) bool #
Determine whether the collection contains the waypoint at the specified time.