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

Classes

struct  meshlib::TerminalVertex

Namespaces

namespace  meshlib

Functions

auto meshlib::is_edge_path (topology:&meshlib::MeshTopology, edges:&meshlib::std_vector_MR_EdgeId) -> bool
auto meshlib::is_edge_loop (topology:&meshlib::MeshTopology, edges:&meshlib::std_vector_MR_EdgeId) -> bool
auto meshlib::split_on_simple_loops (topology:&meshlib::MeshTopology, loops:&mut meshlib::std_vector_std_vector_MR_EdgeId) -> meshlib::Owned< meshlib::std_vector_std_vector_MR_EdgeId >
void meshlib::reverse_std_vector_mr_edge_id (path:&mut meshlib::std_vector_MR_EdgeId)
void meshlib::reverse_std_vector_std_vector_mr_edge_id (paths:&mut meshlib::std_vector_std_vector_MR_EdgeId)
auto meshlib::calc_path_metric (path:&meshlib::std_vector_MR_EdgeId, metric:&meshlib::std_function_float_from_MR_EdgeId) -> f64
auto meshlib::calc_path_length (path:&meshlib::std_vector_MR_EdgeId, mesh:&meshlib::Mesh) -> f64
auto meshlib::calc_oriented_area (loop:&meshlib::std_vector_MR_EdgeId, mesh:&meshlib::Mesh) -> meshlib::Vector3d
void meshlib::sort_paths_by_metric (paths:&mut meshlib::std_vector_std_vector_MR_EdgeId, metric:&meshlib::std_function_float_from_MR_EdgeId)
void meshlib::sort_paths_by_length (paths:&mut meshlib::std_vector_std_vector_MR_EdgeId, mesh:&meshlib::Mesh)
void meshlib::add_left_band (topology:&meshlib::MeshTopology, loop:&meshlib::std_vector_MR_EdgeId, addHere:&mut meshlib::FaceBitSet)
auto meshlib::build_shortest_path_mr_vert_id (mesh:&meshlib::Mesh, start:meshlib::VertId, finish:meshlib::VertId, maxPathLen:Option< f32 >) -> meshlib::Owned< meshlib::std_vector_MR_EdgeId >
auto meshlib::build_shortest_path_bi_dir_4 (mesh:&meshlib::Mesh, start:meshlib::VertId, finish:meshlib::VertId, maxPathLen:Option< f32 >) -> meshlib::Owned< meshlib::std_vector_MR_EdgeId >
auto meshlib::build_shortest_path_bi_dir_6 (mesh:&meshlib::Mesh, start:&meshlib::MeshTriPoint, finish:&meshlib::MeshTriPoint, outPathStart:Option<&mut meshlib::VertId >, outPathFinish:Option<&mut meshlib::VertId >, maxPathLen:Option< f32 >) -> meshlib::Owned< meshlib::std_vector_MR_EdgeId >
auto meshlib::build_shortest_path_a_star_4 (mesh:&meshlib::Mesh, start:meshlib::VertId, finish:meshlib::VertId, maxPathLen:Option< f32 >) -> meshlib::Owned< meshlib::std_vector_MR_EdgeId >
auto meshlib::build_shortest_path_a_star_6 (mesh:&meshlib::Mesh, start:&meshlib::MeshTriPoint, finish:&meshlib::MeshTriPoint, outPathStart:Option<&mut meshlib::VertId >, outPathFinish:Option<&mut meshlib::VertId >, maxPathLen:Option< f32 >) -> meshlib::Owned< meshlib::std_vector_MR_EdgeId >
auto meshlib::build_shortest_path_mr_vert_bit_set (mesh:&meshlib::Mesh, start:meshlib::VertId, finish:&meshlib::VertBitSet, maxPathLen:Option< f32 >) -> meshlib::Owned< meshlib::std_vector_MR_EdgeId >
auto meshlib::build_smallest_metric_path_const_mr_mesh_topology_ref_mr_vert_id (topology:&meshlib::MeshTopology, metric:&meshlib::std_function_float_from_MR_EdgeId, start:meshlib::VertId, finish:meshlib::VertId, maxPathMetric:Option< f32 >) -> meshlib::Owned< meshlib::std_vector_MR_EdgeId >
auto meshlib::build_smallest_metric_path_bi_dir_5 (topology:&meshlib::MeshTopology, metric:&meshlib::std_function_float_from_MR_EdgeId, start:meshlib::VertId, finish:meshlib::VertId, maxPathMetric:Option< f32 >) -> meshlib::Owned< meshlib::std_vector_MR_EdgeId >
auto meshlib::build_smallest_metric_path_bi_dir_9 (topology:&meshlib::MeshTopology, metric:&meshlib::std_function_float_from_MR_EdgeId, starts:Option<&meshlib::TerminalVertex >, numStarts:core::ffi::c_int, finishes:Option<&meshlib::TerminalVertex >, numFinishes:core::ffi::c_int, outPathStart:Option<&mut meshlib::VertId >, outPathFinish:Option<&mut meshlib::VertId >, maxPathMetric:Option< f32 >) -> meshlib::Owned< meshlib::std_vector_MR_EdgeId >
auto meshlib::build_smallest_metric_path_const_mr_mesh_topology_ref_mr_vert_bit_set (topology:&meshlib::MeshTopology, metric:&meshlib::std_function_float_from_MR_EdgeId, start:meshlib::VertId, finish:&meshlib::VertBitSet, maxPathMetric:Option< f32 >) -> meshlib::Owned< meshlib::std_vector_MR_EdgeId >
auto meshlib::get_vertex_ordering_mr_mesh_topology (topology:&meshlib::MeshTopology, region:&meshlib::VertBitSet) -> meshlib::Owned< meshlib::std_vector_MR_VertId >
auto meshlib::extract_closed_loops_2 (topology:&meshlib::MeshTopology, edges:&mut meshlib::EdgeBitSet) -> meshlib::Owned< meshlib::std_vector_std_vector_MR_EdgeId >
auto meshlib::extract_closed_loops_3 (topology:&meshlib::MeshTopology, inEdges:&meshlib::std_vector_MR_EdgeId, outNotLoopEdges:Option<&mut meshlib::EdgeBitSet >) -> meshlib::Owned< meshlib::std_vector_std_vector_MR_EdgeId >
auto meshlib::extract_longest_closed_loop (mesh:&meshlib::Mesh, inEdges:&meshlib::std_vector_MR_EdgeId) -> meshlib::Owned< meshlib::std_vector_MR_EdgeId >
auto meshlib::dilate_region_by_metric_mr_face_bit_set (topology:&meshlib::MeshTopology, metric:&meshlib::std_function_float_from_MR_EdgeId, region:&mut meshlib::FaceBitSet, dilation:f32, callback:Option<&meshlib::std_function_bool_from_float >) -> bool
auto meshlib::dilate_region_by_metric_mr_vert_bit_set (topology:&meshlib::MeshTopology, metric:&meshlib::std_function_float_from_MR_EdgeId, region:&mut meshlib::VertBitSet, dilation:f32, callback:Option<&meshlib::std_function_bool_from_float >) -> bool
auto meshlib::dilate_region_by_metric_mr_undirected_edge_bit_set (topology:&meshlib::MeshTopology, metric:&meshlib::std_function_float_from_MR_EdgeId, region:&mut meshlib::UndirectedEdgeBitSet, dilation:f32, callback:Option<&meshlib::std_function_bool_from_float >) -> bool
auto meshlib::erode_region_by_metric_mr_face_bit_set (topology:&meshlib::MeshTopology, metric:&meshlib::std_function_float_from_MR_EdgeId, region:&mut meshlib::FaceBitSet, dilation:f32, callback:Option<&meshlib::std_function_bool_from_float >) -> bool
auto meshlib::erode_region_by_metric_mr_vert_bit_set (topology:&meshlib::MeshTopology, metric:&meshlib::std_function_float_from_MR_EdgeId, region:&mut meshlib::VertBitSet, dilation:f32, callback:Option<&meshlib::std_function_bool_from_float >) -> bool
auto meshlib::erode_region_by_metric_mr_undirected_edge_bit_set (topology:&meshlib::MeshTopology, metric:&meshlib::std_function_float_from_MR_EdgeId, region:&mut meshlib::UndirectedEdgeBitSet, dilation:f32, callback:Option<&meshlib::std_function_bool_from_float >) -> bool
auto meshlib::dilate_region_4_mr_face_bit_set (mesh:&meshlib::Mesh, region:&mut meshlib::FaceBitSet, dilation:f32, callback:Option<&meshlib::std_function_bool_from_float >) -> bool
auto meshlib::dilate_region_4_mr_vert_bit_set (mesh:&meshlib::Mesh, region:&mut meshlib::VertBitSet, dilation:f32, callback:Option<&meshlib::std_function_bool_from_float >) -> bool
auto meshlib::dilate_region_4_mr_undirected_edge_bit_set (mesh:&meshlib::Mesh, region:&mut meshlib::UndirectedEdgeBitSet, dilation:f32, callback:Option<&meshlib::std_function_bool_from_float >) -> bool
auto meshlib::dilate_region_5_const_mr_mesh_topology_ref_mr_face_bit_set (topology:&meshlib::MeshTopology, points:&meshlib::VertCoords, region:&mut meshlib::FaceBitSet, dilation:f32, callback:Option<&meshlib::std_function_bool_from_float >) -> bool
auto meshlib::dilate_region_5_const_mr_mesh_topology_ref_mr_vert_bit_set (topology:&meshlib::MeshTopology, points:&meshlib::VertCoords, region:&mut meshlib::VertBitSet, dilation:f32, callback:Option<&meshlib::std_function_bool_from_float >) -> bool
auto meshlib::dilate_region_5_const_mr_mesh_topology_ref_mr_undirected_edge_bit_set (topology:&meshlib::MeshTopology, points:&meshlib::VertCoords, region:&mut meshlib::UndirectedEdgeBitSet, dilation:f32, callback:Option<&meshlib::std_function_bool_from_float >) -> bool
auto meshlib::erode_region_4_mr_face_bit_set (mesh:&meshlib::Mesh, region:&mut meshlib::FaceBitSet, dilation:f32, callback:Option<&meshlib::std_function_bool_from_float >) -> bool
auto meshlib::erode_region_4_mr_vert_bit_set (mesh:&meshlib::Mesh, region:&mut meshlib::VertBitSet, dilation:f32, callback:Option<&meshlib::std_function_bool_from_float >) -> bool
auto meshlib::erode_region_4_mr_undirected_edge_bit_set (mesh:&meshlib::Mesh, region:&mut meshlib::UndirectedEdgeBitSet, dilation:f32, callback:Option<&meshlib::std_function_bool_from_float >) -> bool
auto meshlib::erode_region_5_const_mr_mesh_topology_ref_mr_face_bit_set (topology:&meshlib::MeshTopology, points:&meshlib::VertCoords, region:&mut meshlib::FaceBitSet, dilation:f32, callback:Option<&meshlib::std_function_bool_from_float >) -> bool
auto meshlib::erode_region_5_const_mr_mesh_topology_ref_mr_vert_bit_set (topology:&meshlib::MeshTopology, points:&meshlib::VertCoords, region:&mut meshlib::VertBitSet, dilation:f32, callback:Option<&meshlib::std_function_bool_from_float >) -> bool
auto meshlib::erode_region_5_const_mr_mesh_topology_ref_mr_undirected_edge_bit_set (topology:&meshlib::MeshTopology, points:&meshlib::VertCoords, region:&mut meshlib::UndirectedEdgeBitSet, dilation:f32, callback:Option<&meshlib::std_function_bool_from_float >) -> bool
auto meshlib::get_path_plane_intersections (mesh:&meshlib::Mesh, path:&meshlib::std_vector_MR_EdgeId, plane:&meshlib::Plane3f, outIntersections:Option<&mut meshlib::std_vector_MR_EdgePoint >) -> core::ffi::c_int
auto meshlib::get_contour_plane_intersections (path:&meshlib::std_vector_MR_Vector3f, plane:&meshlib::Plane3f, outIntersections:Option<&mut meshlib::std_vector_MR_Vector3f >) -> core::ffi::c_int
auto meshlib::get_path_edges_in_plane (mesh:&meshlib::Mesh, path:&meshlib::std_vector_MR_EdgeId, plane:&meshlib::Plane3f, tolerance:Option< f32 >, outInPlaneEdges:Option<&mut meshlib::std_vector_MR_EdgeId >) -> core::ffi::c_int
auto meshlib::edge_path_to_contour3f (mesh:&meshlib::Mesh, line:&meshlib::std_vector_MR_EdgeId) -> meshlib::Owned< meshlib::std_vector_MR_Vector3f >
auto meshlib::edge_paths_to_contours3f (mesh:&meshlib::Mesh, lines:&meshlib::std_vector_std_vector_MR_EdgeId) -> meshlib::Owned< meshlib::std_vector_std_vector_MR_Vector3f >