Skip to content

Commit

Permalink
Apply clippy suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
mthh committed Nov 13, 2024
1 parent ef66bee commit 79e2c8d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/geometry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -887,7 +887,7 @@ impl SFCGeometry {
}
}

///
/// Test if the geometry covers an other `SFCGeometry`.
pub fn covers(&self, other: &SFCGeometry) -> Result<bool> {

Expand All @@ -903,7 +903,7 @@ impl SFCGeometry {
check_predicate(rv)
}

///
/// Test if the geometry covers an other `SFCGeometry` in 3D.
pub fn covers_3d(&self, other: &SFCGeometry) -> Result<bool> {

Expand Down Expand Up @@ -1758,7 +1758,7 @@ impl SFCGeometry {

/// Rotates a 3D geometry around a specified axis and center point by a
/// given
#[allow(clippy::too_many_arguments)]
pub fn geometry_rotate_3d_around_center(&self, angle: f64, axis_x_angle: f64, axis_y_angle: f64, axis_z_angle: f64, center_x: f64, center_y: f64, center_z: f64) -> Result<SFCGeometry> {

let result = unsafe {
Expand Down

0 comments on commit 79e2c8d

Please sign in to comment.