53 #include <type_traits>
66 PointXYZ(
float xCoord,
float yCoord,
float zCoord)
111 PointXYZW(
float xCoord,
float yCoord,
float zCoord,
float wCoord)
122 return std::isnan(
z);
162 return std::isnan(
z);
#define ZIVID_CORE_EXPORT
Definition: CoreExport.h:57
The main Zivid namespace. All Zivid code is found here
Definition: Application.h:55
std::ostream & operator<<(std::ostream &stream, const Array2D< T > &array)
Serialize array information to a stream
Definition: Array2D.h:170
ZIVID_STATIC_ASSERT_DATA_FORMAT_TYPE(ColorRGBA, 4)
Point with four coordinates as float
Definition: Point.h:106
bool isNaN() const
Check if the point is Not-a-Number (invalid)
Definition: Point.h:120
PointXYZW(float xCoord, float yCoord, float zCoord, float wCoord)
Constructor
Definition: Point.h:111
float x
The x element of the point
Definition: Point.h:129
ZIVID_CORE_EXPORT std::string toString() const
Get string representation
PointXYZW()=default
Constructor
float y
The y element of the point
Definition: Point.h:132
float z
The z element of the point
Definition: Point.h:135
float w
The w element of the point
Definition: Point.h:138
Point with three coordinates as float
Definition: Point.h:61
PointXYZ()=default
Constructor
float y
The y element of the point
Definition: Point.h:86
bool isNaN() const
Check if the point is Not-a-Number (invalid)
Definition: Point.h:74
PointXYZ(float xCoord, float yCoord, float zCoord)
Constructor
Definition: Point.h:66
float z
The z element of the point
Definition: Point.h:89
float x
The x element of the point
Definition: Point.h:83
ZIVID_CORE_EXPORT std::string toString() const
Get string representation
Point with Z coordinate
Definition: Point.h:150
float z
The z element of the point
Definition: Point.h:169
PointZ()=default
Constructor
PointZ(float zCoord)
Constructor
Definition: Point.h:155
bool isNaN() const
Check if the point is Not-a-Number (invalid)
Definition: Point.h:160
ZIVID_CORE_EXPORT std::string toString() const
Get string representation