几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】oddbhatch and xor-ed polygons (http://www.dimcax.com/hust/showthread.php?t=17537)

yang686526 2009-05-06 07:46 PM

【转帖】oddbhatch and xor-ed polygons
 
oddbhatch and xor-ed polygons
oddbhatch and xor-ed polygons
hi,
i have some polygons which may overlap. they are defined by their vertives coordinates.
overlap should be resolved by xor operation. for example, two circles with the same center and different radius should by like an "o" letter.
now, i need to create oddbhatch from the polygons, with xor operation.
can the library help me in this matter?
best regards,
michał Śliwka

yes, just create hatch :)
append your loops using oddbhatch::appendloop().
use oddbhatch::sethatchstyle(oddbhatch::knormal).
sincerely yours,
george udov
thanks, i didn't notice that i didn't add loops to the same hatch, i added loops to different hatches...
regards,
michał Śliwka


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