Skip to content

Arc3DList

Canonical path: NemAll_Python_Geometry.Arc3DList

List for Arc3D objects

__contains__

__contains__(value: Arc3D) -> bool

Check for a value in the list

Parameters:

  • value (Arc3D) –

    Value to check

Returns:

  • bool

    State for value is in the list

__delitem__

__delitem__(value: Arc3D)

Delete a list item

Parameters:

  • value (Arc3D) –

    Value to delete

__eq__

__eq__(compare_list: Arc3DList) -> bool

Compare two lists

Parameters:

  • compare_list (Arc3DList) –

    List to compare

Returns:

  • bool

    Lists are equal state

__getitem__

__getitem__(index: int) -> Arc3D

Get a list item

Parameters:

  • index (int) –

    Index of the item

Returns:

  • Arc3D

    Value for the index

__iadd__

__iadd__(eleList: list) -> Arc3DList

Add a list

Parameters:

  • eleList (list) –

    Arc3D list

Returns:

  • Arc3DList

    Lists with the added elements

__init__ overloaded

__init__()

Initialize

__init__(ele: Arc3D)

Constructor with a Arc3D

Parameters:

__init__(eleList: list)

Constructor with a list of Arc3D

Parameters:

  • eleList (list) –

    Arc3D list

__iter__

__iter__() -> Iterator

List iterator

Returns:

  • Iterator

    List iterator

__len__

__len__() -> int

Get the list length

Returns:

  • int

    Length of the list

__repr__

__repr__() -> str

Create a string from the elements of the list

__setitem__

__setitem__(index: int | slice, value: Arc3D)

Set a list item

Parameters:

  • index (int | slice) –

    Index of the item

  • value (Arc3D) –

    Value to item

append

append(value: Arc3D)

Append a list item

Parameters:

  • value (Arc3D) –

    Value to append

extend overloaded

extend(iterable: Arc3DList)

Add the items from an iterable to the end of the list

Parameters:

extend(eleList: list)

Extend the list

Parameters:

  • eleList (list) –

    Arc3D list

Placeholder