open3d.utility.Vector2dVector#

class open3d.utility.Vector2dVector#

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

__init__(*args, **kwargs)#

Overloaded function.

  1. __init__(self: open3d.utility.Vector2dVector) -> None

  2. __init__(self: open3d.utility.Vector2dVector, arg0: typing.Annotated[numpy.typing.ArrayLike, numpy.float64]) -> None

  3. __init__(self: open3d.utility.Vector2dVector, arg0: open3d.utility.Vector2dVector) -> None

Copy constructor

  1. __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.

  1. extend(self: open3d.utility.Vector2dVector, L: open3d.utility.Vector2dVector) -> None

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

  1. 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.

  1. pop(self: open3d.utility.Vector2dVector) -> typing.Annotated[numpy.typing.NDArray[numpy.float64], “[2, 1]”]

Remove and return the last item

  1. 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.