MeshLib C++ Docs
Loading...
Searching...
No Matches
MRPositionVertsSmoothly.h File Reference
#include "MRMeshFwd.h"
#include "MREnums.h"

Go to the source code of this file.

Classes

struct  MR::PositionVertsSmoothlyParams
 
struct  MR::SpacingSettings
 
struct  MR::InflateSettings
 

Namespaces

namespace  MR
 

Functions

MRMESH_API void MR::positionVertsSmoothly (Mesh &mesh, const VertBitSet &verts, EdgeWeights edgeWeights=EdgeWeights::Cotan, VertexMass vmass=VertexMass::Unit, const VertBitSet *fixedSharpVertices=nullptr)
 
MRMESH_API void MR::positionVertsSmoothly (const MeshTopology &topology, VertCoords &points, const VertBitSet &verts, EdgeWeights edgeWeights=EdgeWeights::Cotan, VertexMass vmass=VertexMass::Unit, const VertBitSet *fixedSharpVertices=nullptr)
 
MRMESH_API void MR::positionVertsSmoothlySharpBd (Mesh &mesh, const PositionVertsSmoothlyParams &params)
 Puts given vertices in such positions to make smooth surface inside verts-region, but sharp on its boundary;.
 
MRMESH_API void MR::positionVertsSmoothlySharpBd (const MeshTopology &topology, VertCoords &points, const PositionVertsSmoothlyParams &params)
 
MRMESH_API void MR::positionVertsSmoothlySharpBd (Mesh &mesh, const VertBitSet &verts)
 
MRMESH_API void MR::positionVertsWithSpacing (Mesh &mesh, const SpacingSettings &settings)
 Moves given vertices to make the distances between them as specified.
 
MRMESH_API void MR::positionVertsWithSpacing (const MeshTopology &topology, VertCoords &points, const SpacingSettings &settings)
 
MRMESH_API void MR::inflate (Mesh &mesh, const VertBitSet &verts, const InflateSettings &settings)
 
MRMESH_API void MR::inflate (const MeshTopology &topology, VertCoords &points, const VertBitSet &verts, const InflateSettings &settings)
 
MRMESH_API void MR::inflate1 (const MeshTopology &topology, VertCoords &points, const VertBitSet &verts, float pressure)