MeshLib Documentation
Loading...
Searching...
No Matches
MRCudaContoursDistanceMap.h File Reference
#include "exports.h"
#include "MRMesh/MRPolyline.h"
#include "MRMesh/MRDistanceMap.h"

Go to the source code of this file.

Namespaces

namespace  MR
 
namespace  MR::Cuda
 

Functions

MRCUDA_API DistanceMap MR::Cuda::distanceMapFromContours (const MR::Polyline2 &polyline, const ContourToDistanceMapParams &params)
 Computes distance of 2d contours according to ContourToDistanceMapParams (works correctly only when withSign==false)
 
MRCUDA_API size_t MR::Cuda::distanceMapFromContoursHeapBytes (const MR::Polyline2 &polyline, const ContourToDistanceMapParams &params)
 Computes memory consumption of distanceMapFromContours function.