MeshLib Documentation
Loading...
Searching...
No Matches
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
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
18};
19
28MRMESH_API void makeDegenerateBandAroundRegion( Mesh& mesh, const FaceBitSet& region, const MakeDegenerateBandAroundRegionParams& params = {} );
29
30} // namespace MR
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
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.
HashMap< VertId, VertId > VertHashMap
Definition MRMesh/MRMeshFwd.h:465
Definition MRMeshExtrude.h:9
FaceBitSet * outNewFaces
Definition MRMeshExtrude.h:11
VertHashMap * new2OldMap
Definition MRMeshExtrude.h:17
UndirectedEdgeBitSet * outExtrudedEdges
Definition MRMeshExtrude.h:13
float * maxEdgeLength
Definition MRMeshExtrude.h:15
Definition MRMesh/MRMesh.h:23