65 const double* points,
int n,
85 const double* points,
int n,
113 const double* points,
int n,
void gradient_batch(const SdfNodePtr &root, const double *points, int n, double *gradients)
在批处理模式下求值 SDF 的空间梯度
void evaluate_batch(const SdfNodePtr &root, const double *points, int n, double *distances)
在批处理模式下求值 SDF
std::shared_ptr< SdfNode > SdfNodePtr
void evaluate_with_gradient_batch(const SdfNodePtr &root, const double *points, int n, double *distances, double *gradients)
一次遍历同时求值 SDF 值和梯度