Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Jan 27, 2022
1 parent 66b5bad commit eadeeaa
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/kernel/shapes/difference_3d.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,20 @@ impl Shape for fj::Difference {
}

fn faces(&self, _tolerance: f64, _: &mut DebugInfo) -> Faces {
// TASK: Implement algorithm from "Boundary Representation Modelling
// Techniques", section 6.1.1 (pages 127 ff.).

// TASK: Find interactions between objects by comparing each face in one
// with each face in the other.
// TASK: Check for intersection between the surfaces of each face. This
// might result in a curve where they intersect.
// TASK: Check that curve against the faces, to find curve sections that
// lie in the faces.
// TASK: Find common curve sections that lie in both faces.
// TASK: Add common curve sections to faces. (What does that mean
// specifically? Are we creating a new edge, and therefore new
// faces, there?)

todo!()
}

Expand Down

0 comments on commit eadeeaa

Please sign in to comment.