## Re: [cdk-devel] 3D graphics, XXXWriter problems, and RFC#11

 Re: [cdk-devel] 3D graphics, XXXWriter problems, and RFC#11 From: Stefan Kuhn - 2003-02-24 19:01:33 > > Shoudn't the change of 3D coordinates result in changes to the Point2= D > > as well - and vice versa? > > Not sure what the other CDK developers think, but I think both coordina= te > sets are different... 2D coordinate are for 2D display, 3D for real spa= ce > coordinates... I've fixed the code, accoringly (/me accepts flames ;) (= see > MDLWriter.java diff 1.13->1.14) My humble excuses - I did this more as a quickfix and wanted to think abo= ut it=20 later, but never did (3D coordinates were ignored before). If there are 2= D=20 and 3D coodinates and they are different, the best solution would be to o= ffer=20 to decide by a boolean parameter in the write method which one is used. T= he=20 MDLWriter can't really know which coordinates to use. Stefan --=20 Stefan Kuhn M. A. Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de) Z=C3=BClpicher Str. 47, 50674 Cologne Tel: +49(0)221-470-7428 Fax: +49 (0) 221-470-5092

 Re: [cdk-devel] 3D graphics, XXXWriter problems, and RFC#11 From: Stefan Kuhn - 2003-02-24 19:01:33 > > Shoudn't the change of 3D coordinates result in changes to the Point2= D > > as well - and vice versa? > > Not sure what the other CDK developers think, but I think both coordina= te > sets are different... 2D coordinate are for 2D display, 3D for real spa= ce > coordinates... I've fixed the code, accoringly (/me accepts flames ;) (= see > MDLWriter.java diff 1.13->1.14) My humble excuses - I did this more as a quickfix and wanted to think abo= ut it=20 later, but never did (3D coordinates were ignored before). If there are 2= D=20 and 3D coodinates and they are different, the best solution would be to o= ffer=20 to decide by a boolean parameter in the write method which one is used. T= he=20 MDLWriter can't really know which coordinates to use. Stefan --=20 Stefan Kuhn M. A. Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de) Z=C3=BClpicher Str. 47, 50674 Cologne Tel: +49(0)221-470-7428 Fax: +49 (0) 221-470-5092