Zivid C++ API 2.9.0+4dbba385-1
Defining the Future of 3D Machine Vision
Public Member Functions | Public Attributes | List of all members
Zivid::PointXYZ Struct Reference

Point with three coordinates as float More...

#include <Zivid/Point.h>

Public Member Functions

 PointXYZ ()=default
 Constructor More...
 
constexpr PointXYZ (float xCoord, float yCoord, float zCoord)
 Constructor More...
 
bool isNaN () const
 Check if the point is Not-a-Number (invalid) More...
 
ZIVID_CORE_EXPORT std::string toString () const
 Get string representation More...
 
ZIVID_CORE_EXPORT bool operator== (const PointXYZ &rhs) const
 Check for equality More...
 
ZIVID_CORE_EXPORT bool operator!= (const PointXYZ &rhs) const
 Check for inequality More...
 

Public Attributes

float x
 The x element of the point More...
 
float y
 The y element of the point More...
 
float z
 The z element of the point More...
 

Detailed Description

Point with three coordinates as float

Constructor & Destructor Documentation

◆ PointXYZ() [1/2]

Zivid::PointXYZ::PointXYZ ( )
default

Constructor

◆ PointXYZ() [2/2]

constexpr Zivid::PointXYZ::PointXYZ ( float  xCoord,
float  yCoord,
float  zCoord 
)
inlineconstexpr

Constructor

Member Function Documentation

◆ isNaN()

bool Zivid::PointXYZ::isNaN ( ) const
inline

Check if the point is Not-a-Number (invalid)

A point is defined as NaN if the z-coordinate is NaN

◆ operator!=()

ZIVID_CORE_EXPORT bool Zivid::PointXYZ::operator!= ( const PointXYZ rhs) const

Check for inequality

◆ operator==()

ZIVID_CORE_EXPORT bool Zivid::PointXYZ::operator== ( const PointXYZ rhs) const

Check for equality

◆ toString()

ZIVID_CORE_EXPORT std::string Zivid::PointXYZ::toString ( ) const

Get string representation

Member Data Documentation

◆ x

float Zivid::PointXYZ::x

The x element of the point

◆ y

float Zivid::PointXYZ::y

The y element of the point

◆ z

float Zivid::PointXYZ::z

The z element of the point


The documentation for this struct was generated from the following file: