BendingShapeList
Canonical path: NemAll_Python_Reinforcement.BendingShapeList
List for BendingShape objects
__contains__
__contains__(value: BendingShape) -> bool
Check for a value in the list
Parameters:
-
value
(BendingShape
) –Value to check
Returns:
-
bool
–State for value is in the list
__delitem__
__delitem__(value: BendingShape)
__eq__
__eq__(compare_list: BendingShapeList) -> bool
Compare two lists
Parameters:
-
compare_list
(BendingShapeList
) –List to compare
Returns:
-
bool
–Lists are equal state
__getitem__
__getitem__(index: int) -> BendingShape
Get a list item
Parameters:
-
index
(int
) –Index of the item
Returns:
-
BendingShape
–Value for the index
__iadd__
__iadd__(eleList: list) -> BendingShapeList
Add a list
Parameters:
-
eleList
(list
) –BendingShape list
Returns:
-
BendingShapeList
–Lists with the added elements
__init__
overloaded
Initialize
__init__(ele: BendingShape)
Constructor with a list of BendingShape
Parameters:
-
eleList
(list
) –BendingShape list
__setitem__
__setitem__(index: int | slice, value: BendingShape)
Set a list item
Parameters:
-
index
(int | slice
) –Index of the item
-
value
(BendingShape
) –Value to item
append
append(value: BendingShape)
extend
overloaded
extend(iterable: BendingShapeList)
Add the items from an iterable to the end of the list
Parameters:
-
iterable
(BendingShapeList
) –Iterable to add
Extend the list
Parameters:
-
eleList
(list
) –BendingShape list
Placeholder