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:

lanetoworld(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