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

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

#include <rerun/components/half_size3d.hpp>

Public Member Functions

 HalfSize3D (float x, float y, float z)
 Construct HalfSize3D from x/y/z values.
 
float x () const
 
float y () const
 
float z () const
 
 HalfSize3D (rerun::datatypes::Vec3D xyz_)
 
HalfSize3Doperator= (rerun::datatypes::Vec3D xyz_)
 
 HalfSize3D (std::array< float, 3 > xyz_)
 
HalfSize3Doperator= (std::array< float, 3 > xyz_)
 
 operator rerun::datatypes::Vec3D () const
 Cast to the underlying Vec3D datatype.
 

Public Attributes

rerun::datatypes::Vec3D xyz
 

Detailed Description

Component: Half-size (radius) of a 3D 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: