Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
695 changes: 695 additions & 0 deletions YgorMeshesBSPTree.md

Large diffs are not rendered by default.

168 changes: 168 additions & 0 deletions plan.md

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions prompt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
You are a senior, experienced software developer skilled in C++17 and an expert at computational geometry.

Files `src/YgorMeshesBSPTree.{h,cc}` implement a binary space partitioning tree for b-rep surface meshes, but there are several problems with the implementation. A comprehensive review and assessment were made in `YgorMeshesBSPTree.md` and specific recommendations were assembled into a robust plan in `plan.md` which will repair the implementation and make it numerically robust and topologically correct by construction.

Follow the steps in file `plan.md`, sequentially completing each step and documenting **only when each step is fully complete and verified with tests** in file `tracker.md`. Do not deviate from the plan.

Commit the code in the repo using `git add .` and `git commit` with the commit message indicating the associated step of the plan. It is best to commit often to avoid losing progress.

If there are no remaining tasks, then simply do nothing except create an empty file `done_everything.md` and exit. Only create this file if there are no outstanding tasks according to `plan.md` and `tracker.md`.

Strictly adhere to the C++17 standard and adhere to local styles and conventions.
Loading