Sofa.Helper.StdVectorfloat

class Sofa.Helper.StdVectorfloat(*args, **kwargs)

Bases: pybind11_object

Standard vector of float

Overloaded function.

  1. __init__(self: Sofa.Helper.StdVectorfloat) -> None

  2. __init__(self: Sofa.Helper.StdVectorfloat, arg0: Sofa.Helper.StdVectorfloat) -> None

Copy constructor

  1. __init__(self: Sofa.Helper.StdVectorfloat, arg0: Iterable) -> None

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.

  1. extend(self: Sofa.Helper.StdVectorfloat, L: Sofa.Helper.StdVectorfloat) -> None

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

  1. 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.

  1. pop(self: Sofa.Helper.StdVectorfloat) -> float

Remove and return the last item

  1. 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.