ScalarControlPointMapGraphNodeProperty.addPoint Method

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

Description

Add a point to the map.

Syntax

"scalarControlPointMapGraphNodeProperty_var" is a variable referencing a ScalarControlPointMapGraphNodeProperty object.

returnValue = scalarControlPointMapGraphNodeProperty_var.addPoint(parameter, value, interpolator)
"scalarControlPointMapGraphNodeProperty_var" is a variable referencing a ScalarControlPointMapGraphNodeProperty object.

#include <Volume/Volumetric/ScalarControlPointMapGraphNodeProperty.h>

returnValue = scalarControlPointMapGraphNodeProperty_var->addPoint(parameter, value, interpolator);
"scalarControlPointMapGraphNodeProperty_var" is a variable referencing a ScalarControlPointMapGraphNodeProperty object.

returnValue = scalarControlPointMapGraphNodeProperty_var.addPoint(parameter, value, interpolator);

Return Value

Type Description
boolean True if successfully added.

Parameters

Name Type Description
parameter double Where in the input domain the point lies.
value double The double value of the parameter in the output domain.
interpolator ControlPointInterpolators The function used to interpolate an output value for an input parameter between this point and the next.

Version

Introduced in version May 2025