Rerun C++ SDK
|
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_) | |
HalfSize2D & | operator= (rerun::datatypes::Vec2D xy_) |
HalfSize2D (std::array< float, 2 > xy_) | |
HalfSize2D & | operator= (std::array< float, 2 > xy_) |
operator rerun::datatypes::Vec2D () const | |
Cast to the underlying Vec2D datatype. | |
Public Attributes | |
rerun::datatypes::Vec2D | xy |
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.