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{
10
11
19[[nodiscard]]
20MRMESH_API Expected<Contours3f> offsetSurfaceLine( const Mesh& mesh, const std::vector<MeshTriPoint>& surfaceLine, float offset );
21
29[[nodiscard]]
30MRMESH_API Expected<Contours3f> offsetSurfaceLine( const Mesh& mesh, const std::vector<MeshTriPoint>& surfaceLine, const std::function<float( int )>& offsetAtPoint );
31
32}
tl::expected< T, E > Expected
Definition MRExpected.h:31
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.
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
Definition MRMesh.h:23