ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
cloudViewer::ml::contrib::Point Struct Reference

#include <IoUImpl.h>

Public Member Functions

CLOUDVIEWER_HOST_DEVICE Point ()
 
CLOUDVIEWER_HOST_DEVICE Point (float x, float y)
 
CLOUDVIEWER_HOST_DEVICE void set (float x, float y)
 
CLOUDVIEWER_HOST_DEVICE Point operator+ (const Point &b) const
 
CLOUDVIEWER_HOST_DEVICE Point operator- (const Point &b) const
 

Public Attributes

float x_ = 0.0f
 
float y_ = 0.0f
 

Detailed Description

Definition at line 22 of file IoUImpl.h.

Constructor & Destructor Documentation

◆ Point() [1/2]

CLOUDVIEWER_HOST_DEVICE cloudViewer::ml::contrib::Point::Point ( )
inline

Definition at line 23 of file IoUImpl.h.

Referenced by operator+(), and operator-().

◆ Point() [2/2]

CLOUDVIEWER_HOST_DEVICE cloudViewer::ml::contrib::Point::Point ( float  x,
float  y 
)
inline

Definition at line 24 of file IoUImpl.h.

Member Function Documentation

◆ operator+()

CLOUDVIEWER_HOST_DEVICE Point cloudViewer::ml::contrib::Point::operator+ ( const Point b) const
inline

Definition at line 29 of file IoUImpl.h.

References Point(), x_, and y_.

◆ operator-()

CLOUDVIEWER_HOST_DEVICE Point cloudViewer::ml::contrib::Point::operator- ( const Point b) const
inline

Definition at line 32 of file IoUImpl.h.

References Point(), x_, and y_.

◆ set()

CLOUDVIEWER_HOST_DEVICE void cloudViewer::ml::contrib::Point::set ( float  x,
float  y 
)
inline

Definition at line 25 of file IoUImpl.h.

References x_, and y_.

Referenced by cloudViewer::ml::contrib::BoxOverlap(), and cloudViewer::ml::contrib::RotateAroundCenter().

Member Data Documentation

◆ x_

◆ y_


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