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

Classes

struct  meshlib::triangulation_helpers::FanOptimizerQueueElement
struct  meshlib::triangulation_helpers::Settings
struct  meshlib::triangulation_helpers::TriangulatedFanData
 Data with caches for optimizing fan triangulation. More...

Namespaces

namespace  meshlib
namespace  meshlib::triangulation_helpers

Functions

auto meshlib::triangulation_helpers::update_neighbors_radius (points:&meshlib::VertCoords, v:meshlib::VertId, boundaryV:meshlib::VertId, fan:&meshlib::std_vector_MR_VertId, baseRadius:f32) -> f32
 Finds max radius of neighbors search, for possible better local triangulation.
void meshlib::triangulation_helpers::find_neighbors_in_ball (pointCloud:&meshlib::PointCloud, v:meshlib::VertId, radius:f32, neighbors:&mut meshlib::std_vector_MR_VertId)
 Finds all neighbors of v in given radius (v excluded)
auto meshlib::triangulation_helpers::find_num_neighbors (pointCloud:&meshlib::PointCloud, v:meshlib::VertId, numNeis:core::ffi::c_int, neighbors:&mut meshlib::std_vector_MR_VertId, tmp:&mut meshlib::FewSmallest_MR_PointsProjectionResult, upDistLimitSq:Option< f32 >) -> f32
 Finds at most given number of neighbors of v (v excluded)
void meshlib::triangulation_helpers::filter_neighbors (orientedNormals:&meshlib::VertCoords, untrustedNormals:Option<&meshlib::VertBitSet >, v:meshlib::VertId, neighbors:&mut meshlib::std_vector_MR_VertId)
 Filter neighbors with crossing normals.
void meshlib::triangulation_helpers::build_local_triangulation (cloud:&meshlib::PointCloud, v:meshlib::VertId, settings:&meshlib::triangulation_helpers::Settings, fanData:&mut meshlib::triangulation_helpers::TriangulatedFanData)
auto meshlib::triangulation_helpers::build_local_triangulations (cloud:&meshlib::PointCloud, settings:&meshlib::triangulation_helpers::Settings, progress:Option<&meshlib::std_function_bool_from_float >) -> meshlib::Owned< meshlib::std_optional_std_vector_MR_SomeLocalTriangulations >
auto meshlib::triangulation_helpers::build_united_local_triangulations (cloud:&meshlib::PointCloud, settings:&meshlib::triangulation_helpers::Settings, progress:Option<&meshlib::std_function_bool_from_float >) -> meshlib::Owned< meshlib::std_optional_MR_AllLocalTriangulations >
auto meshlib::triangulation_helpers::is_boundary_point (cloud:&meshlib::PointCloud, v:meshlib::VertId, settings:&meshlib::triangulation_helpers::Settings, fanData:&mut meshlib::triangulation_helpers::TriangulatedFanData) -> bool
 Checks if given vertex is on boundary of the point cloud, by constructing local triangulation around it.
auto meshlib::triangulation_helpers::find_boundary_points (pointCloud:&meshlib::PointCloud, settings:&meshlib::triangulation_helpers::Settings, cb:Option<&meshlib::std_function_bool_from_float >) -> meshlib::Owned< meshlib::std_optional_MR_VertBitSet >