![]() |
【转帖】extrusion
extrusion
extrusion hello, how can i know if an entity for example a polyline have or not have extrusion? and then, how can i obtain its wcs coordinates? my code is this: ... oddbpolylineptr polyline; odgepoint3d point; ... odgevector3d normal = polyline->normal(); ... for(int i=0; i<polyline->numverts(); i++) { polyline->getpointat(i, point); point.transformby(odgematrix3d::planetoworld(norma l)); } ... but the coordinates are wrong. thanks. if oddbpolyline::thickness() returns non-zero than the polyline is extruded. where are 2 getpointat() functions returning 2d or 3d points. 2d point returned is in ocs. 3d point is in wcs sergey slezkin |
所有的时间均为北京时间。 现在的时间是 04:18 AM. |