MeshLib Documentation
Loading...
Searching...
No Matches
MROffsetContours.h File Reference
#include "MRMeshFwd.h"
#include "MRConstants.h"
#include "MRExpected.h"
#include <functional>
#include <string>

Go to the source code of this file.

Classes

struct  MR::OffsetContourIndex
 
struct  MR::OffsetContoursOrigins
 
struct  MR::OffsetContoursParams
 
struct  MR::OffsetContoursRestoreZParams
 Parameters of restoring Z coordinate of XY offset 3d contours. More...
 

Namespaces

namespace  MR
 

Typedefs

using MR::OffsetContoursVertMap = std::vector<OffsetContoursOrigins>
 
using MR::OffsetContoursVertMaps = std::vector<OffsetContoursVertMap>
 
using MR::ContoursVariableOffset = std::function<float( int, int )>
 

Functions

MRMESH_API Contours2f MR::offsetContours (const Contours2f &contours, float offset, const OffsetContoursParams &params={})
 offsets 2d contours in plane
 
MRMESH_API Contours2f MR::offsetContours (const Contours2f &contours, ContoursVariableOffset offset, const OffsetContoursParams &params={})
 offsets 2d contours in plane
 
MRMESH_API Contours3f MR::offsetContours (const Contours3f &contours, float offset, const OffsetContoursParams &params={}, const OffsetContoursRestoreZParams &zParmas={})
 offsets 3d contours in XY plane
 
MRMESH_API Contours3f MR::offsetContours (const Contours3f &contours, ContoursVariableOffset offset, const OffsetContoursParams &params={}, const OffsetContoursRestoreZParams &zParmas={})
 offsets 3d contours in XY plane