几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】getting highlighted coordinates (http://www.dimcax.com/hust/showthread.php?t=16409)

yang686526 2009-05-05 11:29 AM

【转帖】getting highlighted coordinates
 
getting highlighted coordinates
getting highlighted coordinates
hello,
i have highlighted a oddbpolyline using oddbpolyline::setconstantwidth(linewidth).
now i get a thicker line when i give linewidth = some positive value
i need to find the boundary points of the new thicker line, which will be on either side of the parent polyline. ( for instance, if a line is highlighted, we get four points as boundary points of the highlighted line)
can anyone tell me how to find the boundary points.
if you really need highligting than note that setconstantwidth() modifies the entity in database and destroys the existing information. polyline can have non-constant width defined at start and end of each segment.
odamfcapp contains sample highlighting implementation.


所有的时间均为北京时间。 现在的时间是 10:05 PM.