Rerun C++ SDK
|
Component: A vector in 2D space. More...
#include <rerun/components/vector2d.hpp>
Public Member Functions | |
Vector2D (float x, float y) | |
Construct Vector2D from x/y values. | |
Vector2D (const float *xy) | |
Construct Vec2D from x/y float pointer. | |
float | x () const |
float | y () const |
Vector2D (rerun::datatypes::Vec2D vector_) | |
Vector2D & | operator= (rerun::datatypes::Vec2D vector_) |
Vector2D (std::array< float, 2 > xy_) | |
Vector2D & | operator= (std::array< float, 2 > xy_) |
operator rerun::datatypes::Vec2D () const | |
Cast to the underlying Vec2D datatype. | |
Public Attributes | |
rerun::datatypes::Vec2D | vector |
Component: A vector in 2D space.