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

odgigeometrysimplifier:olylineproc
odgigeometrysimplifier:olylineproc
hi,
i've noticed that in odgigeometrysimplifierlylineproc number of points passed are always 2, even if oddbpolyline has more than 2 points. simply, subsequent line segmets of polyline are passed to polylineproc separately, in order as they are in polyline. is it an invariant? can i assume that it is also true for oddb3dpolyline, oddb2dpolyline? will it be invariant in future releases of library?
tia
regards,
michal sliwka

no, it isn't invariant. primitives, that you're getting through odgiconveyorgeometry interface, depends on composition of the rendering pipeline. primitives that are returned from pipeline for particular entity can change in future releases.
sincerely yours,
george udov
quote:
originally posted by george udov
no, it isn't invariant. primitives, that you're getting through odgiconveyorgeometry interface, depends on composition of the rendering pipeline. primitives that are returned from pipeline for particular entity can change in future releases.
so when i am in polylineproc, i don't know whih points on current polyline match given screen-points.
now i check if last call to polylineproc was with the same entity, and if so, i use the number of last passed screen-points to figure out matching.
by the way, is there possibility in polylineproc to get wcs coordinates of entities? currently i get only 'local' coords (eg. in block or view(modelspace))
tia
regards,
michal sliwka
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)