VolumetricSampler.addSamplePoints Method

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

Description

Appends sample points to the existing sample points to be used for sampling the volumetric model. Adding sample points results in an unstructured sampling layout.

Syntax

"volumetricSampler_var" is a variable referencing a VolumetricSampler object.

returnValue = volumetricSampler_var.addSamplePoints(samplePoints)
"volumetricSampler_var" is a variable referencing a VolumetricSampler object.

#include <Volume/Volumetric/VolumetricSampler.h>

returnValue = volumetricSampler_var->addSamplePoints(samplePoints);
"volumetricSampler_var" is a variable referencing a VolumetricSampler object.

returnValue = volumetricSampler_var.addSamplePoints(samplePoints);

Return Value

Type Description
boolean True if the sample points were added successfully.

Parameters

Name Type Description
samplePoints Point3D[] The sample points to be added to the sampler.

Version

Introduced in version May 2025