Zivid C++ API 2.8.1+dd4dffea-1
Defining the Future of 3D Machine Vision
Public Member Functions | Public Attributes | List of all members
Zivid::VectorXYZ Struct Reference

Vector with three coordinates as float More...

#include <Zivid/Vector.h>

Inheritance diagram for Zivid::VectorXYZ:
Zivid::NormalXYZ

Public Member Functions

 VectorXYZ ()=default
 Constructor More...
 
 VectorXYZ (float xCoord, float yCoord, float zCoord)
 Constructor More...
 
bool isNaN () const
 Check if the vector is Not-a-Number (invalid) More...
 
ZIVID_CORE_EXPORT std::string toString () const
 Get string representation More...
 

Public Attributes

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

Detailed Description

Vector with three coordinates as float

Constructor & Destructor Documentation

◆ VectorXYZ() [1/2]

Zivid::VectorXYZ::VectorXYZ ( )
default

Constructor

◆ VectorXYZ() [2/2]

Zivid::VectorXYZ::VectorXYZ ( float  xCoord,
float  yCoord,
float  zCoord 
)
inline

Constructor

Member Function Documentation

◆ isNaN()

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

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

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

◆ toString()

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

Get string representation

Member Data Documentation

◆ x

float Zivid::VectorXYZ::x

The x element of the vector

◆ y

float Zivid::VectorXYZ::y

The y element of the vector

◆ z

float Zivid::VectorXYZ::z

The z element of the vector


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