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

Component: A position in 2D space. More...

#include <rerun/components/position2d.hpp>

Public Member Functions

 Position2D (float x, float y)
 Construct Position2D from x/y values.
 
float x () const
 
float y () const
 
 Position2D (rerun::datatypes::Vec2D xy_)
 
Position2Doperator= (rerun::datatypes::Vec2D xy_)
 
 Position2D (std::array< float, 2 > xy_)
 
Position2Doperator= (std::array< float, 2 > xy_)
 
 operator rerun::datatypes::Vec2D () const
 Cast to the underlying Vec2D datatype.
 

Public Attributes

rerun::datatypes::Vec2D xy
 

Detailed Description

Component: A position in 2D space.


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