MeshLib C++ Docs
Loading...
Searching...
No Matches
MRAlignContoursToMesh.h File Reference
#include "MRMeshFwd.h"
#include "MRExpected.h"
#include "MRId.h"
#include "MRVector2.h"
#include "MRVector3.h"
#include "MRMeshTriPoint.h"
#include "MRCurve.h"

Go to the source code of this file.

Classes

struct  MR::ContoursMeshAlignParams
 Parameters for aligning 2d contours onto mesh surface. More...
struct  MR::BendContoursAlongCurveParams
 Parameters for aligning 2d contours along given curve. More...

Namespaces

namespace  MR
 only for bindings generation

Functions

Expected< MeshMR::alignContoursToMesh (const Mesh &mesh, const Contours2f &contours, const ContoursMeshAlignParams &params)
 Creates planar mesh out of given contour and aligns it to given surface.
Expected< MeshMR::bendContoursAlongCurve (const Contours2f &contours, const CurveFunc &curve, const BendContoursAlongCurveParams &params)
 Converts contours in thick mesh, and deforms it along given path.
Expected< MeshMR::bendContoursAlongSurfacePath (const Contours2f &contours, const Mesh &mesh, const GeodesicPath &path, const BendContoursAlongCurveParams &params)
 Converts contours in thick mesh, and deforms it along given surface path: start->path->end.
Expected< MeshMR::bendContoursAlongSurfacePath (const Contours2f &contours, const Mesh &mesh, const SurfacePath &path, const BendContoursAlongCurveParams &params)
 Converts contours in thick mesh, and deforms it along given surface path.
Expected< std::vector< float > > MR::findPartialLens (const CurvePoints &cp, float *outCurveLen=nullptr)
CurvePoint MR::getCurvePoint (const CurvePoints &cp, const std::vector< float > &lens, float p)
Expected< CurveFuncMR::curveFromPoints (const CurvePoints &cp, float *outCurveLen=nullptr)
Expected< CurveFuncMR::curveFromPoints (CurvePoints &&cp, float *outCurveLen=nullptr)
CurvePoints MR::meshPathCurvePoints (const Mesh &mesh, const GeodesicPath &path)
 converts polyline given as a number of MeshTriPoint/MeshEdgePoint into CurvePoints
CurvePoints MR::meshPathCurvePoints (const Mesh &mesh, const SurfacePath &path)
void MR::addBaseToPlanarMesh (Mesh &mesh, float zOffset)