From: <md...@us...> - 2009-02-09 20:06:35
|
Revision: 6896 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6896&view=rev Author: mdboom Date: 2009-02-09 20:06:32 +0000 (Mon, 09 Feb 2009) Log Message: ----------- Add comment about how nan-removal on curves works. Modified Paths: -------------- trunk/matplotlib/src/path_converters.h Modified: trunk/matplotlib/src/path_converters.h =================================================================== --- trunk/matplotlib/src/path_converters.h 2009-02-09 18:49:49 UTC (rev 6895) +++ trunk/matplotlib/src/path_converters.h 2009-02-09 20:06:32 UTC (rev 6896) @@ -151,6 +151,10 @@ bool needs_move_to = false; while (true) { + /* The approach here is to push each full curve + segment into the queue. If any non-finite values + are found along the way, the queue is emptied, and + the next curve segment is handled. */ code = m_source->vertex(x, y); if (code == agg::path_cmd_stop || code == (agg::path_cmd_end_poly | agg::path_flags_close)) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |