查看单个帖子
旧 2009-05-06, 07:47 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】oddbhatchappendloop and getloopa

oddbhatch::appendloop and getloopat
oddbhatch::appendloop and getloopat
there are three versions of oddbhatch::appendloop:
code:
void oddbhatch::appendloop(odint32 looptype, const edgearray& edgeptrs)
void oddbhatch::appendloop(odint32 looptype, const odgepoint2darray& vertices, const odgedoublearray& bulges)
void oddbhatch::appendloop(odint32 looptype, const oddbobjectidarray& dbobjids)
oddbhatch::getloopat has versions that correspond to the first two, but none that returns an oddbobjectidarray. this leads me to the assumption that when i call appendloop() with an oddbobjectarray, the object geometry is converted to edges or points, as appropriate. is this assumption correct?
thanks,
bob
appendloop() accepting edge pointers array constructs loop of line, arc, elliptical arc, spline segmnts.
appendloop() accepting point array makes polyline loop.
appendloop() accepting ids array extracts geometry from given entities and creates loop of it. it also stores object ids in that loop (for creating associative hatch).
sergey slezkin
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)