作用: 删除IntVector中指定的元素。
def remove(self, value: int) -> None:
"""
Remove the first occurrence of value.
Args:
value: The value to be deleted.
Returns:
None.
"""
参数:
返回值: None
示例:
import open3d as o3d
int_vector = o3d.utility.IntVector([1,2,3,2,4])
int_vector.remove(2)
print(int_vector) # 输出:[1, 3, 2, 4]
说明:
remove()
方法可以删除IntVector中的指定元素。参考文献: