![]() |
【转帖】intersectwith function
intersectwith function
intersectwith function hi,all i'd like to be told how to use the intersectwith fuction to get intersection points between a line and a polyline. the code is as below: ... oddblineptr pline = lineid.safeopenobject(oddb::kforwrite); oddbpolylineptr ppoly = polylineid.safeopenobject(oddb::kforwrite); oddb::intersect inttype; pline->intersectwith(ppoly,0,points,0,0); //intersection points the compiler said no intersectwith member function for oddbline(oddbentity): error c2039: 'intersectwith' : is not a member of 'oddbline' e:\developlib\opendesign252\include\dbline.h(36) : see declaration of 'oddbline' i do see the declaration of intersectwith in dbentity.h, why this error comes? any post is appreciated. colinss till dwgdirect 2.6 this function was commented out in dbentity.h since 2.6 the function is uncommented but where is still no actual implementation for it. it tries to call client-supplied protocol extension to perform the job. see 2.6 release notes. sergey slezkin |
所有的时间均为北京时间。 现在的时间是 05:28 AM. |