MeshLib C++ Docs
Loading...
Searching...
No Matches
MRSurfaceLineOffset.h File Reference
#include "MRMeshFwd.h"
#include "MRExpected.h"
#include <functional>

Go to the source code of this file.

Namespaces

namespace  MR
 

Functions

MRMESH_API Expected< Contours3fMR::offsetSurfaceLine (const Mesh &mesh, const std::vector< MeshTriPoint > &surfaceLine, float offset)
 Returns contours in mesh space that are offset from surfaceLine on offset amount in all directions.
 
MRMESH_API Expected< Contours3fMR::offsetSurfaceLine (const Mesh &mesh, const std::vector< MeshTriPoint > &surfaceLine, const std::function< float(int)> &offsetAtPoint)
 Returns contours in mesh space that are offset from surfaceLine on offsetAtPoint amount in all directions.