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

Function point_is_finite

src/plot_state.rs:1076–1078  ·  view source on GitHub ↗
([x, y]: [f64; 2])

Source from the content-addressed store, hash-verified

1074
1075fn find_segment_covering_x(points: &[[f64; 2]], x: f64) -> Option<usize> {
1076 if points.len() < 2 {
1077 return None;
1078 }
1079 let eps = 1e-12;
1080 let mut idx = 0usize;
1081 while idx + 1 < points.len() {

Callers 1

series_points_are_pairedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected