97 #include <type_traits>
120 return std::isnan(
z);
155 PointXYZW(
float xCoord,
float yCoord,
float zCoord,
float wCoord)
166 return std::isnan(
z);
206 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:214
ZIVID_STATIC_ASSERT_DATA_FORMAT_TYPE(ColorRGBA, 4)
Point with four coordinates as float
Definition: Point.h:150
bool isNaN() const
Check if the point is Not-a-Number (invalid)
Definition: Point.h:164
PointXYZW(float xCoord, float yCoord, float zCoord, float wCoord)
Constructor
Definition: Point.h:155
float x
The x element of the point
Definition: Point.h:173
ZIVID_CORE_EXPORT std::string toString() const
Get string representation
PointXYZW()=default
Constructor
float y
The y element of the point
Definition: Point.h:176
float z
The z element of the point
Definition: Point.h:179
float w
The w element of the point
Definition: Point.h:182
Point with three coordinates as float
Definition: Point.h:105
PointXYZ()=default
Constructor
float y
The y element of the point
Definition: Point.h:130
bool isNaN() const
Check if the point is Not-a-Number (invalid)
Definition: Point.h:118
PointXYZ(float xCoord, float yCoord, float zCoord)
Constructor
Definition: Point.h:110
float z
The z element of the point
Definition: Point.h:133
float x
The x element of the point
Definition: Point.h:127
ZIVID_CORE_EXPORT std::string toString() const
Get string representation
Point with Z coordinate
Definition: Point.h:194
float z
The z element of the point
Definition: Point.h:213
PointZ()=default
Constructor
PointZ(float zCoord)
Constructor
Definition: Point.h:199
bool isNaN() const
Check if the point is Not-a-Number (invalid)
Definition: Point.h:204
ZIVID_CORE_EXPORT std::string toString() const
Get string representation