open3d.core.DynamicSizeVector#

class open3d.core.DynamicSizeVector#

A vector of integers for specifying shape, strides, etc. Some elements can be None.

__init__(*args, **kwargs)#

Overloaded function.

  1. __init__(self: open3d.cpu.pybind.core.DynamicSizeVector) -> None

  2. __init__(self: open3d.cpu.pybind.core.DynamicSizeVector, arg0: open3d.cpu.pybind.core.DynamicSizeVector) -> None

Copy constructor

  1. __init__(self: open3d.cpu.pybind.core.DynamicSizeVector, arg0: Iterable) -> None

append(self: open3d.cpu.pybind.core.DynamicSizeVector, x: int | None) None#

Add an item to the end of the list

clear(self: open3d.cpu.pybind.core.DynamicSizeVector) None#

Clear the contents

count(self: open3d.cpu.pybind.core.DynamicSizeVector, x: int | None) int#

Return the number of times x appears in the list

extend(*args, **kwargs)#

Overloaded function.

  1. extend(self: open3d.cpu.pybind.core.DynamicSizeVector, L: open3d.cpu.pybind.core.DynamicSizeVector) -> None

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

  1. extend(self: open3d.cpu.pybind.core.DynamicSizeVector, L: Iterable) -> None

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

insert(self: open3d.cpu.pybind.core.DynamicSizeVector, i: int, x: int | None) None#

Insert an item at a given position.

pop(*args, **kwargs)#

Overloaded function.

  1. pop(self: open3d.cpu.pybind.core.DynamicSizeVector) -> Optional[int]

Remove and return the last item

  1. pop(self: open3d.cpu.pybind.core.DynamicSizeVector, i: int) -> Optional[int]

Remove and return the item at index i

remove(self: open3d.cpu.pybind.core.DynamicSizeVector, x: int | None) None#

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