MCPcopy Create free account
hub / github.com/donkeyteethUX/iced_plot / coordinates_match

Function coordinates_match

src/plot_state.rs:1072–1075  ·  view source on GitHub ↗
(a: f64, b: f64)

Source from the content-addressed store, hash-verified

1070 }
1071 }
1072 out
1073}
1074
1075fn find_segment_covering_x(points: &[[f64; 2]], x: f64) -> Option<usize> {
1076 if points.len() < 2 {
1077 return None;
1078 }

Callers 1

series_points_are_pairedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected