Open3D (C++ API)  0.18.0
Namespaces | Macros | Functions
GeometryMacros.h File Reference

(b9e049c (Sun Dec 31 11:36:26 2023 -0800))

#include <cmath>
#include "open3d/core/CUDAUtils.h"

Go to the source code of this file.

Namespaces

 open3d
 

Macros

#define OPEN3D_ATOMIC_ADD(X, Y)   (*X).fetch_add(Y)
 

Functions

template<typename scalar_t , typename T >
OPEN3D_HOST_DEVICE bool open3d::IsClose (const scalar_t &x, const T &y, const double rtol=1e-4)
 
template<typename scalar_t >
OPEN3D_HOST_DEVICE scalar_t open3d::Square (const scalar_t &x)
 
OPEN3D_HOST_DEVICE int Sign (int x)
 

Macro Definition Documentation

◆ OPEN3D_ATOMIC_ADD

#define OPEN3D_ATOMIC_ADD (   X,
 
)    (*X).fetch_add(Y)

Function Documentation

◆ Sign()

OPEN3D_HOST_DEVICE int Sign ( int  x)
inline