#[derive(Debug, Clone, PartialEq)]
pub struct KeyPoint {
pub x: f32, pub y: f32, pub size: f32, pub angle: f32, pub response: f32, pub octave: i32, pub layer: i32, }
impl KeyPoint {
#[allow(clippy::too_many_arguments)]
pub fn new(
x: f32,
y: f32,
size: f32,
angle: f32,
response: f32,
octave: i32,
layer: i32,
) -> Self {
KeyPoint {
x,
y,
size,
angle,
response,
octave,
layer,
}
}
}