MR_BIND_IGNORE_PY auto end(const BitSet &)
Definition MRBitSet.h:397
const Vector3f * zDirection
Definition MRAlignContoursToMesh.h:31
MRMESH_API Expected< CurveFunc > curveFromPoints(const CurvePoints &cp, float *outCurveLen=nullptr)
float extrusion
Contours extrusion outside of curve level.
Definition MRAlignContoursToMesh.h:61
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< std::vector< float > > findPartialLens(const CurvePoints &cp, float *outCurveLen=nullptr)
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.
tl::expected< T, E > Expected
Definition MRExpected.h:31
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
std::vector< CurvePoint > CurvePoints
curve given as a number of points on it samples at arbitrary steps
Definition MRCurve.h:32
float extrusion
Contours extrusion in +z and -z direction.
Definition MRAlignContoursToMesh.h:34
Vector2f pivotBoxPoint
Definition MRAlignContoursToMesh.h:52
bool stretch
stretch all contours along curve to fit in curve.totalLength
Definition MRAlignContoursToMesh.h:58
bool periodicCurve
if true, curve parameter will be always within [0,curve.totalLength) with repetition: xr := mod( x,...
Definition MRAlignContoursToMesh.h:55
Vector3f xDirection
Represents 2d contours xDirection in mesh space.
Definition MRAlignContoursToMesh.h:27
float maximumShift
Maximum allowed shift along 'zDirection' for alignment.
Definition MRAlignContoursToMesh.h:37
Vector2f pivotPoint
Definition MRAlignContoursToMesh.h:24
MeshTriPoint meshPoint
Point coordinate on mesh, represent position of contours box 'pivotPoint' on mesh.
Definition MRAlignContoursToMesh.h:20
float pivotCurveTime
Definition MRAlignContoursToMesh.h:48
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
Parameters for aligning 2d contours along given curve.
Definition MRAlignContoursToMesh.h:45
Parameters for aligning 2d contours onto mesh surface.
Definition MRAlignContoursToMesh.h:18
Definition MRMeshTriPoint.h:26