2#ifndef MRCUDA_NO_VOXELS
18 std::function<
Expected<void> (
const SimpleVolumeMinMax&
volume,
int zOffset )> addPart,
int layerOverlap );
MRCUDA_API Expected< void > pointsToDistanceVolumeByParts(const PointCloud &cloud, const MR::PointsToDistanceVolumeParams ¶ms, std::function< Expected< void >(const SimpleVolumeMinMax &volume, int zOffset)> addPart, int layerOverlap)
MRCUDA_API Expected< MR::SimpleVolumeMinMax > pointsToDistanceVolume(const PointCloud &cloud, const MR::PointsToDistanceVolumeParams ¶ms)
makes SimpleVolume filled with signed distances to points with normals
tl::expected< T, E > Expected
Definition MRExpected.h:59
MRMESH_API double volume(const MeshTopology &topology, const VertCoords &points, const FaceBitSet *region=nullptr)
Definition MRMesh/MRPointCloud.h:16
Definition MRPointsToDistanceVolume.h:13