14struct ContoursMeshAlignParams
60 MR_BIND_PREFER_UNLOCK_GIL_WHEN_USED_AS_PARAM
78MRMESH_API Expected<std::vector<float>>
findPartialLens(
const CurvePoints& cp,
bool unitLength =
true,
float * outCurveLen =
nullptr );
#define MRMESH_API
Definition MRMeshFwd.h:80
Definition MRAlignContoursToMesh.h:42
new unsafe ref float pivotCurveTime
new unsafe ref bool stretch
new unsafe ref bool periodicCurve
new unsafe ref float extrusion
new unsafe ref MR.Vector2f pivotBoxPoint
Definition MRAlignContoursToMesh.h:15
new unsafe ref float extrusion
new unsafe MR.? ConstBox_Vector3f zDirection
new unsafe ref MR.Vector3f xDirection
new unsafe ref float maximumShift
new unsafe MR.MeshTriPoint meshPoint
new unsafe ref MR.Vector2f pivotPoint
Definition MRMeshTriPoint.h:23
Definition MRMesh/MRMesh.h:23
MR_BIND_IGNORE auto end(const BitSet &)
Definition MRMesh/MRBitSet.h:382
Definition MRCameraOrientationPlugin.h:8
MRMESH_API Expected< CurveFunc > curveFromPoints(const CurvePoints &cp, bool unitLength=true, float *outCurveLen=nullptr)
MRMESH_API void addBaseToPlanarMesh(Mesh &mesh, float zOffset)
MRMESH_API Expected< Mesh > bendContoursAlongCurve(const Contours2f &contours, const CurveFunc &curve, const BendContoursAlongCurveParams ¶ms)
Converts contours in thick mesh, and deforms it along given path.
MRMESH_API Expected< Mesh > bendContoursAlongSurfacePath(const Contours2f &contours, const Mesh &mesh, const MeshTriPoint &start, const SurfacePath &path, const MeshTriPoint &end, const BendContoursAlongCurveParams ¶ms)
Converts contours in thick mesh, and deforms it along given surface path: start->path->end.
MRMESH_API Expected< Mesh > alignContoursToMesh(const Mesh &mesh, const Contours2f &contours, const ContoursMeshAlignParams ¶ms)
Creates planar mesh out of given contour and aligns it to given surface.
MRMESH_API CurvePoint getCurvePoint(const CurvePoints &cp, const std::vector< float > &lens, float p)
MRMESH_API CurvePoints meshPathCurvePoints(const Mesh &mesh, const MeshTriPoint &start, const SurfacePath &path, const MeshTriPoint &end)
converts polyline given as a number of MeshTriPoint/MeshEdgePoint into CurvePoints
MRMESH_API Expected< std::vector< float > > findPartialLens(const CurvePoints &cp, bool unitLength=true, float *outCurveLen=nullptr)