polylidar.VectorUInt8¶
- class polylidar.VectorUInt8¶
Contiguous buffer of Uint8. Use np.asarray() to get to get numpy array.
- __init__(*args, **kwargs)¶
Overloaded function.
__init__(self: polylidar_pybind.VectorUInt8, arg0: buffer) -> None
__init__(self: polylidar_pybind.VectorUInt8) -> None
__init__(self: polylidar_pybind.VectorUInt8, arg0: polylidar_pybind.VectorUInt8) -> None
Copy constructor
__init__(self: polylidar_pybind.VectorUInt8, arg0: Iterable) -> None
- append(self: polylidar_pybind.VectorUInt8, x: int) None ¶
Add an item to the end of the list
- clear(self: polylidar_pybind.VectorUInt8) None ¶
Clear the contents
- count(self: polylidar_pybind.VectorUInt8, x: int) int ¶
Return the number of times
x
appears in the list
- extend(*args, **kwargs)¶
Overloaded function.
extend(self: polylidar_pybind.VectorUInt8, L: polylidar_pybind.VectorUInt8) -> None
Extend the list by appending all the items in the given list
extend(self: polylidar_pybind.VectorUInt8, L: Iterable) -> None
Extend the list by appending all the items in the given list
- insert(self: polylidar_pybind.VectorUInt8, i: int, x: int) None ¶
Insert an item at a given position.
- pop(*args, **kwargs)¶
Overloaded function.
pop(self: polylidar_pybind.VectorUInt8) -> int
Remove and return the last item
pop(self: polylidar_pybind.VectorUInt8, i: int) -> int
Remove and return the item at index
i
- remove(self: polylidar_pybind.VectorUInt8, x: int) None ¶
Remove the first item from the list whose value is x. It is an error if there is no such item.