pub fn has_all_identical_points(points: &ArrayView2<'_, f64>) -> boolExpand description
Check if all points are identical
§Arguments
points- Input points array
§Returns
- true if all points are identical, false otherwise
§Examples
use scirs2_spatial::convex_hull::algorithms::special_cases::has_all_identical_points;
use scirs2_core::ndarray::array;
let identical = array![[1.0, 2.0], [1.0, 2.0], [1.0, 2.0]];
assert!(has_all_identical_points(&identical.view()));
let different = array![[1.0, 2.0], [1.0, 2.0], [1.0, 2.1]];
assert!(!has_all_identical_points(&different.view()));