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

Component: Half-size (radius) of a 2D box. More...

#include <rerun/components/half_size2d.hpp>

Public Member Functions

 HalfSize2D (float x, float y)
 Construct HalfSize2D from x/y values.
 
float x () const
 
float y () const
 
 HalfSize2D (rerun::datatypes::Vec2D xy_)
 
HalfSize2Doperator= (rerun::datatypes::Vec2D xy_)
 
 HalfSize2D (std::array< float, 2 > xy_)
 
HalfSize2Doperator= (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: Half-size (radius) of a 2D box.

Measured in its local coordinate system.

The box extends both in negative and positive direction along each axis. Negative sizes indicate that the box is flipped along the respective axis, but this has no effect on how it is displayed.


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