27 UndirectedEdgeBitSet * outCutEdges =
nullptr,
FaceHashMap * new2Old =
nullptr,
float eps = 0, std::function<
void( EdgeId, EdgeId,
float )> onEdgeSplitCallback =
nullptr );
40 std::vector<EdgeLoop> * outCutContours,
FaceHashMap * new2Old =
nullptr,
float eps = 0, std::function<
void( EdgeId, EdgeId,
float )> onEdgeSplitCallback =
nullptr );
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
Definition MRCameraOrientationPlugin.h:8
MRMESH_API FaceBitSet subdivideWithPlane(Mesh &mesh, const Plane3f &plane, FaceHashMap *new2Old=nullptr, float eps=0, std::function< void(EdgeId, EdgeId, float)> onEdgeSplitCallback=nullptr)
HashMap< FaceId, FaceId > FaceHashMap
Definition MRMesh/MRMeshFwd.h:464
MRMESH_API void trimWithPlane(Mesh &mesh, const Plane3f &plane, UndirectedEdgeBitSet *outCutEdges=nullptr, FaceHashMap *new2Old=nullptr, float eps=0, std::function< void(EdgeId, EdgeId, float)> onEdgeSplitCallback=nullptr)
trim mesh by plane
Definition MRMesh/MRMesh.h:23
Definition MRMeshTrimWithPlane.h:55
Mesh * otherPart
Definition MRMeshTrimWithPlane.h:63
FaceHashMap * new2Old
Definition MRMeshTrimWithPlane.h:61
std::vector< EdgeLoop > * otherOutCutContours
Definition MRMeshTrimWithPlane.h:67
UndirectedEdgeBitSet * outCutEdges
Definition MRMeshTrimWithPlane.h:57
FaceHashMap * otherNew2Old
Definition MRMeshTrimWithPlane.h:65
std::vector< EdgeLoop > * outCutContours
Definition MRMeshTrimWithPlane.h:59
Definition MRMeshTrimWithPlane.h:44
float eps
Definition MRMeshTrimWithPlane.h:48
std::function< void(EdgeId, EdgeId, float)> onEdgeSplitCallback
Definition MRMeshTrimWithPlane.h:50
Plane3f plane
Definition MRMeshTrimWithPlane.h:46