Skip to content

Commit

Permalink
Update doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Sep 13, 2023
1 parent ba9b8b1 commit d36c6a8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/fj-core/src/algorithms/approx/curve/segment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ impl CurveApproxSegment {
}

/// Merge the provided segment into this one
///
/// It there is a true overlap between both segments (as opposed to them
/// just touching), then the overlapping part is taken from the other
/// segment, meaning parts of this one get overwritten.
pub fn merge(&mut self, other: &Self) {
assert!(
self.overlaps(other),
Expand Down

0 comments on commit d36c6a8

Please sign in to comment.