MeshLib Rust Docs
Loading...
Searching...
No Matches
MROneMeshContours.rs File Reference

Classes

struct  meshlib::OneMeshIntersection_Primitive
struct  meshlib::OneMeshContour
struct  meshlib::OneMeshContours
 Special data type for MR::cutMesh: the intersections of all contours in one array, one contour after another. More...
struct  meshlib::OneMeshIntersection
struct  meshlib::SearchPathSettings
struct  meshlib::SortIntersectionsData

Namespaces

namespace  meshlib

Functions

void meshlib::subdivide_lone_contours (mesh:&mut meshlib::Mesh, contours:&meshlib::OneMeshContours, new2oldMap:Option<&mut meshlib::phmap::phmap_flat_hash_map_MR_FaceId_MR_FaceId_phmap_Hash_MR_FaceId_phmap_EqualTo_MR_FaceId_MR_Allocator_std_pair_const_MR_FaceId_MR_FaceId >)
void meshlib::get_one_mesh_intersection_contours (meshA:&meshlib::Mesh, meshB:&meshlib::Mesh, contours:&meshlib::Vector_MR_Vector_MR_VarEdgeTri, outA:Option<&mut meshlib::OneMeshContours >, outB:Option<&mut meshlib::OneMeshContours >, converters:&meshlib::CoordinateConverters, rigidB2A:Option<&meshlib::AffineXf3f >, outPtsA:Option<&mut meshlib::std_vector_std_vector_MR_Vector3f >, addSelfyTerminalVerts:Option< bool >)
auto meshlib::get_one_mesh_self_intersection_contours (mesh:&meshlib::Mesh, contours:&meshlib::Vector_MR_Vector_MR_VarEdgeTri, converters:&meshlib::CoordinateConverters, rigidB2A:Option<&meshlib::AffineXf3f >) -> meshlib::Owned< meshlib::OneMeshContours >
auto meshlib::extract_mesh_contours (meshContours:&meshlib::OneMeshContours) -> meshlib::Owned< meshlib::std_vector_std_vector_MR_Vector3f >
auto meshlib::surface_line_to_mesh_contour (mesh:&meshlib::Mesh, surfaceLine:&meshlib::std_vector_MR_MeshTriPoint, searchSettings:Option<&meshlib::SearchPathSettings >, pivotIndices:Option<&mut meshlib::std_vector_int >) -> meshlib::Owned< meshlib::expected_MR_OneMeshContour_std_string >
 Makes continuous contour by mesh tri points, if first and last meshTriPoint is the same, makes closed contour.
auto meshlib::surface_line_to_closed_mesh_contour (mesh:&meshlib::Mesh, surfaceLine:&meshlib::std_vector_MR_MeshTriPoint, searchSettings:Option<&meshlib::SearchPathSettings >, pivotIndices:Option<&mut meshlib::std_vector_int >) -> meshlib::Owned< meshlib::expected_MR_OneMeshContour_std_string >
 Makes closed continuous contour by mesh tri points, note that first and last meshTriPoint should not be same.
auto meshlib::surface_path_with_ends_to_mesh_contour (mesh:&meshlib::Mesh, start:&meshlib::MeshTriPoint, surfacePath:&meshlib::std_vector_MR_EdgePoint, end:&meshlib::MeshTriPoint) -> meshlib::Owned< meshlib::OneMeshContour >
 Converts SurfacePath to OneMeshContours.
auto meshlib::surface_paths_to_mesh_contours (mesh:&meshlib::Mesh, surfacePaths:&meshlib::std_vector_std_vector_MR_EdgePoint) -> meshlib::Owned< meshlib::OneMeshContours >
 Converts SurfacePaths to OneMeshContours.
auto meshlib::convert_mesh_tri_points_to_mesh_contour (mesh:&meshlib::Mesh, surfaceLine:&meshlib::std_vector_MR_MeshTriPoint, searchSettings:Option<&meshlib::SearchPathSettings >, pivotIndices:Option<&mut meshlib::std_vector_int >) -> meshlib::Owned< meshlib::expected_MR_OneMeshContour_std_string >
auto meshlib::convert_mesh_tri_points_to_closed_contour (mesh:&meshlib::Mesh, surfaceLine:&meshlib::std_vector_MR_MeshTriPoint, searchSettings:Option<&meshlib::SearchPathSettings >, pivotIndices:Option<&mut meshlib::std_vector_int >) -> meshlib::Owned< meshlib::expected_MR_OneMeshContour_std_string >
auto meshlib::convert_surface_path_with_ends_to_mesh_contour (mesh:&meshlib::Mesh, start:&meshlib::MeshTriPoint, surfacePath:&meshlib::std_vector_MR_EdgePoint, end:&meshlib::MeshTriPoint) -> meshlib::Owned< meshlib::OneMeshContour >
auto meshlib::convert_surface_paths_to_mesh_contours (mesh:&meshlib::Mesh, surfacePaths:&meshlib::std_vector_std_vector_MR_EdgePoint) -> meshlib::Owned< meshlib::OneMeshContours >