pub fn marching_squares_segments(
case: u8,
tl: f64,
tr: f64,
br: f64,
bl: f64,
threshold: f64,
cx: f64,
cy: f64,
dx: f64,
dy: f64,
) -> Vec<((f64, f64), (f64, f64))>Expand description
Return line segments for a marching squares cell. Corners: tl=top-left, tr=top-right, br=bottom-right, bl=bottom-left.