Skip to main content

pair_disc

Function pair_disc 

Source
pub fn pair_disc(tols: &mut [Tol], normal: Option<f64>) -> usize
Expand description

隣り合う x・y の公差の組(同じ面・玉・群の dx と dy、tx と ty。パラメータの数が同じもの)を、円の中の 分布(Dist::DiscX・Dist::DiscY、normal が None で一様・Some(cut) で 2 次元正規)にする。偏心・傾き・くさびの 大きさを公差以下にしたいときに。組にした数を返す