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

(9238339 (Tue Mar 14 18:49:09 2023 -0700))

#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