Open3D (C++ API)  0.19.0
Loading...
Searching...
No Matches
GeometryMacros.h File Reference
#include <cmath>
#include "open3d/core/CUDAUtils.h"

Go to the source code of this file.

Namespaces

namespace  open3d

Macros

#define OPEN3D_ATOMIC_ADD(X, 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,
Y )
Value:
(*X).fetch_add(Y)

Function Documentation

◆ Sign()

OPEN3D_HOST_DEVICE int Sign ( int x)
inline