open3d.utility.Vector2dVector#
- class open3d.utility.Vector2dVector#
Convert float64 numpy array of shape
(n, 2)
to Open3D format.- __init__(*args, **kwargs)#
Overloaded function.
__init__(self: open3d.utility.Vector2dVector) -> None
__init__(self: open3d.utility.Vector2dVector, arg0: typing.Annotated[numpy.typing.ArrayLike, numpy.float64]) -> None
__init__(self: open3d.utility.Vector2dVector, arg0: open3d.utility.Vector2dVector) -> None
Copy constructor
__init__(self: open3d.utility.Vector2dVector, arg0: collections.abc.Iterable) -> None
- append(self: open3d.utility.Vector2dVector, x: Annotated[numpy.typing.ArrayLike, numpy.float64, '[2, 1]']) None #
Add an item to the end of the list
- clear(self: open3d.utility.Vector2dVector) None #
Clear the contents
- count(self: open3d.utility.Vector2dVector, x: Annotated[numpy.typing.ArrayLike, numpy.float64, '[2, 1]']) int #
Return the number of times
x
appears in the list
- extend(*args, **kwargs)#
Overloaded function.
extend(self: open3d.utility.Vector2dVector, L: open3d.utility.Vector2dVector) -> None
Extend the list by appending all the items in the given list
extend(self: open3d.utility.Vector2dVector, L: collections.abc.Iterable) -> None
Extend the list by appending all the items in the given list
- insert(self: open3d.utility.Vector2dVector, i: SupportsInt, x: Annotated[numpy.typing.ArrayLike, numpy.float64, '[2, 1]']) None #
Insert an item at a given position.
- pop(*args, **kwargs)#
Overloaded function.
pop(self: open3d.utility.Vector2dVector) -> typing.Annotated[numpy.typing.NDArray[numpy.float64], “[2, 1]”]
Remove and return the last item
pop(self: open3d.utility.Vector2dVector, i: typing.SupportsInt) -> typing.Annotated[numpy.typing.NDArray[numpy.float64], “[2, 1]”]
Remove and return the item at index
i
- remove(self: open3d.utility.Vector2dVector, x: Annotated[numpy.typing.ArrayLike, numpy.float64, '[2, 1]']) None #
Remove the first item from the list whose value is x. It is an error if there is no such item.