Classes | |
| struct | LargeByLengthComponentsSettings |
| auto meshlib::polyline_components::get_all_components_1 | ( | topology:&meshlib::PolylineTopology | ) | -> meshlib::Owned< meshlib::std_vector_MR_UndirectedEdgeBitSet > |
gets all connected components of polyline topology
Calls MR_PolylineComponents_getAllComponents_1().
| auto meshlib::polyline_components::get_all_components_2 | ( | topology:&meshlib::PolylineTopology | , |
| maxComponentCount:core::ffi::c_int | ) -> meshlib::Owned< meshlib::std_pair_std_vector_MR_UndirectedEdgeBitSet_int > |
gets all connected components of polyline topology
if components number more than the maxComponentCount, they will be combined into groups of the same size
| maxComponentCount | should be more than 1 |
Calls MR_PolylineComponents_getAllComponents_2().
| auto meshlib::polyline_components::get_component | ( | topology:&meshlib::PolylineTopology | , |
| id:meshlib::UndirectedEdgeId | ) -> meshlib::Owned< meshlib::UndirectedEdgeBitSet > |
returns one connected component containing given undirected edge id, not effective to call more than once, if several components are needed use getAllComponents Generated from function MR::PolylineComponents::getComponent.
Calls MR_PolylineComponents_getComponent().
| auto meshlib::polyline_components::get_largest_component_mr_vector2f | ( | polyline:&meshlib::Polyline2 | , |
| minLength:Option< f32 > | , | ||
| numSmallerComponents:Option<&mut core::ffi::c_int > | ) -> meshlib::Owned< meshlib::UndirectedEdgeBitSet > |
returns largest by length component Generated from function MR::PolylineComponents::getLargestComponent<MR::Vector2f>.
Calls MR_PolylineComponents_getLargestComponent_MR_Vector2f().
| auto meshlib::polyline_components::get_largest_component_mr_vector3f | ( | polyline:&meshlib::Polyline3 | , |
| minLength:Option< f32 > | , | ||
| numSmallerComponents:Option<&mut core::ffi::c_int > | ) -> meshlib::Owned< meshlib::UndirectedEdgeBitSet > |
returns largest by length component Generated from function MR::PolylineComponents::getLargestComponent<MR::Vector3f>.
Calls MR_PolylineComponents_getLargestComponent_MR_Vector3f().
| auto meshlib::polyline_components::get_n_large_by_length_components_mr_vector2f | ( | polyline:&meshlib::Polyline2 | , |
| settings:&meshlib::polyline_components::LargeByLengthComponentsSettings | ) -> meshlib::Owned< meshlib::std_vector_MR_UndirectedEdgeBitSet > |
returns requested number of largest by length connected components in descending by length order Generated from function MR::PolylineComponents::getNLargeByLengthComponents<MR::Vector2f>.
Calls MR_PolylineComponents_getNLargeByLengthComponents_MR_Vector2f().
| auto meshlib::polyline_components::get_n_large_by_length_components_mr_vector3f | ( | polyline:&meshlib::Polyline3 | , |
| settings:&meshlib::polyline_components::LargeByLengthComponentsSettings | ) -> meshlib::Owned< meshlib::std_vector_MR_UndirectedEdgeBitSet > |
returns requested number of largest by length connected components in descending by length order Generated from function MR::PolylineComponents::getNLargeByLengthComponents<MR::Vector3f>.
Calls MR_PolylineComponents_getNLargeByLengthComponents_MR_Vector3f().
| auto meshlib::polyline_components::get_num_components | ( | topology:&meshlib::PolylineTopology | ) | -> usize |
returns the number of connected components in polyline Generated from function MR::PolylineComponents::getNumComponents.
Calls MR_PolylineComponents_getNumComponents().
| auto meshlib::polyline_components::get_union_find_structure | ( | topology:&meshlib::PolylineTopology | ) | -> meshlib::Owned< meshlib::UnionFind_MR_UndirectedEdgeId > |
gets union-find structure for given polyline Generated from function MR::PolylineComponents::getUnionFindStructure.
Calls MR_PolylineComponents_getUnionFindStructure().