Rerun C++ SDK
No Matches
rerun::datatypes::Vec2D Struct Reference

Datatype: A vector in 2D space. More...

#include <rerun/datatypes/vec2d.hpp>

Public Member Functions

 Vec2D (float x, float y)
 Construct Vec2D from x/y values.
 Vec2D (const float *xy_)
 Construct Vec2D from x/y float pointer.
float x () const
float y () const
 Vec2D (std::array< float, 2 > xy_)
Vec2Doperator= (std::array< float, 2 > xy_)

Public Attributes

std::array< float, 2 > xy

Detailed Description

Datatype: A vector in 2D space.

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