Not an immediate priority for me, but opening to register the idea.
This function returns an vector of index vectors, where each vector is a connected component
|
function conneccomps(elems::AbstractVector{<:Connectivity}) |
The Partition takes exactly such a Vector{Vector{Int}}, so adding a new partition method should be straightforward
|
struct Partition{O} |
|
object::O |
|
subsets::Vector{Vector{Int}} |
|
metadata::Dict |
|
end |
Not an immediate priority for me, but opening to register the idea.
This function returns an vector of index vectors, where each vector is a connected component
Meshes.jl/src/topologies/halfedge.jl
Line 340 in 4965450
The
Partitiontakes exactly such aVector{Vector{Int}}, so adding a new partition method should be straightforwardMeshes.jl/src/partitions.jl
Lines 11 to 15 in 4965450