MeshLib C Docs
Loading...
Searching...
No Matches
MRSplineProject.h File Reference
#include <MRCMisc/exports.h>

Go to the source code of this file.

Functions

MRC_API MR_std_vector_MR_Vector3fMR_projectSpline (const MR_Mesh *mesh, const MR_MarkedContour3f *spline)
MRC_API MR_std_vector_MR_MeshTriPointMR_projectSplineAsMTP (const MR_Mesh *mesh, const MR_MarkedContour3f *spline)

Function Documentation

◆ MR_projectSpline()

MRC_API MR_std_vector_MR_Vector3f * MR_projectSpline ( const MR_Mesh * mesh,
const MR_MarkedContour3f * spline )

every control point of the spline is moved to the closest point on the given mesh; every not-control point of the spline is moved to the closest point in the region between two control points Generated from function MR::projectSpline. Parameter mesh can not be null. It is a single object. Parameter spline can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_MR_Vector3f_Destroy() to free it when you're done using it.

◆ MR_projectSplineAsMTP()

MRC_API MR_std_vector_MR_MeshTriPoint * MR_projectSplineAsMTP ( const MR_Mesh * mesh,
const MR_MarkedContour3f * spline )

every control point of the spline is moved to the closest point on the given mesh; every not-control point of the spline is moved to the closest point in the region between two control points Generated from function MR::projectSplineAsMTP. Parameter mesh can not be null. It is a single object. Parameter spline can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_MR_MeshTriPoint_Destroy() to free it when you're done using it.