>If it were a line drawing. But there are cylinders and spheres >representing bonds and atoms. And then there is the question of sorting
How are those primitives described? As polygon meshes or centerpoint(s) with radius? It would be great to have a look at an example... >these elements into a sequence that the overlapping bonds do look ok. Off the top of my hat: Ascending order by z and then use the Painter's algorithm. But for a clean 2D layout there is probably more to do, so that all bonds can be seen clearly in 2D space. Can your program export those structures in some chemical format, like V2000 molfile? Then it might be easier to use e.g. the CDK to generate real 2D stuctures from that... Best Regards Ernst-Georg Schmid ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Blueobelisk-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/blueobelisk-discuss
