![]()  | 
  
    Zivid C++ API
    2.4.2+1a2e8cfb-1
    
   Defining the Future of 3D Machine Vision 
   | 
 
Point with four coordinates as float More...
#include <Zivid/Point.h>
Public Member Functions | |
| PointXYZW ()=default | |
| Constructor  More... | |
| PointXYZW (float xCoord, float yCoord, float zCoord, float wCoord) | |
| 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... | |
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... | |
| float | w | 
| The w element of the point  More... | |
Point with four coordinates as float
Storing the point coordinates in 4D can be useful in some scenarios. For example if the points are to be passed to a different library which expects 4 floats for point coordinates. It is also useful when applying 4x4 transformation matrices.
      
  | 
  default | 
Constructor
      
  | 
  inline | 
Constructor
      
  | 
  inline | 
Check if the point is Not-a-Number (invalid)
A point is defined as NaN if the z-coordinate is NaN
| ZIVID_CORE_EXPORT std::string Zivid::PointXYZW::toString | ( | ) | const | 
Get string representation
| float Zivid::PointXYZW::w | 
The w element of the point
| float Zivid::PointXYZW::x | 
The x element of the point
| float Zivid::PointXYZW::y | 
The y element of the point
| float Zivid::PointXYZW::z | 
The z element of the point