Zivid C++ API 2.14.0+e4a0c4a9-1
Zivid::PointZ Struct Reference

Point with Z coordinate. More...

#include <Zivid/Point.h>

Public Types

using ValueType = float
 The type of the coordinate values.
 

Public Member Functions

 PointZ ()=default
 Constructor.
 
 PointZ (float zCoord)
 Constructor.
 
bool isNaN () const
 Check if the point is Not-a-Number (invalid)
 
ZIVID_UTILS_EXPORT std::string toString () const
 Get string representation.
 
ZIVID_UTILS_EXPORT bool operator== (const PointZ &rhs) const
 Check for equality.
 
ZIVID_UTILS_EXPORT bool operator!= (const PointZ &rhs) const
 Check for inequality.
 

Public Attributes

ValueType z
 The z element of the point.
 

Detailed Description

Point with Z coordinate.

Member Typedef Documentation

◆ ValueType

using Zivid::PointZ::ValueType = float

The type of the coordinate values.

Constructor & Destructor Documentation

◆ PointZ() [1/2]

Zivid::PointZ::PointZ ( )
default

Constructor.

◆ PointZ() [2/2]

Zivid::PointZ::PointZ ( float zCoord)
inline

Constructor.

Member Function Documentation

◆ isNaN()

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

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

◆ operator!=()

ZIVID_UTILS_EXPORT bool Zivid::PointZ::operator!= ( const PointZ & rhs) const

Check for inequality.

◆ operator==()

ZIVID_UTILS_EXPORT bool Zivid::PointZ::operator== ( const PointZ & rhs) const

Check for equality.

◆ toString()

ZIVID_UTILS_EXPORT std::string Zivid::PointZ::toString ( ) const

Get string representation.

Member Data Documentation

◆ z

ValueType Zivid::PointZ::z

The z element of the point.


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