68 constexpr PointXYZ(
float xCoord,
float yCoord,
float zCoord)
122 PointXYZW(
float xCoord,
float yCoord,
float zCoord,
float wCoord)
133 return std::isnan(
z);
182 return std::isnan(
z);
224 return std::isnan(
y);
#define ZIVID_UTILS_EXPORT
Definition UtilsExport.h:56
The main Zivid namespace. All Zivid code is found here.
Definition Application.h:84
std::ostream & operator<<(std::ostream &stream, const Array2D< T > &array)
Serialize array information to a stream.
Definition Array2D.h:283
Point with four coordinates as float.
Definition Point.h:114
ZIVID_UTILS_EXPORT std::string toString() const
Get string representation.
ValueType y
The y element of the point.
Definition Point.h:149
bool isNaN() const
Check if the point is Not-a-Number (invalid)
Definition Point.h:131
PointXYZW(float xCoord, float yCoord, float zCoord, float wCoord)
Constructor.
Definition Point.h:122
ZIVID_UTILS_EXPORT bool operator!=(const PointXYZW &rhs) const
Check for inequality.
ValueType w
The w element of the point.
Definition Point.h:155
float ValueType
The type of the coordinate values.
Definition Point.h:116
ValueType z
The z element of the point.
Definition Point.h:152
ValueType x
The x element of the point.
Definition Point.h:146
ZIVID_UTILS_EXPORT bool operator==(const PointXYZW &rhs) const
Check for equality.
PointXYZW()=default
Constructor.
Point with three coordinates as float.
Definition Point.h:60
PointXYZ()=default
Constructor.
ValueType z
The z element of the point.
Definition Point.h:97
ZIVID_UTILS_EXPORT std::string toString() const
Get string representation.
bool isNaN() const
Check if the point is Not-a-Number (invalid)
Definition Point.h:76
ZIVID_UTILS_EXPORT bool operator==(const PointXYZ &rhs) const
Check for equality.
constexpr PointXYZ(float xCoord, float yCoord, float zCoord)
Constructor.
Definition Point.h:68
ValueType y
The y element of the point.
Definition Point.h:94
ValueType x
The x element of the point.
Definition Point.h:91
float ValueType
The type of the coordinate values.
Definition Point.h:62
ZIVID_UTILS_EXPORT bool operator!=(const PointXYZ &rhs) const
Check for inequality.
Point with two coordinates as float.
Definition Point.h:207
constexpr PointXY(float xCoord, float yCoord)
Constructor.
Definition Point.h:215
ZIVID_UTILS_EXPORT bool operator==(const PointXY &rhs) const
Check for equality.
ValueType y
The y element of the point.
Definition Point.h:240
PointXY()=default
Constructor.
float ValueType
The type of the coordinate values.
Definition Point.h:209
ZIVID_UTILS_EXPORT std::string toString() const
Get string representation.
bool isNaN() const
Check if the point is Not-a-Number (invalid)
Definition Point.h:222
ValueType x
The x element of the point.
Definition Point.h:237
ZIVID_UTILS_EXPORT bool operator!=(const PointXY &rhs) const
Check for inequality.
Point with Z coordinate.
Definition Point.h:167
ValueType z
The z element of the point.
Definition Point.h:195
ZIVID_UTILS_EXPORT bool operator==(const PointZ &rhs) const
Check for equality.
ZIVID_UTILS_EXPORT bool operator!=(const PointZ &rhs) const
Check for inequality.
ZIVID_UTILS_EXPORT std::string toString() const
Get string representation.
PointZ()=default
Constructor.
PointZ(float zCoord)
Constructor.
Definition Point.h:175
float ValueType
The type of the coordinate values.
Definition Point.h:169
bool isNaN() const
Check if the point is Not-a-Number (invalid)
Definition Point.h:180