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

using odgigeometrysimplifier in odgibasevectorizer
using odgigeometrysimplifier in odgibasevectorizer
hi,
i'm using odgibasevectorizer-derived class to get 3d geometry of drawing (by odgibasevectorizer::draw). everything is ok, circle() and polyline() are called with wcs coordinates, but how to use odgigeometrysimplifier to make something like odgigeometrysimplifierlylineout called instead of circle() ? (i still want to get wcs coordinates).
similar problem - converting complex to simple polygons...
maybe i should use other class from the hierarchy instead of odgibasevectorizer ?
tia
best regards,
michal sliwka

see .
sincerely yours,
george udov
hi,
when i put to this sample pdb->getactivelayoutbtrid() (programmicaly) and it's not modelspace but layout with some viewports, then only two polygons are vectorised (the paper), but none of viewports. is it correct? how to modify this example to output also elements in viewpors (pushing and popping clips etc)?
tia
regards,
michał Śliwka

odgetgeomex is sample for getting geometry of single entity. its main purpose is to explain how to customize oddbentity::explode functionality.
for getting all layout geometry, it is necessary to use gs library. odvectorizeex sample illustrates this.
sincerely yours,
george udov
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)