> Hmm.  What literature have you already seen on the topic?  Do 

> http://cagd.cs.byu.edu/~tom/papers/bezclip.pdf 


 > and/or

 
> http://cagd.cs.byu.edu/~tom/papers/fatarcs.pdf



> offer any useful insights?



Thanks for these links.


Hmm. Actually these papers tell about general ideas, not such particular 
details. After carefully thought for a while, I think the current solution is 
quite reasonable now. The question raised when I test on two straight lines, 
but linear curves are specially dealt with ON_IntersectLineLine() and other 
logic now (overlaps). I've also added some comment to the code to tell about 
the possible limitations.


Cheers!
Wu
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to