MeshLib C++ Docs
Loading...
Searching...
No Matches
MRFillContours2D.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRHoleFillPlan.h"
4#include "MRExpected.h"
5
6namespace MR
7{
10
11
20MRMESH_API Expected<void> fillContours2D( Mesh& mesh, const std::vector<EdgeId>& holeRepresentativeEdges );
21
29MRMESH_API Expected<HoleFillPlan> fillContours2DPlan( const Mesh& mesh, EdgeId holeEdgeId );
30
34MRMESH_API AffineXf3f getXfFromOxyPlane( const Contours3f& contours );
35MRMESH_API AffineXf3f getXfFromOxyPlane( const Mesh& mesh, const std::vector<EdgePath>& paths );
36
40MRMESH_API Expected<void> fillPlanarHole( ObjectMeshData& data, std::vector<EdgeLoop>& holeContours );
41
42}
#define MRMESH_API
Definition MRMeshFwd.h:82
Contours3< float > Contours3f
Definition MRMeshFwd.h:385
tl::expected< T, E > Expected
Definition MRExpected.h:31
AffineXf3f getXfFromOxyPlane(const Contours3f &contours)
Expected< HoleFillPlan > fillContours2DPlan(const Mesh &mesh, EdgeId holeEdgeId)
prepare filling plan for hole with border in same plane (i.e. after cut by plane)
Expected< void > fillContours2D(Mesh &mesh, const std::vector< EdgeId > &holeRepresentativeEdges)
fill holes with border in same plane (i.e. after cut by plane)
Expected< void > fillPlanarHole(ObjectMeshData &data, std::vector< EdgeLoop > &holeContours)
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
Definition MRMesh.h:23
mesh and its per-element attributes for ObjectMeshHolder
Definition MRObjectMeshData.h:17