Sofa.Helper.Vectorfloat
- class Sofa.Helper.Vectorfloat
Bases:
StdVectorfloat
Vector of float
- append(self: Sofa.Helper.StdVectorfloat, x: float) None
Add an item to the end of the list
- clear(self: Sofa.Helper.StdVectorfloat) None
Clear the contents
- count(self: Sofa.Helper.StdVectorfloat, x: float) int
Return the number of times
x
appears in the list
- extend(*args, **kwargs)
Overloaded function.
extend(self: Sofa.Helper.StdVectorfloat, L: Sofa.Helper.StdVectorfloat) -> None
Extend the list by appending all the items in the given list
extend(self: Sofa.Helper.StdVectorfloat, L: Iterable) -> None
Extend the list by appending all the items in the given list
- insert(self: Sofa.Helper.StdVectorfloat, i: int, x: float) None
Insert an item at a given position.
- pop(*args, **kwargs)
Overloaded function.
pop(self: Sofa.Helper.StdVectorfloat) -> float
Remove and return the last item
pop(self: Sofa.Helper.StdVectorfloat, i: int) -> float
Remove and return the item at index
i
- remove(self: Sofa.Helper.StdVectorfloat, x: float) None
Remove the first item from the list whose value is x. It is an error if there is no such item.