RadarCrossSectionContourLevelCollection#

class ansys.stk.core.stkobjects.RadarCrossSectionContourLevelCollection#

Class defining a collection of radar cross section contour levels.

Overview#

item

Given an index, returns the element in the collection.

contains

Check whether the collection contains an object with the given value.

remove

Remove the level with the corresponding value.

remove_at

Remove the level with the supplied index.

add

Add and returns a new level with the corresponding value.

clear

Clear all contour levels from the collection.

get_level

Get the level with the specified value.

count

Return the number of elements in the collection.

_new_enum

Return an enumerator for the collection.

Import detail#

from ansys.stk.core.stkobjects import RadarCrossSectionContourLevelCollection

Property detail#

property RadarCrossSectionContourLevelCollection.count: int#

Return the number of elements in the collection.

property RadarCrossSectionContourLevelCollection._new_enum: EnumeratorProxy#

Return an enumerator for the collection.

Method detail#

RadarCrossSectionContourLevelCollection.item(self, index: int) RadarCrossSectionContourLevel#

Given an index, returns the element in the collection.

Parameters:

index : int

Returns:

RadarCrossSectionContourLevel

RadarCrossSectionContourLevelCollection.contains(self, value: float) bool#

Check whether the collection contains an object with the given value.

Parameters:

value : float

Returns:

bool

RadarCrossSectionContourLevelCollection.remove(self, value: float) None#

Remove the level with the corresponding value.

Parameters:

value : float

Returns:

None

RadarCrossSectionContourLevelCollection.remove_at(self, index: int) None#

Remove the level with the supplied index.

Parameters:

index : int

Returns:

None

RadarCrossSectionContourLevelCollection.add(self, value: float) RadarCrossSectionContourLevel#

Add and returns a new level with the corresponding value.

Parameters:

value : float

Returns:

RadarCrossSectionContourLevel

RadarCrossSectionContourLevelCollection.clear(self) None#

Clear all contour levels from the collection.

Returns:

None

RadarCrossSectionContourLevelCollection.get_level(self, value: float) RadarCrossSectionContourLevel#

Get the level with the specified value.

Parameters:

value : float

Returns:

RadarCrossSectionContourLevel