MTOTrackPointCollection#
- class ansys.stk.core.stkobjects.MTOTrackPointCollection#
MTO track point list.
Overview#
Given an index, returns an element in the collection. |
|
Remove an element from the collection using a specified index. |
|
Remove all elements from the collection. |
|
Add a new element to the collection. Time uses DateFormat Dimension. |
|
Add a new element to the collection using specified point data. Time uses DateFormat Dimension. Latitude/Longitude use Angle Dimension. Altitude uses Distance Dimension. |
|
Load MTO track points. |
|
Extend the track with the specified point data. |
|
Insert a point into the track point collection. Uses the time to determine where the point should be inserted. This is slower than AddPoint, AddPoints or Extend. |
Import detail#
from ansys.stk.core.stkobjects import MTOTrackPointCollection
Property detail#
- property MTOTrackPointCollection._new_enum: EnumeratorProxy#
Return an enumerator that can iterate through the collection.
Method detail#
- MTOTrackPointCollection.item(self, index: int) MTOTrackPoint #
Given an index, returns an element in the collection.
- Parameters:
index :
int
- Returns:
MTOTrackPoint
- MTOTrackPointCollection.remove_at(self, index: int) None #
Remove an element from the collection using a specified index.
- MTOTrackPointCollection.add(self, time: Any) MTOTrackPoint #
Add a new element to the collection. Time uses DateFormat Dimension.
- Parameters:
time :
Any
- Returns:
MTOTrackPoint
- MTOTrackPointCollection.add_point(self, time: Any, latitude: float, longitude: float, altitude: float) MTOTrackPoint #
Add a new element to the collection using specified point data. Time uses DateFormat Dimension. Latitude/Longitude use Angle Dimension. Altitude uses Distance Dimension.
- MTOTrackPointCollection.extend(self, time_vals: list, lat_vals: list, lon_vals: list, alt_vals: list) None #
Extend the track with the specified point data.