Rerun C++ SDK
Loading...
Searching...
No Matches
rerun::components::Vector2D Struct Reference

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_)
 
Vector2Doperator= (rerun::datatypes::Vec2D vector_)
 
 Vector2D (std::array< float, 2 > xy_)
 
Vector2Doperator= (std::array< float, 2 > xy_)
 
 operator rerun::datatypes::Vec2D () const
 Cast to the underlying Vec2D datatype.
 

Public Attributes

rerun::datatypes::Vec2D vector
 

Detailed Description

Component: A vector in 2D space.


The documentation for this struct was generated from the following file: