MeshLib C++ Docs
Loading...
Searching...
No Matches
MRMesh/MRMeshExtrude.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRMeshFwd.h"
4
5namespace MR
6{
7// holds together settings for makeDegenerateBandAroundRegion
8struct MakeDegenerateBandAroundRegionParams
9{
10 // (optional) output newly generated faces
11 FaceBitSet* outNewFaces = nullptr;
12 // (optional) output edges orthogonal to the boundary
13 UndirectedEdgeBitSet* outExtrudedEdges = nullptr;
14 // (optional) return legth of the longest edges from the boundary of the region
15 float* maxEdgeLength = nullptr;
16 // (optional) map of new vertices to old ones
17 VertHashMap* new2OldMap = nullptr;
18};
19
29
30} // namespace MR
#define MRMESH_API
Definition MRMeshFwd.h:80
Definition MRMesh/MRMeshExtrude.h:9
Definition MRMesh/MRMesh.h:23
Definition MRCameraOrientationPlugin.h:8
MRMESH_API void makeDegenerateBandAroundRegion(Mesh &mesh, const FaceBitSet &region, const MakeDegenerateBandAroundRegionParams &params={})
Create a band of degenerate faces along the border of the specified region and the rest of the mesh.