Zivid C++ API 2.9.0+4dbba385-1
Defining the Future of 3D Machine Vision
|
Vector with three coordinates as float More...
#include <Zivid/Vector.h>
Public Member Functions | |
VectorXYZ ()=default | |
Constructor More... | |
VectorXYZ (float xCoord, float yCoord, float zCoord) | |
Constructor More... | |
bool | isNaN () const |
Check if the vector is Not-a-Number (invalid) More... | |
ZIVID_CORE_EXPORT std::string | toString () const |
Get string representation More... | |
ZIVID_CORE_EXPORT bool | operator== (const VectorXYZ &rhs) const |
Check for equality More... | |
ZIVID_CORE_EXPORT bool | operator!= (const VectorXYZ &rhs) const |
Check for inequality More... | |
Public Attributes | |
float | x |
The x element of the vector More... | |
float | y |
The y element of the vector More... | |
float | z |
The z element of the vector More... | |
Vector with three coordinates as float
|
default |
Constructor
|
inline |
Constructor
|
inline |
Check if the vector is Not-a-Number (invalid)
A vector is defined as NaN if the z-coordinate is NaN
ZIVID_CORE_EXPORT bool Zivid::VectorXYZ::operator!= | ( | const VectorXYZ & | rhs | ) | const |
Check for inequality
ZIVID_CORE_EXPORT bool Zivid::VectorXYZ::operator== | ( | const VectorXYZ & | rhs | ) | const |
Check for equality
ZIVID_CORE_EXPORT std::string Zivid::VectorXYZ::toString | ( | ) | const |
Get string representation
float Zivid::VectorXYZ::x |
The x element of the vector
float Zivid::VectorXYZ::y |
The y element of the vector
float Zivid::VectorXYZ::z |
The z element of the vector