![]() |
【转帖】odgigeometrysimplifierpolylineproc
odgigeometrysimplifier::polylineproc
odgigeometrysimplifier::polylineproc hi, i've noticed that in odgigeometrysimplifier:olylineproc 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 |
所有的时间均为北京时间。 现在的时间是 04:46 PM. |