120 return std::isnan(
z);
#define ZIVID_CORE_EXPORT
Definition: CoreExport.h:101
The main Zivid namespace. All Zivid code is found here
Definition: Application.h:99
std::ostream & operator<<(std::ostream &stream, const Array2D< T > &array)
Serialize array information to a stream
Definition: Array2D.h:243
ZIVID_STATIC_ASSERT_DATA_FORMAT_TYPE(ColorRGBA, 4)
Vector with three coordinates as float
Definition: Vector.h:105
ZIVID_CORE_EXPORT std::string toString() const
Get string representation
float x
The x element of the vector
Definition: Vector.h:133
bool isNaN() const
Check if the vector is Not-a-Number (invalid)
Definition: Vector.h:118
ZIVID_CORE_EXPORT bool operator==(const VectorXYZ &rhs) const
Check for equality
VectorXYZ(float xCoord, float yCoord, float zCoord)
Constructor
Definition: Vector.h:110
float z
The z element of the vector
Definition: Vector.h:139
VectorXYZ()=default
Constructor
ZIVID_CORE_EXPORT bool operator!=(const VectorXYZ &rhs) const
Check for inequality
float y
The y element of the vector
Definition: Vector.h:136