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_CORE_EXPORT
Definition CoreExport.h:56
The main Zivid namespace. All Zivid code is found here.
Definition Application.h:56
std::ostream & operator<<(std::ostream &stream, const Array2D< T > &array)
Serialize array information to a stream.
Definition Array2D.h:285
Point with four coordinates as float.
Definition Point.h:114
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
ValueType w
The w element of the point.
Definition Point.h:155
float ValueType
The type of the coordinate values.
Definition Point.h:116
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.
ValueType z
The z element of the point.
Definition Point.h:152
ValueType x
The x element of the point.
Definition Point.h:146
PointXYZW()=default
Constructor.
Point with three coordinates as float.
Definition Point.h:60
PointXYZ()=default
Constructor.
ZIVID_CORE_EXPORT bool operator!=(const PointXYZ &rhs) const
Check for inequality.
ValueType z
The z element of the point.
Definition Point.h:97
bool isNaN() const
Check if the point is Not-a-Number (invalid)
Definition Point.h:76
constexpr PointXYZ(float xCoord, float yCoord, float zCoord)
Constructor.
Definition Point.h:68
ZIVID_CORE_EXPORT bool operator==(const PointXYZ &rhs) const
Check for equality.
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_CORE_EXPORT std::string toString() const
Get string representation.
Point with two coordinates as float.
Definition Point.h:207
constexpr PointXY(float xCoord, float yCoord)
Constructor.
Definition Point.h:215
ValueType y
The y element of the point.
Definition Point.h:240
PointXY()=default
Constructor.
ZIVID_CORE_EXPORT bool operator==(const PointXY &rhs) const
Check for equality.
float ValueType
The type of the coordinate values.
Definition Point.h:209
ZIVID_CORE_EXPORT std::string toString() const
Get string representation.
bool isNaN() const
Check if the point is Not-a-Number (invalid)
Definition Point.h:222
ZIVID_CORE_EXPORT bool operator!=(const PointXY &rhs) const
Check for inequality.
ValueType x
The x element of the point.
Definition Point.h:237
Point with Z coordinate.
Definition Point.h:167
ZIVID_CORE_EXPORT bool operator==(const PointZ &rhs) const
Check for equality.
ValueType z
The z element of the point.
Definition Point.h:195
ZIVID_CORE_EXPORT bool operator!=(const PointZ &rhs) const
Check for inequality.
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
ZIVID_CORE_EXPORT std::string toString() const
Get string representation.