def clear(self)
清空整数向量。
无。
import open3d as o3d v = o3d.utility.IntVector([1, 2, 3]) v.clear()
清空后, v 现在为空整数向量。
v
open3d.utility.IntVector