Viam C++ SDK current
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | List of all members
viam::sdk::Vector3 Class Reference

Public Types

using scalar_type = double
 

Public Member Functions

 Vector3 (scalar_type x, scalar_type y, scalar_type z)
 
scalar_type x () const
 
scalar_type y () const
 
scalar_type z () const
 
Vector3set_x (scalar_type x)
 Set the x value of the vector (can be chained)
 
Vector3set_y (scalar_type y)
 Set the y value of the vector (can be chained)
 
Vector3set_z (scalar_type z)
 Set the z value of the vector (can be chained)
 
const std::array< scalar_type, 3 > & data () const
 
std::array< scalar_type, 3 > & data ()
 
viam::common::v1::Vector3 to_proto () const
 

Static Public Member Functions

static Vector3 from_proto (const viam::common::v1::Vector3 &vec)
 

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