LineTargetPointCollection#

class ansys.stk.core.stkobjects.LineTargetPointCollection#

The collection of points for the line target.

Overview#

item

Return the latitude-longitude pair with the specified index.

add

Add a latitude-longitude pair. Lat uses Latitude Dimension, Lon Uses Longitude Dimension.

remove

Remove an item using a given index.

remove_all

Remove all items.

_new_enum

Enumerates through the collection of points.

count

Return the number of latitude-longitude pairs.

anchor_point

Specify the anchor point. Dimensionless.

Import detail#

from ansys.stk.core.stkobjects import LineTargetPointCollection

Property detail#

property LineTargetPointCollection._new_enum: EnumeratorProxy#

Enumerates through the collection of points.

property LineTargetPointCollection.count: int#

Return the number of latitude-longitude pairs.

property LineTargetPointCollection.anchor_point: int#

Specify the anchor point. Dimensionless.

Method detail#

LineTargetPointCollection.item(self, index: int) LineTargetPoint#

Return the latitude-longitude pair with the specified index.

Parameters:

index : int

Returns:

LineTargetPoint

LineTargetPointCollection.add(self, lat: Any, lon: Any) LineTargetPoint#

Add a latitude-longitude pair. Lat uses Latitude Dimension, Lon Uses Longitude Dimension.

Parameters:

lat : Any

lon : Any

Returns:

LineTargetPoint

LineTargetPointCollection.remove(self, item_index: int) None#

Remove an item using a given index.

Parameters:

item_index : int

Returns:

None

LineTargetPointCollection.remove_all(self) None#

Remove all items.

Returns:

None