MeshLib
 
Loading...
Searching...
No Matches
MR::OffsetContoursRestoreZParams Struct Reference

Parameters of restoring Z coordinate of XY offset 3d contours. More...

#include <MROffsetContours.h>

Public Types

using OriginZCallback = std::function<float( const Contours2f& offsetCont, const OffsetContourIndex& offsetIndex, const OffsetContoursOrigins& origingContourMapoing)>
 

Public Attributes

OriginZCallback zCallback
 
int relaxIterations = 1
 if > 0 z coordinate will be relaxed this many iterations
 

Detailed Description

Parameters of restoring Z coordinate of XY offset 3d contours.

Member Typedef Documentation

◆ OriginZCallback

using MR::OffsetContoursRestoreZParams::OriginZCallback = std::function<float( const Contours2f& offsetCont, const OffsetContourIndex& offsetIndex, const OffsetContoursOrigins& origingContourMapoing)>

if callback is set it is called to restore Z value please note that this callback may be called in parallel

Member Data Documentation

◆ relaxIterations

int MR::OffsetContoursRestoreZParams::relaxIterations = 1

if > 0 z coordinate will be relaxed this many iterations

◆ zCallback

OriginZCallback MR::OffsetContoursRestoreZParams::zCallback

The documentation for this struct was generated from the following file: