int main()
{
MR::FaceBitSet facesToExtrude;
facesToExtrude.autoResizeSet( MR::FaceId( 1 ) );
facesToExtrude.autoResizeSet( MR::FaceId( 2 ) );
{
} );
}
auto BitSetParallelFor(const BS &bs, F &&f, Cb &&... cb)
Definition MRBitSetParallelFor.h:189
MRMESH_API Expected< Mesh > fromAnySupportedFormat(const std::filesystem::path &file, const MeshLoadSettings &settings={})
detects the format from file extension and loads mesh from it
MRMESH_API VoidOrErrStr toAnySupportedFormat(const Mesh &mesh, const std::filesystem::path &file, const SaveSettings &settings={})
detects the format from file extension and save mesh to it
MRMESH_API void makeDegenerateBandAroundRegion(Mesh &mesh, const FaceBitSet ®ion, const MakeDegenerateBandAroundRegionParams ¶ms={})
Create a band of degenerate faces along the border of the specified region and the rest of the mesh.
MRMESH_API VertBitSet getIncidentVerts(const MeshTopology &topology, const FaceBitSet &faces)
composes the set of all vertices incident to given faces
Definition MRMesh/MRMesh.h:23
MeshTopology topology
Definition MRMesh/MRMesh.h:24
VertCoords points
Definition MRMesh/MRMesh.h:25
MRMESH_API void invalidateCaches(bool pointsChanged=true)
static constexpr Vector3 plusZ() noexcept
Definition MRMesh/MRVector3.h:35