CustomSDFCallbackEventHandler.signedDistanceAt Method

Parent Object: CustomSDFCallbackEventHandler
Defined in namespace "adsk::volume" and the header file is <Volume/Volumetric/CustomSDFCallbackEventHandler.h>

Description

This method should be implemented in the subclass of the handler to return the Signed Distance value at the given coordinates within the bounding box. This method will be called very frequently and potentially from several different threads, it should be made as fast as possible.

Syntax

"customSDFCallbackEventHandler_var" is a variable referencing a CustomSDFCallbackEventHandler object.

returnValue = customSDFCallbackEventHandler_var.signedDistanceAt(x, y, z)
"customSDFCallbackEventHandler_var" is a variable referencing a CustomSDFCallbackEventHandler object.

#include <Volume/Volumetric/CustomSDFCallbackEventHandler.h>

returnValue = customSDFCallbackEventHandler_var->signedDistanceAt(x, y, z);
"customSDFCallbackEventHandler_var" is a variable referencing a CustomSDFCallbackEventHandler object.

returnValue = customSDFCallbackEventHandler_var.signedDistanceAt(x, y, z);

Return Value

Type Description
double The signed distance value at the sampled point (X,Y,Z).

Parameters

Name Type Description
x double X coordinate of the sampled point.
y double Y coordinate of the sampled point.
z double Z coordinate of the sampled point.

Version

Introduced in version May 2025