Hi!
I'v read some code in src/librt/opennurbs_ext.h and opennurbs_ext.cpp,I
found that BBNode and BRNode is used to represent the subsurface and subcurve.
So,based on the struct of BBNode and BRNode, I'v implement the function of
doTrimming() to calculate the intersections between BBNode's edge in uv and
trimcurve, and also get the untrimmed region which is represented as
TrimLoop.The working is a little like function of drawBBNode(..) in
brep_debug.cpp,but drawBBNode seems only available for displaying.
the link is
here:https://sourceforge.net/tracker/?func=detail&aid=3539211&group_id=105292&atid=640804
It comes out some warnings for inline fails when compiling, I'v tried to
move the TrimLoop::findPos() to opennurbs_ext.cpp to avoid incline,but it don't
work,I'm confused about it.
I'v make some debug for doTrimming(...),but there still may be some bugs,so
I'll work on it continually.
Cheers!
Laijiren------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel