Member values
Member name | Data type | Description |
---|---|---|
x | float32 | x (in meters) |
y | float32 | y (in meters) |
z | float32 | z (in meters) |
Member functions
Function name | Return type | Input type | Description |
---|---|---|---|
x() | float32 | void | Returns the current value of x. If the x is not set, returns 0. |
set_x() | void | float32 | Sets the value of x. After calling this, x() will return value. |
clear_x() | void | void | Clears the value of x. After calling this, x() will return 0. |
y() | float32 | void | Returns the current value of y. If the y is not set, returns 0. |
set_y() | void | float32 | Sets the value of y. After calling this, y() will return value. |
clear_y() | void | void | Clears the value of y. After calling this, y() will return 0. |
z() | float32 | void | Returns the current value of z. If the z is not set, returns 0. |
set_z() | void | float32 | Sets the value of z. After calling this, z() will return value. |
clear_z() | void | void | Clears the value of z. After calling this, z() will return 0. |
Parent topic: Base (C++)