You’re reading an older version of the Slamcore SDK documenation. The latest one is 23.04.

Class slamcore::Vector

class Vector : public VectorInterface

Simple vector to adapt std::vector to VectorInterface.

Public Functions

Vector() = default
virtual ~Vector() = default
Vector(const Vector &other) = default
Vector(Vector &&other) = default
Vector &operator=(const Vector &other) = default
Vector &operator=(Vector &&other) = default
Vector(const ScalarT x)
Vector(const ScalarT x, const ScalarT y)
Vector(const ScalarT x, const ScalarT y, const ScalarT z)
Vector(const ScalarT x, const ScalarT y, const ScalarT z, const ScalarT w)
Vector(const VectorInterface &other)
virtual std::size_t size() const final override

Number of components.