Rerun C++ SDK
|
Component: Half-sizes (extents) of a 2D box along its local axis, starting at its local origin/center. More...
#include <rerun/components/half_sizes2d.hpp>
Public Member Functions | |
HalfSizes2D (float x, float y) | |
Construct HalfSizes2D from x/y values. | |
float | x () const |
float | y () const |
HalfSizes2D (rerun::datatypes::Vec2D xy_) | |
HalfSizes2D & | operator= (rerun::datatypes::Vec2D xy_) |
HalfSizes2D (std::array< float, 2 > xy_) | |
HalfSizes2D & | 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-sizes (extents) of a 2D box along its local axis, starting at its local origin/center.
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.