Skip to main content

find_matching_blocks

Function find_matching_blocks 

Source
pub fn find_matching_blocks(
    block1: &Block,
    block2: &Block,
    block1_outer: &mut Vec<Face>,
    block2_outer: &mut Vec<Face>,
    tol: f64,
) -> Vec<Vec<MatchPoint>>
Expand description

Recursively match all faces between a pair of blocks.

§Arguments

  • block1 / block2 - Blocks to compare.
  • block1_outer / block2_outer - Mutable outer-face lists that will be updated in-place as faces are split.
  • tol - Node matching tolerance.

§Returns

Collection of match-point arrays, one entry per detected interface.