> Today I find something interesting in proc-db/brepintersect.h(cpp). After skimming the code I found it's doing something very similar to my current surface-surface intersection. Is it an unfinished SSI implementation a few years ago? I'm just very curious about this.
That is exactly what that is. Feel free to merge it (or ideas from it) with your work. Be aware that it makes calls into openNURBS API for some functionality that does not exist there.
> Now I have added an option to the brep command in MGED and can tested surface-surface intersection conveniently with it. The intersection function still needs lots of improvements, though. I will upload some test results on my log page in a few days.
Once you think you have it working, be sure to try a test on a surface with interior trimming curves (creating holes), now just exterior bounding trims. Awesome to hear you're making progress on this so quickly!