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

(252c867 (Sun May 5 05:39:34 2024 +0000))

#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