open3d.utility.Vector2iVector

class open3d.utility.Vector2iVector

Convert int32 numpy array of shape (n, 2) to Open3D format.

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: open3d.cpu.pybind.utility.Vector2iVector) -> None

  2. __init__(self: open3d.cpu.pybind.utility.Vector2iVector, arg0: numpy.ndarray[int32]) -> None

  3. __init__(self: open3d.cpu.pybind.utility.Vector2iVector, arg0: open3d.cpu.pybind.utility.Vector2iVector) -> None

Copy constructor

  1. __init__(self: open3d.cpu.pybind.utility.Vector2iVector, arg0: iterable) -> None

append(self: open3d.cpu.pybind.utility.Vector2iVector, x: numpy.ndarray[int32[2, 1]]) → None

Add an item to the end of the list

clear(self: open3d.cpu.pybind.utility.Vector2iVector) → None

Clear the contents

count(self: open3d.cpu.pybind.utility.Vector2iVector, x: numpy.ndarray[int32[2, 1]]) → int

Return the number of times x appears in the list

extend(*args, **kwargs)

Overloaded function.

  1. extend(self: open3d.cpu.pybind.utility.Vector2iVector, L: open3d.cpu.pybind.utility.Vector2iVector) -> None

Extend the list by appending all the items in the given list

  1. extend(self: open3d.cpu.pybind.utility.Vector2iVector, L: iterable) -> None

Extend the list by appending all the items in the given list

insert(self: open3d.cpu.pybind.utility.Vector2iVector, i: int, x: numpy.ndarray[int32[2, 1]]) → None

Insert an item at a given position.

pop(*args, **kwargs)

Overloaded function.

  1. pop(self: open3d.cpu.pybind.utility.Vector2iVector) -> numpy.ndarray[int32[2, 1]]

Remove and return the last item

  1. pop(self: open3d.cpu.pybind.utility.Vector2iVector, i: int) -> numpy.ndarray[int32[2, 1]]

Remove and return the item at index i

remove(self: open3d.cpu.pybind.utility.Vector2iVector, x: numpy.ndarray[int32[2, 1]]) → None

Remove the first item from the list whose value is x. It is an error if there is no such item.