open3d.core.SizeVector#

class open3d.core.SizeVector#

A vector of integers for specifying shape, strides, etc.

__init__(*args, **kwargs)#

Overloaded function.

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

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

Copy constructor

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

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

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

Add an item to the end of the list

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

Clear the contents

count(self: open3d.cpu.pybind.core.SizeVector, x: int) int#

Return the number of times x appears in the list

extend(*args, **kwargs)#

Overloaded function.

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

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

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

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

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

Insert an item at a given position.

pop(*args, **kwargs)#

Overloaded function.

  1. pop(self: open3d.cpu.pybind.core.SizeVector) -> int

Remove and return the last item

  1. pop(self: open3d.cpu.pybind.core.SizeVector, i: int) -> int

Remove and return the item at index i

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

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