16[[nodiscard]]
inline bool isClosed(
const Contour3f& c ) {
return c.size() > 1 && c.front() == c.back(); }
21 const auto sz = in.size();
28 const auto sz = in.size();
31 res.marks.set( sz - 1 );
#define MRMESH_API
Definition MRMeshFwd.h:80
Definition MRMesh/MRBitSet.h:24
unsafe MR.BitSet set(ulong n, ulong len, bool val)
Definition MRMarkedContour.h:11
new unsafe MR.Std.Vector_MRVector3f contour
Definition MRMarkedContour.h:53
new unsafe ref int iterations
new unsafe ref float samplingStep
new unsafe ref float controlStability
new unsafe MR.Std.? Vector_MRVector3f normals
new unsafe ref bool normalsAffectShape
Definition MRCameraOrientationPlugin.h:8
MarkedContour3f markedContour(Contour3f in)
Definition MRMarkedContour.h:19
MRMESH_API bool isClosed(const ContinuousContour &contour)
returns true if contour is closed
MRMESH_API MarkedContour3f makeSpline(MarkedContour3f in, float markStability=1, const Contour3f *normals=nullptr)
MarkedContour3f markedFirstLast(Contour3f in)
Definition MRMarkedContour.h:26
MRMESH_API MarkedContour3f resample(const MarkedContour3f &in, float minStep, Contour3f *normals=nullptr)