ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
pba::Point2D Struct Reference

#include <DataInterface.h>

Public Member Functions

 Point2D ()
 
template<class Float >
 Point2D (Float X, Float Y)
 
template<class Float >
void SetPoint2D (Float X, Float Y)
 
template<class Float >
void GetPoint2D (Float &X, Float &Y) const
 

Public Attributes

float x
 
float y
 

Detailed Description

Definition at line 401 of file DataInterface.h.

Constructor & Destructor Documentation

◆ Point2D() [1/2]

pba::Point2D::Point2D ( )
inline

Definition at line 404 of file DataInterface.h.

◆ Point2D() [2/2]

template<class Float >
pba::Point2D::Point2D ( Float  X,
Float  Y 
)
inline

Definition at line 406 of file DataInterface.h.

References SetPoint2D(), and X.

Member Function Documentation

◆ GetPoint2D()

template<class Float >
void pba::Point2D::GetPoint2D ( Float &  X,
Float &  Y 
) const
inline

Definition at line 415 of file DataInterface.h.

References X, x, and y.

◆ SetPoint2D()

template<class Float >
void pba::Point2D::SetPoint2D ( Float  X,
Float  Y 
)
inline

Definition at line 410 of file DataInterface.h.

References X, x, and y.

Referenced by Point2D().

Member Data Documentation

◆ x

float pba::Point2D::x

Definition at line 402 of file DataInterface.h.

Referenced by GetPoint2D(), and SetPoint2D().

◆ y

float pba::Point2D::y

Definition at line 402 of file DataInterface.h.

Referenced by GetPoint2D(), and SetPoint2D().


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