Skip to content

Path2DList

Canonical path: NemAll_Python_Geometry.Path2DList

List for Path2D objects

__contains__

__contains__(value: Path2D) -> bool

Check for a value in the list

Parameters:

  • value (Path2D) –

    Value to check

Returns:

  • bool

    State for value is in the list

__delitem__

__delitem__(value: Path2D)

Delete a list item

Parameters:

  • value (Path2D) –

    Value to delete

__eq__

__eq__(compare_list: Path2DList) -> bool

Compare two lists

__getitem__

__getitem__(index: int) -> Path2D

Get a list item

Parameters:

  • index (int) –

    Index of the item

Returns:

  • Path2D

    Value for the index

__init__

__init__()

Initialize

__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: Path2D)

Set a list item

Parameters:

  • index (int | slice) –

    Index of the item

  • value (Path2D) –

    Value to item

append

append(value: Path2D)

Append a list item

Parameters:

  • value (Path2D) –

    Value to append

extend

extend(iterable: Path2DList)

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

Parameters:

Placeholder