PPT_LOGO_4b
‹#›
© 2008 Autodesk
Autodesk Developer Network
Stream Example
virtual void stream( const AcGeEllipArc3d & arc );
§StreamAcad base class vectorises the ellipse into line segments
§These are pushed back into the stream via the virtual function
virtual void streamWcs( const AcGePoint3d & start, const AcGePoint3d & end );
§StreamVector derived class will override streamWcs() but not ellipse
§StreamExplode will override both, to produce
§Real AutoCAD ellipse for an ellipse
§AutoCAD lines for other line segments that cannot be handled at a higher level