MeshLib C Docs
Loading...
Searching...
No Matches
MRCudaContoursDistanceMap.h File Reference
#include <MRCCuda/exports.h>
#include <MRCMisc/common.h>

Go to the source code of this file.

Functions

MRC_CUDA_API MR_expected_MR_DistanceMap_std_stringMR_Cuda_distanceMapFromContours (const MR_Polyline2 *polyline, const MR_ContourToDistanceMapParams *params)
MRC_CUDA_API MR_uint64_t MR_Cuda_distanceMapFromContoursHeapBytes (const MR_Polyline2 *polyline, const MR_ContourToDistanceMapParams *params)

Function Documentation

◆ MR_Cuda_distanceMapFromContours()

MRC_CUDA_API MR_expected_MR_DistanceMap_std_string * MR_Cuda_distanceMapFromContours ( const MR_Polyline2 * polyline,
const MR_ContourToDistanceMapParams * params )

Computes distance of 2d contours according to ContourToDistanceMapParams (works correctly only when withSign==false) Generated from function MR::Cuda::distanceMapFromContours. Parameter polyline can not be null. It is a single object. Parameter params can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_DistanceMap_std_string_Destroy() to free it when you're done using it.

◆ MR_Cuda_distanceMapFromContoursHeapBytes()

MRC_CUDA_API MR_uint64_t MR_Cuda_distanceMapFromContoursHeapBytes ( const MR_Polyline2 * polyline,
const MR_ContourToDistanceMapParams * params )

Computes memory consumption of distanceMapFromContours function Generated from function MR::Cuda::distanceMapFromContoursHeapBytes. Parameter polyline can not be null. It is a single object. Parameter params can not be null. It is a single object.