MeshLib C++ Docs
Loading...
Searching...
No Matches
MRSurfaceLineOffset.h
Go to the documentation of this file.
1#pragma once
2#include "MRMeshFwd.h"
3#include "MRExpected.h"
4#include <functional>
5
6namespace MR
7{
8
16[[nodiscard]]
17MRMESH_API Expected<Contours3f> offsetSurfaceLine( const Mesh& mesh, const std::vector<MeshTriPoint>& surfaceLine, float offset );
18
26[[nodiscard]]
27MRMESH_API Expected<Contours3f> offsetSurfaceLine( const Mesh& mesh, const std::vector<MeshTriPoint>& surfaceLine, const std::function<float( int )>& offsetAtPoint );
28
29}
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:79
tl::expected< T, E > Expected
Definition MRExpected.h:59
MRMESH_API Expected< Contours3f > 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.
Definition MRMesh/MRMesh.h:23