![]() |
【转帖】brep traversal
brep traversal
brep traversal hello, i'm confused about the various kinds od ...next...() functions on odbrcoedge. i would like to knot how to get from a coedge to the next coedge around a loop and how to get from an edge to the firstcoedge() to the "next" coedge for the edge ( the other coedge at a seam). can somebody explain where these functions take you? odbrcoedge::circularnext(); odbrcoedge::circularnextincoedgearoundedgelist(); odbrcoedge::circularnextinstartingvertexlist(); odbrcoedge::noncircularnext(); thanks, lowell do not use next.... functions of odbrcoedge. it are for internal use only. please, read the documentation about odbrloopcoedgetraverser. check next code : odbrloop loop; ........................ odbrloopcoedgetraverser loopcoedgetrav; loopcoedgetrav.set(loop); while(!loopcoedgetrav.done()) { loopcoedgetrav.next(); } odbrloop loop; ........................ odbrloopcoedgetraverser loopcoedgetrav; loopcoedgetrav.set(loop); while(!loopcoedgetrav.done()) { odbrcoedge coe; loopcoedgetrav.getcoedge(coe); loopcoedgetrav.next(); } also check odbrbrepfacetraverser and odbrfacelooptraverser. thank you. i somehow missed finding odbredgecoedgetraverser. it makes sense now. lowell |
所有的时间均为北京时间。 现在的时间是 08:38 PM. |