110 constexpr PointXYZ(
float xCoord,
float yCoord,
float zCoord)
120 return std::isnan(
z);
161 PointXYZW(
float xCoord,
float yCoord,
float zCoord,
float wCoord)
172 return std::isnan(
z);
218 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)
Point with four coordinates as float
Definition: Point.h:156
bool isNaN() const
Check if the point is Not-a-Number (invalid)
Definition: Point.h:170
PointXYZW(float xCoord, float yCoord, float zCoord, float wCoord)
Constructor
Definition: Point.h:161
float x
The x element of the point
Definition: Point.h:185
ZIVID_CORE_EXPORT bool operator!=(const PointXYZW &rhs) const
Check for inequality
ZIVID_CORE_EXPORT bool operator==(const PointXYZW &rhs) const
Check for equality
ZIVID_CORE_EXPORT std::string toString() const
Get string representation
PointXYZW()=default
Constructor
float y
The y element of the point
Definition: Point.h:188
float z
The z element of the point
Definition: Point.h:191
float w
The w element of the point
Definition: Point.h:194
Point with three coordinates as float
Definition: Point.h:105
PointXYZ()=default
Constructor
ZIVID_CORE_EXPORT bool operator!=(const PointXYZ &rhs) const
Check for inequality
float y
The y element of the point
Definition: Point.h:136
bool isNaN() const
Check if the point is Not-a-Number (invalid)
Definition: Point.h:118
constexpr PointXYZ(float xCoord, float yCoord, float zCoord)
Constructor
Definition: Point.h:110
ZIVID_CORE_EXPORT bool operator==(const PointXYZ &rhs) const
Check for equality
float z
The z element of the point
Definition: Point.h:139
float x
The x element of the point
Definition: Point.h:133
ZIVID_CORE_EXPORT std::string toString() const
Get string representation
Point with Z coordinate
Definition: Point.h:206
ZIVID_CORE_EXPORT bool operator==(const PointZ &rhs) const
Check for equality
float z
The z element of the point
Definition: Point.h:231
ZIVID_CORE_EXPORT bool operator!=(const PointZ &rhs) const
Check for inequality
PointZ()=default
Constructor
PointZ(float zCoord)
Constructor
Definition: Point.h:211
bool isNaN() const
Check if the point is Not-a-Number (invalid)
Definition: Point.h:216
ZIVID_CORE_EXPORT std::string toString() const
Get string representation